Karl Persson
1c679e814b
AccessControl: Only return action and scope for user permissions and make them unique ( #48939 )
...
* Only return action and scope for user permissions and make them unique
2022-05-12 17:15:18 +02:00
Todd Treece
6cbaa18cf6
Prometheus: Add golden JSON tests ( #48941 )
2022-05-12 17:09:58 +02:00
Yuriy Tseretyan
186ba26b59
Alerting: refactor rule API to create rule group in a single place ( #48915 )
...
* extract method toGettableRuleGroupConfig
2022-05-12 10:42:31 -04:00
6c9cf4843f
AzureMonitor: Style improvements to ResourcePicker ( #48875 )
...
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com >
Co-authored-by: Isabella Siu <isabella.siu@grafana.com >
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com >
2022-05-12 16:32:29 +02:00
Yuriy Tseretyan
369fcc5e9a
Alerting: scheduler to use short version of model for alert rule ( #48916 )
...
* scheduler to use a short version of alert rule model
2022-05-12 09:55:05 -04:00
kay delaney
c8a0e52a59
Search: Improve tab navigation ( #48932 )
2022-05-12 12:41:20 +01:00
Karl Persson
58fa119270
sort user permissions by scope ( #48928 )
2022-05-12 11:46:56 +02:00
Todd Treece
e1a9ce4cc4
Prometheus: Move existing query logic to new buffered package ( #48668 )
2022-05-12 05:34:09 -04:00
Gábor Farkas
44e7602ad2
loki: backend-mode: add "limit" dataframe meta attribute ( #48894 )
2022-05-12 06:56:09 +00:00
Adam Simpson
a1217ef8da
AzureMonitor: begin moving metrics query editor to use @grafana/experimental ( #48878 )
...
* feat: migrate Azure Metrics Query Editor Field to experimental UI
* feat: ensure tests pass with experimental feature flag enabled
* feat: avoid duplicate unit tests for experimental MetricsQueryEditor
2022-05-12 02:54:43 +00:00
selvavm and brendamuir
906484b809
Transformation: Added variance and standard deviation ( #48844 )
...
* Transformation: Added variance and standard deviation for sample and population. Modified mean calculation approach
* Transformation: Removed existing mean calculation
* Transformation: Added testcases for variance and Standard deviation
* Update docs/sources/panels/calculation-types.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2022-05-11 17:16:41 -07:00
Ryan McKinley
3a32a73459
Search: use bluge index for frontend search (playground) ( #48847 )
2022-05-11 15:32:13 +00:00
Gabriel MABILLE
d31d300ce1
Accesscontrol: Rename scope permissions:delegate ( #48898 )
2022-05-11 17:22:43 +02:00
Connor Lindsey
233a96d818
Tracing: Add ability to write trace to metrics query ( #48824 )
...
* Tracing: Add ability to write trace to metrics query
2022-05-11 07:39:02 -07:00
Yuriy Tseretyan
99156b40bd
Alerting: Move alertRuleRegistry to its own file ( #48890 )
...
* move alertRuleRegistry to its own file
* move tests to separate file
2022-05-11 10:04:50 -04:00
Yuriy Tseretyan
dc33e09b24
simplify getting a slice of keys ( #48889 )
2022-05-11 09:44:31 -04:00
Maria Alexandra
d5a881598f
Search (Playground) Implement Delete and Move actions in New Search ( #48863 )
2022-05-11 14:02:05 +02:00
Gábor Farkas
270e38cfcf
loki: backend-mode: handle derived fields ( #48873 )
2022-05-11 09:29:04 +02:00
Joan López de la Franca Beltran
6c4eae710f
Encryption: Split database transactions within migration/rollback commands ( #48394 )
2022-05-11 02:22:14 +02:00
Chrysa Dikonimaki
7e5ea3f5a0
convert LogLabels tests toRTL ( #48887 )
2022-05-10 15:53:14 -07:00
Andreas Christou and Andres Martinez Gotor
2bd9e9aca5
AzureMonitor: Add support for selecting multiple options when using the equals and not equals dimension filters ( #48650 )
...
* Add support for multiselect
- Add filters param to Dimensions
- Update existing tests
- Add MultiSelect component
- Add helper function to determine valid options
- Update labels hook to account for custom values
- Update go type
- Add function to build valid filters string
* Additional go tests
- Ensure query targets are built correctly
* Update DimensionFields frontend test
- Corrently rerender components
- Additional test for multiple labels selection
- Better selection of options in react-select components
* Fix lint issue
* Reset filters when operator or dimension changes
* Terminology
* Update test
* Add backend migration
- Update types (deprecate Filter field)
- Add migration logic
- Update tests
- Update dimension filters buliding
* Add migration test code
* Simplify some logic
* Add frontend deprecation notice
* Add frontend migration logic and migration tests
* Update setting of filter values
* Update DimensionFields test
* Fix linting issues
* PR comment updates
- Remove unnecessary if/else condition
- Don't set filter default value as queries should be migrated
- Add comment explaining why sw operator only accepts one value
- Remove unnecessary test for merging of old and new filters
* Nit on terminology
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
* Rename migrations for clarity
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
2022-05-10 15:05:48 +01:00
Karl Persson
61772a66b6
AccessControl: Create own interface and impl for each permission service ( #48871 )
...
* Create own interfaces for team, folder, dashboard and data source permissions services
* Remove service container and inject them individually
2022-05-10 15:48:47 +02:00
Serge Zaitsev
31ff23f542
Fix: add default nop trace exporter to opentelemetry ( #48869 )
2022-05-10 11:29:36 +02:00
George Robinson
897db011eb
Add error options for rendering to return errors on failure ( #48864 )
2022-05-09 19:11:24 +01:00
Gábor Farkas
7b9929fffe
loki: framing_test: more infinity/nan test cases ( #48855 )
2022-05-09 11:47:50 +00:00
Andres Martinez Gotor
b1bde7667f
CloudMonitoring: Allow to set a custom value or disable graph_period ( #48646 )
2022-05-09 13:43:10 +02:00
Ieva
6923b4c6c6
Dashboard: Fix dashboard update permission check ( #48746 )
...
* Change dash permission check for dashboards that are moved to a different folder
2022-05-09 12:01:03 +02:00
Joe Blubaugh
53a4f3913c
Alerting: Apply Custom Headers to datasource queries. ( #47860 )
...
Unlike dashboard queries, alerting queries were not correctly applying
custom headers to datasource queries. This change mimics the dashboard
query code to apply custom headers.
Fixes #44460
Signed-off-by: Joe Blubaugh <joe.blubaugh@grafana.com >
2022-05-09 08:13:47 +00:00
Ryan McKinley
d6d358ef26
Search: create bluge based index ( #48606 )
2022-05-09 01:00:09 -07:00
Shirley
5c2dee19d5
CloudWatch: Refactor tests, remove unused parameters ( #48815 )
2022-05-08 09:27:03 +02:00
Alexander Weaver
99eaa0fc20
Put identifier in path ( #48831 )
2022-05-06 16:06:30 -05:00
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ś and 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] and 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 and Marcus Efraimsson
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