Alexander Weaver
809aa38103
POST routes to PUT routes ( #48828 )
2022-05-06 14:33:30 -05:00
Sofia Papagiannaki
bb66c03f9a
Alerting: modify prometheus endpoints for proxying using the datasource UID ( #48052 )
...
* Modify prometheus endpoints to expect the data source UID
* Update frontend
2022-05-06 15:05:02 -04:00
Jean-Philippe Quéméner
30d9cc81ec
Alerting: check provenance of alert rules in current API ( #48694 )
2022-05-06 20:55:27 +02:00
JitaC
e16dc72c94
Docs:Cleanup alerting docs ( #48826 )
...
* Remove What's new reference.
* Moved messaging templates to under contact points. fixed broken relrefs.
* Fixed some more reflrefs
* Fixed a few more broken relrefs and adjusted weight
2022-05-06 13:52:30 -04:00
Emil Tullstedt
51ff2b8c58
Logging: Unify logging fakes ( #48822 )
2022-05-06 17:44:22 +02:00
Yuriy Tseretyan
3ffe447c80
Add new features to DiffReport and Diff ( #48788 )
...
* simplify String for Diff
* add IsAddOperation and IsDeleteOperation to Diff
* add method Paths to DiffReport
2022-05-06 11:06:00 -04:00
Gábor Farkas
66a0916d00
Transformers: mark extract-fields transform as stable ( #48810 )
2022-05-06 07:21:59 -07:00
Ryan McKinley
42098a7a27
Heatmap (new): exemplars tooltip stub ( #48795 )
2022-05-06 07:21:14 -07:00
Gilles De Mey
2d6ab03e4f
Alerting: automatically select last expression ( #48787 )
2022-05-06 15:39:24 +02:00
Adam Gabryś
4fbd974471
Doc: correct grammar in labels description ( #47300 )
...
Co-authored-by: Adam Gabryś <adam.gabrys@sap.com>
2022-05-06 09:20:42 -04:00
Alex Khomenko
529fddf502
DashboardPickerByID: add optionLabel prop ( #47556 )
...
* DashboardPicker: add optionLabel prop
* DashboardPicker: fix label prop
* Update picker type
2022-05-06 11:08:13 +00:00
Alex Khomenko
25b4aa8d86
RolePicker: Fix menu position on smaller screens ( #48429 )
...
* RolePicker: Fix menu position on smaller screens
* RolePicker: Add comment
* Add offset for the bottom position
2022-05-06 13:05:58 +02:00
Krzysztof Dąbrowski
5be23b40b6
LDAP: allow Grafana Admin mapping without org_role field ( #37189 )
2022-05-06 12:12:42 +02:00
Piotr Jamróz
101ae4b828
Chore: Generate missing theme JSON ( #48802 )
2022-05-06 12:05:40 +02:00
renovate[bot]
4b5d295c8c
Update typescript-eslint monorepo to v5.22.0 ( #46998 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-06 10:01:44 +01:00
Will Browne
f135a5c8a4
Plugins: Refactor plugin resource call with and without data source ( #48754 )
...
* refactor plugin resource call with/without ds
* check err
* fix imports
* only validate req on ds path
* Update warn log
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2022-05-06 10:58:02 +02:00
Gábor Farkas
c4edab884e
logs: simpler nanoscecond timestamp handling ( #48773 )
2022-05-06 10:55:12 +02:00
Szymon Szypulski
b6c5f29373
Cloudwatch: Add support for new AWS/RDS EBS* metrics ( #48798 )
...
Add support for the missing AWS/RDS metrics, EBSIOBalance% and
EBSByteBalance%. Change is based on the official AWS blog post[1]. Those
metrics work on for Nitro instances.
1. https://aws.amazon.com/blogs/compute/improving-application-performance-and-reducing-costs-with-amazon-ebs-optimized-instance-burst-capability/
2022-05-06 10:38:15 +02:00
Ieva
3c78196d0b
fix a bug ( #48782 )
2022-05-06 09:36:11 +01:00
Karl Persson
817cf52744
Access control: Allow users with permission to update team, dashboard and folder permissions to list users in OSS ( #48275 )
...
* Remove banner when missing permissions to list users
* For OSS allow users to list other users if they have permissions to
write either team, dashboard or folder permissions
2022-05-06 10:31:53 +02:00
Joan López de la Franca Beltran
9826a694a8
Encryption: Add Prometheus metrics ( #48603 )
2022-05-06 10:21:55 +02:00
Ryan McKinley
0e1dffc655
Search: manage selection in state ( #48793 )
2022-05-06 10:16:12 +02:00
Ashley Harrison
bcb0bfce3a
Navigation: Add create icons to expanded menu ( #48768 )
...
* add create icons to expanded menu
* update translations
2022-05-06 09:14:00 +01:00
Konrad Lalik
ee8e125134
Alerting: Fix notification route removal ( #48774 )
...
* Fix notification route removal
* fix tests
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2022-05-06 09:34:10 +02:00
Stephanie Closson
454e804657
Heatmap (new): add exemplar mapping function ( #48780 )
2022-05-05 15:27:28 -07:00
Connor Lindsey
c1b5ea3e54
Tracing: Add trace to metrics config behind feature toggle ( #46298 )
...
* Add trace to metrics behind feature flag
2022-05-05 14:46:18 -06:00
Nathan Marrs
34fefa1d47
Fix to geomap editor crash ( #48786 )
2022-05-05 13:28:03 -07:00
Alexander Weaver
0f56462fbe
Alerting: Provisioning message templates ( #48665 )
...
* Generate API for writing templates
* Persist templates app logic layer
* Validate templates
* Extract logic, make set and delete methods
* Drop post route for templates
* Fix response details, wire up remainder of API
* Authorize routes
* Mirror some existing tests on new APIs
* Generate mock for prov store
* Wire up prov store mock, add tests using it
* Cover cases for both storage paths
* Add happy path tests and fix bugs if file contains no template section
* Normalize template content with define statement
* Tests for deletion
* Fix linter error
* Move provenance field to DTO
* empty commit
* ID to name
* Fix in auth too
2022-05-05 15:21:42 -05:00
Leon Sorokin
6de77283c6
Prometheus: make parsing of Infinity variants case-insensitive ( #48660 )
2022-05-05 12:38:26 -05:00
Josh Hunt
1a633812a7
DashboardSettings: Update active tab to use new brand gradient ( #48755 )
...
* DashboardSettings: Update active tab to use new brand gradient
* Remove colons from gradients
2022-05-05 17:10:06 +01:00
Ashley Harrison
10db618204
FileUpload: associate the label with the input ( #48766 )
...
* FileUpload: associate the label with the input
* generate a unique id and set the correct role
* add a test to prevent regressions
2022-05-05 17:07:27 +01:00
sam boyer
ea96c42545
schemas: Update to cuetsy v0.0.1 ( #48753 )
...
* Add explicit cuetsy annotations to all models.cue
* Update to first cuetsy release
* Clean up cuetsify a bit; remove unification
* Update changes to news codegen output
2022-05-05 11:56:53 -04:00
Ieva
a5672758d8
Access control: further reduce access control feature toggle checks ( #48171 )
...
* reduce the usage of access control flag further by removing it from SQL store methods
* fixing tests
* fix another test
* linting
* remove AC feature toggle use from API keys
* remove unneeded function
2022-05-05 17:31:14 +02:00
Torkel Ödegaard
fca52a1c83
CommandPalette: Make dashboard nav work when under grafana is under sub path ( #48744 )
2022-05-05 17:15:59 +02:00
Todd Treece
ec666f8785
Converter: Add result type to frame meta ( #48769 )
2022-05-05 16:57:24 +02:00
Ivana Huckova
250b72cc1b
Elasticsearch: Remove support for versions after their end of the life (<7.10.0) ( #48715 )
...
* Elasticsearch: Remove support for versions after their EOL
* Update docs
* Remove old versions from config
* Update pkg/tsdb/elasticsearch/elasticsearch.go
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
* Fix tests
* Fix typecheck errors
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2022-05-05 16:16:34 +02:00
Josh Hunt
b04fb8522d
QueryEditor: Set data source type in mixed query data source ref ( #48734 )
2022-05-05 15:09:00 +01:00
L-M-K-B
a98fae32fc
Laura/chore/refactor test of secondary actions ( #48745 )
...
* Chore: transfer three tests to testing-library
* Chore: transfer last test to testing-library
* chore: add suggestion from code review
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2022-05-05 15:55:59 +02:00
Josh Hunt
32a26d87a4
Chore: Generate JSON theme files ( #48762 )
2022-05-05 15:35:08 +02:00
Josh Hunt
af57804513
Tooltip: Make tooltip use secondary background color for legible links ( #48748 )
2022-05-05 14:28:45 +01:00
Connor Lindsey
08bee1e682
Trace to logs: Only show loki and splunk datasources in settings ( #48723 )
2022-05-05 06:28:28 -06:00
Shirley
b35ca8c08d
CloudWatch: Pass label in GetMetricData API request when dynamic label feature toggle is enabled ( #48574 )
2022-05-05 13:59:23 +02:00
Sofia Papagiannaki
610247d52a
Alerting: modify ruler endpoints for proxying using the datasource UID ( #48046 )
...
* Modify ruler endpoints to expect the data source UID
* Update frontend
* Apply suggestion from code review
2022-05-05 14:58:32 +03:00
Konrad Lalik
65d7d466d7
Alerting: Improved RBAC for Alert managers ( #48344 )
...
* Initial support for grafana or cloud only alert managers
* Handle missing alert manager
* Refactor code, fix tests
* Fix redirect url
* Bring back the test
* Improve missing alert manager warning, add useAlertManagerSourceName tests
* Fix lint errors
* Rename alert manager hook
* Refactor alert manager label creation
* Improve warnings' messages
* Fix linter
* Fix warning condition in RuleEditor
2022-05-05 13:34:58 +02:00
Dimitris Sotirakis
696405ba7b
Remove folder ( #48617 )
2022-05-05 12:19:35 +01:00
Gábor Farkas
da74dba7c8
Loki: backend: use streaming JSON parser, try2 ( #48752 )
...
* converter: remove __name__ customization because Loki does not do that
Loki does not handle __name__ in a special way.
for Prometheus, the caller can implement the formatting
by themselves
* converter: change labels-formatting
the labels.String() method does not handle strange values well
* loki: backend: use streaming-json parser
* more idiomatic code
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
* simpler row-length check
* simpler code
* fixed converter/prom tests
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2022-05-05 13:09:01 +02:00
Jguer
8ed3fb1f2d
AccessControl: don't pull builtin role assignments when refactor is enabled ( #48675 )
2022-05-05 13:02:34 +02:00
Gábor Farkas
02aa1cd1c5
loki backend mode forward-oauth ( #48401 )
...
* loki: backend: add forward oauth credentials functionality
* removed obsolete comment
2022-05-05 12:42:50 +02:00
Alex Khomenko
9b8cdab123
TagsInput: Do not trigger submit on Enter ( #48743 )
...
* TagsInput: Do not trigger submit on Enter
* Comment
2022-05-05 12:37:04 +02:00
Gábor Farkas
3cade2f669
Revert "Loki: backend: use streaming JSON parser ( #47656 )" ( #48747 )
...
This reverts commit 46b40b6e82
.
2022-05-05 12:02:53 +02:00