Commit Graph

31640 Commits

Author SHA1 Message Date
Gabriel MABILLE
6a3ce8bd38
AccessControl: tidy scope resolution (#40677)
* AccessControl: tidy scope resolution
2021-10-20 17:11:22 +02:00
Ivana Huckova
3718494b35
Prometheus: Send errors from backend in response (#40674)
* Prometheus: Send errors in response

* Remove debugging placeholder

* Add debugging logs
2021-10-20 16:50:34 +02:00
renovate[bot]
39866d4a7f
Update dependency @types/rollup-plugin-visualizer to v4 (#40484)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 15:40:54 +01:00
renovate[bot]
afbbae3766
Update dependency @types/react-dom to v17 (#40447)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 15:39:13 +01:00
renovate[bot]
43e45f2621
Update dependency @testing-library/react-hooks to v7 (#40383)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 15:37:17 +01:00
Andres Martinez Gotor
ed68056b88
AzureMonitor: Make ResourceNames() case insensitive (#40690) 2021-10-20 16:35:35 +02:00
Andres Martinez Gotor
302fef394a
Chore: remove strict errors for azure-monitor (#40675) 2021-10-20 16:34:24 +02:00
Marcus Andersson
0d036a6df5
DashGrid: Fixed auto resize issue with tabel panel (#40688)
* Changing how we use the AutoSizer component in the DashGrid.

* updated snapshot.

* fixed failing test.
2021-10-20 16:29:07 +02:00
Kevin Minehart
7e05536a22
update dockerfile (#40699) 2021-10-20 17:04:45 +03:00
kay delaney
565537c6e2
A11y/Dashboard: Fix various dashboard settings issues (#40641)
See #39429
2021-10-20 14:54:00 +01:00
Maria Alexandra
5b6831ab4d
Plugin Catalog: Fix A11y issues on plugin list (#40629) 2021-10-20 15:36:51 +02:00
Serge Zaitsev
e47d7532e5
Chore: Goconvey migration for cleanup package (#40547) 2021-10-20 21:14:48 +08:00
Serge Zaitsev
7bad00118a
Chore: Replace goconvey in multildap package (#40681) 2021-10-20 15:07:37 +02:00
Jean-Philippe Quéméner
74aa105b86
docs: fix typos in unified alerting (#40696) 2021-10-20 14:52:57 +02:00
Domas
51a152456f
fix unified alerting enabled checks (#40693) 2021-10-20 15:45:26 +03:00
Jeremy Price
6dbb6408d4
Access Control: Add service accounts (#38994)
* Add extra fields to OSS types to support enterprise

* Create a service account at the same time as the API key

* Use service account credentials when accessing API with APIkey

* Add GetRole to service, merge RoleDTO and Role structs

This patch merges the identical OSS and Enterprise data structures, which improves the code for two reasons:

1.  Makes switching between OSS and Enterprise easier
2.  Reduces the chance of incompatibilities developing between the same functions in OSS and Enterprise

* If API key is not linked to a service account, continue login as usual

* Fallback to old auth if no service account linked to key

* Add CloneUserToServiceAccount

* Adding LinkAPIKeyToServiceAccount

* Handle api key link error

* Better error messages for OSS accesscontrol

* Set an invalid user id as default

* Re-arrange field names

* ServiceAccountId is integer

* Better error messages

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2021-10-20 14:36:11 +02:00
Piotr Jamróz
bd97c79454
Logs: Move button to load logs volume to logs options header (#40578)
* Move button to load logs volume to logs options header

* Update snapshot

* Do not show load logs volume button when data source does not support it
2021-10-20 13:58:04 +02:00
Jack Westbrook
1e471a6f76
Storybook: fix theme colors not updating (#40679) 2021-10-20 13:30:00 +02:00
Andres Martinez Gotor
b3027e8221
CloudMonitoring: Allow to manually set filters (#40606) 2021-10-20 13:03:44 +02:00
Jack Westbrook
6e2237c02f
Chore: Replace Sass-lint with Stylelint (#40617)
* chore(sass): introduce stylelint

* chore(sass): introduce stylelint config that closely matches sass-lint config

* chore: remove sass-lint from codebase

* style(theme): disable stylelint string-quotes rule

* chore(sass): introduce stylelint-prettier-config to prevent config conflicts

* chore: delete sass-lint file

* style(sass): fix remaining stylelint errors
2021-10-20 11:34:24 +02:00
Ben Tasker
6c0d3e97fe
InfluxDB: Fix spelling - "chronograf" rather than "chronograph" (#40587) 2021-10-20 11:06:24 +02:00
Dimitris Sotirakis
ba60bec11b
Remove git reset - replace with git stash (#40669) 2021-10-20 11:39:46 +03:00
Andres Martinez Gotor
7f8a01aa7d
Chore: remove strict errors for cloud-monitoring (#40620) 2021-10-20 09:49:49 +02:00
Alex Khomenko
026006290b
QueryGroup: Add missing keys for extra group action components (#40619) 2021-10-20 08:02:39 +02:00
nikki-kiga
2eb88e1d1b
Geomap: Add GeoJSON gazetteer (#40589)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-10-19 21:05:55 -07:00
nikki-kiga
43878ff05f
Geomap: Avoid exceptions when missing data and values (heatmap and zoom settings) 2021-10-19 19:31:33 -07:00
Yuriy Tseretyan
36e12e2b26
Remove flakiness of google chat tests (#40592) 2021-10-19 16:18:44 -04:00
Petros Kolyvas
38709df33b
Docs: Updated docker image names for consistency (#40426)
* Updated the docker image names and added a note

* Updated the example version to current
2021-10-19 15:58:01 -04:00
Dimitris Sotirakis
b926edf666
Add /packaging/**/*.tar.gz.sha256 to .gitignore (#40651) 2021-10-19 20:15:18 +02:00
Fredrik Enestad
e3d1b2c8fe
Fix 404 link to time series doc (#40565) 2021-10-19 14:06:20 -04:00
Dimitris Sotirakis
0efe2e3acc
Chore: Make test-frontend step depend on initialize step (#40616)
* Make test-frontend step depend on initialize

Debug

* Clean git tree dir

* Make build-frontend depend on lint-frontend

* Add actual steps back
2021-10-19 19:54:33 +03:00
Marcus Andersson
44c4d5d6fc
Toolkit: Prevent toolkit from crashing when an error occur. (#40627) 2021-10-19 17:03:19 +02:00
Coleman Rollins
70f68289f5
Slider: Adjusts input to enforce min/max values on blur (#40524)
* [cr] adjusts slider input to enfore min/max values on blur

* [cr] additional test for blur action, min/max readability
2021-10-19 16:44:46 +02:00
Ashley Harrison
e48d77b1eb
Variables: Improve display when selecting variables with the same value (#40607)
* Variables: Allow selection of different variables with the same value

* Variables: Don't modify this key
2021-10-19 14:13:17 +01:00
jcolladokuri
60b4e95d15
Azure Monitor: Add new starter dashboards (#39876)
* Adding more starter dashboards for Azure Monitor data source

* modified dashboard format to match grafana 3.1+ for panel datasource variable templating

* Minor fix to dashboard config

* Getting rid of individual links to dropdown and adding dropdown

* Minor config changes

* Readding dashboard linking and

* Renamed dashboards, added descriptios and exported them properly for external sharing
2021-10-19 09:06:38 -04:00
Torkel Ödegaard
c174664e63
Scale: Fixes handling of NaN percent when data min = data max (#40622) 2021-10-19 15:03:33 +02:00
Ivana Huckova
6ec2c54c5b
Interval: Use gtime for parsing of time string to duration (#40624) 2021-10-19 14:56:57 +02:00
Gabriel MABILLE
fbc6febb0e
AccessControl: keyword scope resolution (#40229) 2021-10-19 14:40:21 +02:00
Torkel Ödegaard
26dda75db5
ValueMappings: Fix so that value mappings work in stat/gauge/bargauge/piechart (#40612) 2021-10-19 14:11:31 +02:00
Josh Hunt
d5a0f719df
Grafana-UI: Move Select container styles to outer most container (#40611)
* Grafana-UI: Move Select container styles to outer most container

* Update packages/grafana-ui/src/components/Select/Container.tsx

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* Rename file

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-10-19 13:29:33 +02:00
Gábor Farkas
58360923fd
prometheus: monaco query editor: use new api from grafana-ui (#40466) 2021-10-19 12:32:54 +02:00
Andrej Ocenas
b9ff68d4d6
Tempo: Rename metrics for service graph (#40584)
* Rename tempo -> traces

* Fix tests

Co-authored-by: Ivana <ivana.huckova@gmail.com>
2021-10-19 11:58:21 +02:00
Giordano Ricci
6d4088292c
Chore: Fix remaining ts strict error in Elasticsearch datasource (#40605) 2021-10-19 11:44:26 +02:00
Maria Alexandra
2ee0c73a8a
Graph: Fix annotation description not being shown on hover (#40581) 2021-10-19 11:41:24 +02:00
An
f4e78ea27b
Live: Test Converter tab (#40536) 2021-10-19 09:50:17 +02:00
Torkel Ödegaard
d179c2a4e9
Table: Tweak to type icon styles (#40596) 2021-10-19 08:53:56 +02:00
Uchechukwu Obasi
e226480e06
Docs: update frontend style guide to highlight new function paradigm (#40347)
* docs: update frontend style guide to highlight new function paradigm

* docs: add section for default exports

* chore: some typo/syntax/grammar fixes

* chore: change new additions from rule to recommendation

* small typo fix
2021-10-19 08:30:43 +02:00
Torkel Ödegaard
25813db334
RowsToFields: Fix issue with field names that are numbers (#40580)
* RowsToFields: Fix issue with field names that are numbers

* Only add the index accessor if field name does not conflict with it

* fix lint

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-10-19 07:27:24 +02:00
Nathan Marrs
7e59b92c8c
Canvas: Improve enter / exit editor UX (#40591) 2021-10-18 13:10:07 -07:00
Kevin Minehart
9c2d70ce0f
Packaging: Dependency updates (#40534)
* update loki

* install openssl from alpine's edge repository

* extracttraceid moved to tracing package

* remove exit if warning limit is exceeded

* disable flaky libraryelements test
2021-10-18 19:50:10 +02:00