William Wernert
93519f70ca
Alerting: Also fix HCL field name for MuteTimeIntervals ( #87079 )
...
* Correct HCL field name for MuteTimeIntervals
* Update test
2024-04-30 16:14:01 +01:00
Ieva
5e060d2d99
Data source: Maintain the default data source permissions when switching from unlicensed to licensed Grafana ( #87119 )
...
set managed data source permissions upon resource creation for unlicensed Grafana, remove them on deletion
2024-04-30 16:05:30 +01:00
Alex Khomenko
86aceb7a10
Saga-icons: Forward SVG attributes ( #87138 )
2024-04-30 15:58:25 +01:00
antonio
1ddbcc3f61
alerting/notifications: links ( #87122 )
...
* added links to each section
* ref fix
* ref fix2
* link fix
2024-04-30 16:34:18 +02:00
antonio
99f2de0847
alerting:config-notifications links ( #87127 )
...
* alerting:config-notifications links
* link fix
* linked blog post to examples section
2024-04-30 16:34:06 +02:00
Aaron Godin
53f94ac50d
Apply plugin route ReqAction to ds_proxy authorization ( #86466 )
...
* Apply plugin route ReqAction to ds_proxy authorization
Co-authored-by: Eric Leijonmarck <eleijonmarck@users.noreply.github.com>
* fix: move ds_proxy route Evaluator out of plugins pkg
* move DataSourceProxy route authorization to method
---------
Co-authored-by: Eric Leijonmarck <eleijonmarck@users.noreply.github.com>
2024-04-30 09:19:34 -05:00
Steve Simpson
5c89b8fe12
gRPC Server: Make message size limits configurable. ( #86982 )
...
* gRPC Server: Make message size limits configurable.
* Fix mistake, don't add opts twice
* Apply suggestions from code review
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
---------
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2024-04-30 16:18:03 +02:00
ismail simsek
4cc6b53a6d
Chore: InfluxDB unit testing overhaul ( #86586 )
...
* move mocks into the __mocks__ folder
* refactor datasource.test.ts
* refactor datasource_backend_mode.test.ts
* add dbName tests
* prettier
* betterer
2024-04-30 09:59:42 -04:00
Gábor Farkas
3d80693456
postgres: simpler test ( #86331 )
2024-04-30 15:27:20 +02:00
Marcus Efraimsson
2fc99375df
Chore: Upgrade otel dependencies ( #86994 )
...
* Chore: Upgrade otel dependencies
* sdk changes
* ignore deprecated go.opentelemetry.io/otel/exporters/jaeger for now
* use latest commit from sdk branch
* sdk v0.228.0
2024-04-30 15:12:45 +02:00
Mihai Doarna
76d94b35c9
SSO: fix settings merge for SAML fields ( #86970 )
...
* fix sso settings merge for saml fields
* change func name
2024-04-30 15:10:27 +03:00
Andreas Christou
125ac18fa3
AzureMonitor: Enable session ID header for Log Analytics ( #86320 )
...
* Enable option
- Update sdk
* Sync go.work
2024-04-30 13:10:04 +01:00
Karl Persson
a2cba3d0b5
User: Add tracing ( #87028 )
...
* Inject tracer in tests
* Annotate with traces
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2024-04-30 13:15:56 +02:00
Alex Khomenko
7f1b2ef205
Select: Add data-testid to Input ( #87105 )
...
* Select: Add custom input component
* Forward data-testid
* Add input selector
* Props check
2024-04-30 14:04:58 +03:00
Arati R
ec6f59a678
Chore: Update protoc-gen-go ( #87116 )
...
Update protoc-gen-go
2024-04-30 12:14:33 +02:00
antonio
9203f84bc8
docs / alerting / fundamentals / templates ( #86983 )
...
* docs / alerting / fundamentals / templates
* renamed and adjusted front matter
* pretty
* frontmatter
* admonition fix
* admo
* restructuring
* Update docs/sources/alerting/fundamentals/notifications/templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* Update docs/sources/alerting/fundamentals/notifications/templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* Update docs/sources/alerting/fundamentals/notifications/templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* Update docs/sources/alerting/fundamentals/notifications/templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* Update docs/sources/alerting/fundamentals/notifications/templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* amended admonition
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-04-30 12:06:25 +02:00
Tim Mulqueen
6dbc44920c
Dashboard Scene - Variable Fix: cancel out margin-bottom of placeholder in loading state ( #87107 )
...
fix: cancel out margin-bottom of placeholder in loading state
2024-04-30 10:54:25 +02:00
Konrad Lalik
9369f07e32
Alerting: Immutable plugin rules and alerting plugins extensions ( #86042 )
...
* Add pluginsApi
* Add rule origin badge
* Make plugin provided rules read-only
* Add plugin settings caching, add plugin icon on the rule detail page
* Add basic extension point for custom plugin actions
* Add support for alerting and recording rule extensions
* Move plugin hooks to their own files
* Add plugin custom actions to the alert list more actions menu
* Add custom actions renderign test
* Add more tests
* Cleanup
* Use test-utils in RuleViewer tests
* Remove __grafana_origin label from the label autocomplete
* Remove pluginsApi
* Add plugin badge tooltip
* Update tests
* Add grafana origin constant key, remove unused code
* Hide the grafana origin label
* Fix typo, rename alerting extension points
* Unify private labels handling
* Add reactive plugins registry handling
* Update tests
* Fix tests
* Fix tests
* Fix panel tests
* Add getRuleOrigin tests
* Tests refactor, smalle improvements
* Rename rule origin to better reflect the intent
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2024-04-30 10:34:52 +02:00
Andreas 'count' Kotes
78cda7ff5c
Schema: add missing insertNulls to GraphFieldConfig ( #85861 )
...
add missing insertNulls to GraphFieldConfig
Co-authored-by: joshhunt <josh@trtr.co>
2024-04-30 10:21:49 +03:00
Misi
1cb3f332a1
Chore: Remove extra sql select from the Insert function of userimpl.store ( #87060 )
...
Remove getAnyUserType
2024-04-30 08:54:20 +02:00
Jack Westbrook
0f4db3f5ad
Fix: yarn build in DockerFile ( #86858 )
2024-04-30 07:58:25 +02:00
Yuri Tseretyan
052082a927
Alerting: Refactor Alert Rule Generators ( #86813 )
2024-04-29 21:52:15 -04:00
kay delaney
8bb9b06e48
Chore: Rewrite grafana-sql css using object styles ( #87052 )
2024-04-29 22:34:10 +01:00
Adela Almasan
e3719471d5
Heatmap: Fix histogram highlighted series ( #86955 )
2024-04-29 16:02:38 -05:00
Scott Lepper
7505af2886
Chore: Update go-duck dependency to v0.0.18 ( #87073 )
...
* Chore: Update go-duck dependency to v0.0.18
2024-04-29 14:46:19 -04:00
Andrej Ocenas
16395f9f23
Pyroscope: Add adhoc filters support ( #85601 )
...
* Add adhoc filters support
* Add tests
* refactor tests
* Add comment
* Removed empty param docs
2024-04-29 20:41:40 +02:00
William Wernert
70ff229bed
Alerting: Use expected field name for receiver in HCL export ( #87065 )
...
* Use expected field name for receiver in hcl
Terraform provider expects `contact_point` instead of `receiver` in
notification settings on a rule.
2024-04-29 18:13:29 +01:00
Larissa Wandzura
3845033308
Docs: Update Explore Metrics doc based on feedback ( #87062 )
...
* changed from private preview to public preview
* commented out pivot to logs and traces
2024-04-29 12:09:47 -05:00
Isabella Siu
7b392d40a0
Auth: Sign sigV4 request after adding headers ( #87063 )
2024-04-29 13:07:45 -04:00
Gilles De Mey
b679a32fad
Alerting: Allow deleting contact points referenced only by auto-generated policies ( #86800 )
2024-04-29 17:48:54 +01:00
Santiago
36a0499128
Alerting: Implement CreateSilence in the forked Alertmanager (remote primary mode) ( #85716 )
2024-04-29 18:47:25 +02:00
Drew Slobodnjak
49fbe970fb
Canvas: Fix connection hyperbolic bug ( #87002 )
...
* Canvas: Connection original persistence check
* Canvas: Fix connection hyperbolic bug
2024-04-29 09:16:01 -07:00
Julien Duchesne
8d8f19b84f
Regenerate OpenAPI spec ( #87050 )
...
Issue: https://github.com/grafana/grafana/issues/86453
The endpoints were documented in enterprise Grafana
2024-04-29 16:27:59 +01:00
Santiago
1af2e69625
Alerting: Implement DeleteSilence in the forked AM (remote primary) ( #85721 )
2024-04-29 17:23:41 +02:00
Drew Slobodnjak
7590f4afe1
Canvas: Connection original persistence check ( #86476 )
...
* Canvas: Connection original persistence check
* modify current connection state directly instead of copying and needing to call "onChange"
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-04-29 08:23:26 -07:00
Alex Khomenko
4e6ba433de
Grafana/ui: Fix traces icon ( #86984 )
2024-04-29 17:55:55 +03:00
Tom Ratcliffe
0a02508415
Add more robust error handling for stringifying API responses
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
a34d22dcbf
Include alertmanager param on creation
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
e0ee0b09db
Add test to check that a broken alertmanager will handle errors correctly
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
aa2f52a2a1
Tidy up error message handling
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
fd07b3d431
Link silence test handlers together more clearly and test more cases
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
31231cf5bf
Change test render method to use locationService
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
a34c02fcf2
Address misc PR feedback
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
9860117399
Add more fine grained tag invalidation/providing for Silences
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
4fb1ac2bec
Check error state more reliably
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
a0373c66c3
Add fallback for alertmanager alerts
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
9bf2cf0a52
Rename silences RTKQ tag
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
4d4bf39184
Check for server received body
...
This is not ideal! Preference would be to have a more robust mock server
that responds to the received silence and appends it to a stateful list for the test
and then resets afterwards
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
0dc003aadc
Split handlers out into separate files
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
f419c9b53a
Add comment explaining reset in silences editor
2024-04-29 14:15:48 +01:00