Commit Graph

51194 Commits

Author SHA1 Message Date
Juan Cabanas
a6d64c6ed5
PublicDashboards: Public dashboard refreshed when access token changes (#87913) 2024-05-15 10:20:00 -03:00
Kevin Minehart
90970d5f58
CI: In promotions, set the --go-version when building Grafana packages (#87912)
* Specify drone-version when building in promotions

* Specify drone-version when building in promotions
2024-05-15 16:10:06 +03:00
Sonia Aguilar
3aae2b7e04
Alerting: Assume built-in AM is receiving alerts in case of not having admin config (#87893) 2024-05-15 14:51:28 +02:00
lean.dev
639ab6cca7
Tempo: Implement PDC for gRPC client (#85867) 2024-05-15 14:39:02 +02:00
Konrad Lalik
1cf1c5f03a
Alerting: Add hide plugins rules filter (#87445)
* Add hide plugins rules filter

* Change the filter label and available values

* Setup plugins hook in tests

* Fix lint errors

* remove unused code
2024-05-15 14:09:56 +02:00
ismail simsek
4fef6ff30d
Chore: Use TemplateSrv from @grafana/runtime in influxdb datasource (#87813)
use templatesrv from @grafana/runtime
2024-05-15 12:42:09 +02:00
Torkel Ödegaard
699c5bfe79
DashboardScene: Skip panel repeats when values are the same (#87788)
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-05-15 12:29:46 +02:00
Ida Štambuk
272cfa83b1
Feature Management: Move awsDatasourcesNewFormStyling to GA (#87696) 2024-05-15 12:23:24 +02:00
Oscar Kilhed
d52381b744
Dashboard scenes: Fix issue going from view panel to edit panel when dashboard is not in edit mode (#87487)
Fix issue going from view panel to edit panel
2024-05-15 11:53:02 +02:00
Pepe Cano
37d1d1c0a0
Alerting docs: Update State and health of alerts docs (#87846)
* Update `View alert state and history`

* first edit `State and Healths of alerts`

* Complete `State and health of alerts`

* Update docs/sources/alerting/fundamentals/alert-rule-evaluation/_index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

---------

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-05-15 10:49:16 +02:00
Sonia Aguilar
28bf5a4577
Gops: Add tracking for data source check (#87886)
Add tracking for data source check
2024-05-15 10:35:36 +02:00
antonio
f24eb3165b
alerting: adding links to get-started tutorial (#87811)
* alerting: adding links to get-started tutorial

* Update index.md

* Update create-grafana-managed-rule.md

* Update _index.md

* Update _index.md

* Update docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Update docs/sources/alerting/fundamentals/_index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* pretty

---------

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-05-15 08:57:12 +02:00
Nathan Marrs
d92ec98ecc
Transformations: Add string type check to field value in substring value matcher (#87782) 2024-05-14 16:56:46 -07:00
grafana-delivery-bot[bot]
012ee1d557
Changelog: Updated changelog for 9.5.19 (#87873)
Co-authored-by: grafanabot <bot@grafana.com>
2024-05-14 17:19:30 -04:00
Scott Lepper
14a814a280
[sql expressions] fix: use ast to read tables (#87867)
* [sql expressions] fix: use ast to read tables

* can't run tests during ci yet.  need to install duckdb

* skip for now.  need duckdb cli
2024-05-14 17:05:29 -04:00
grafana-delivery-bot[bot]
7d386dc26b
Changelog: Updated changelog for 10.1.10 (#87869)
Co-authored-by: grafanabot <bot@grafana.com>
2024-05-14 16:52:30 -04:00
Alexander Weaver
b8a284fb81
Alerting: Fix xorm serialization of Record field struct, add tests for storing and reading (#87857)
Fix sub struct ser and deser, add tests
2024-05-14 14:50:06 -05:00
Tom Glenn
1e2c58fc80
Docs: Adds video embed for the Understanding Dashboards youtube video (#87449)
* Adds video embed for the Understanding Dashboards youtube video

* Moved video to Use dashboards page

---------

Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2024-05-14 15:03:56 -04:00
grafana-delivery-bot[bot]
a50bcaca57
Changelog: Updated changelog for 10.2.7 (#87847)
Co-authored-by: grafanabot <bot@grafana.com>
2024-05-14 12:59:33 -04:00
owensmallwood
557c3a9cdd
Unified Storage: Adds metrics for database query counts (#87781) 2024-05-14 10:17:38 -06:00
Ieva
4b24019bae
Dashboards: Don't set dashboard creator/updater if the action is done by an API key (#87704)
don't parse userID if entity isn't user or service account
2024-05-14 17:02:03 +01:00
Ieva
b382cea9c8
RBAC: Update role picker in team page, fix a bug with roles being removed upon team setting update (#87519)
immediately update team roles through team role picker in team settings page instead of doign apply + update flow
2024-05-14 17:00:04 +01:00
Ivana Huckova
f99c722ecf
FeatureBadge: Update FeatureBadge to support current release stages (#87555)
* FeatureBadge: Update avalaiable FeatureState

* Move to separate folder

* Add private preview state
2024-05-14 18:58:47 +03:00
Joey
225755b2da
Tempo: Check for histogram in isTraceQlMetricsQuery (#87840)
Check for histogram in isTraceQlMetricsQuery
2024-05-14 16:55:57 +01:00
Diego Augusto Molina
cbcd945251
Unified Storage: in SQL template, also handle output data, improve API, examples and docs (#87560)
* preview of work so far

* stylistic improvements

* fix linters

* remove golden tests, they may cause the system to be too rigid to changes

* remove unnecessary code for golden tests

* remove white space mangling in Execute

* also handle output data, improve API, examples and docs

* add helper methods

* fix interface
2024-05-14 12:32:21 -03:00
Dominik Prokop
c747e344bf
SelectMenu: Fix potential undefined problem (#87835) 2024-05-14 18:16:00 +03:00
Kyle Brandt
ea1845edbe
Scopes: Change JS linkID to linkId (#87831) 2024-05-14 11:01:21 -04:00
ttshivers
b07b927a94
Tempo: Escape backslash in span name for promsql query (#83024)
* Tempo: Escape backslash in span name for promsql query

In promsql, backslashes in regexes must be doubly escaped for them to be
interpreted as a literal backslash character.

Fixes #79791

* Fix regex replace

---------

Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2024-05-14 16:57:35 +02:00
Sergej-Vlasov
5f147644d4
DashboardScene: Default hoverHeaderOffset to 0 (#87561)
* remove hoverHeaderOffsetBehavior and force offset to 0

* force headerHoverOffset in addPanel flow
2024-05-14 17:50:59 +03:00
Sonia Aguilar
ca0dae6812
Gops: Add configuration tracker on the existing IRM page (#85838)
* WIP

* add configure irm componet and pass it to Nav

* add check if theres datasource for Alerts

* update incident steps links

* uncomment done property in the interface

* Fix not having data sources in store and removing warning using wrong Icon name type

* call incidents api in done step

* Show checked steps with an icon instead of a badge

* Implemnt check contact point ready in essentials

* Fix codeowners and prettify file

* Check if there is one oncall integration in at least one contact point

* Refactor

* Check for oncall integration being created

* Add the test oncall integration action

* Do not hide any card in irm page, and refactor

* Refactor: move hooks to a separate file

* Implement oncall chatops checks

* update incidents hook

* Show new irm page only on cloud and for admins

* fix prettier in irmhooks

* remove unused import

* fix prettier in irm hooks

* fix axios method

* Add progress bar on essentials

* Update texts and some styles

* Refactor

* fix api call

* fix check is plugin is installed

* fix async call

* fix lint

* Do not show check icon when done field is undefined in a step

* refactor

* Add test for Essentials

* check if incident plugin installed

* call incidents api to get steps

* add the new api to get config

* fix prettier

* memoize the api call

* fix lint

* add proper api call

* check if response is valid

* fix typo

* use state to save the values

* fix lint

* fix response schema

* fix prettier

* update incident steps copy

* udapte texts in respond tooltips

* Fix confiure IRM route check

* Fix logic for the data source check: check if there is a data source that is alerting compatible

* Use existing header prop in NavLandingPage instead of creating a new prop

* fix wrong updated file

* Update logic for default contact point check and update some links

* Update texts and show only one item for oncall integration with alerting checks

* Update texts following suggestions in the doc

* Fix getting default contact point and update oncall link for slack tab

* Update texts, buttons and checks following last meeting action items

* remove unnecessary component drawer

* Track interactions: user open or close essentials drawer

* Refactor

* remove unnecessary createMonitoringLogger for tracking irm events

* remove unnecessary style

* refactor

* refactor

* Add fallback links and labels for action buttons when step is done

* Update irm card styles

* remove extra space after progress bar numbers

* remove progress bar border

* Address pr review comments

* remove unnecessary AlertmanagerProvider

* fix logic behind default contact point check

* update test

* Address pr review comments part1

* add aria and properties role for Progressbar

* Reorganize hooks into separate folders/files for each app

* move done field to the step level

* Handle empty dropdown options

* Handle loading state

* Update tooltip for connecting alerting to oncall

* Use RTKQ for incidents

* handle loading for oncall hooks

* refactor getting configuration for each app

* fix incident rtkq query to be a query instead of mutation

* refactor: rename variable

* Address some nits in the review

---------

Co-authored-by: reemtariqq <reem.tariq@grafana.com>
2024-05-14 16:42:22 +02:00
renovate[bot]
367af27d7a Update dependency @grafana/scenes to v4.21.1 2024-05-14 16:14:34 +02:00
Ryan Crutchfield
c912cb399b
Update JWT auth page (#87523) 2024-05-14 15:11:05 +01:00
Gábor Farkas
c0333130af
postgres/mysql: improve macro docs (#87434) 2024-05-14 15:10:27 +01:00
grafana-delivery-bot[bot]
8b77e7b417
Changelog: Updated changelog for 10.3.6 (#87819)
Co-authored-by: grafanabot <bot@grafana.com>
2024-05-14 16:00:54 +02:00
Steve Simpson
67fa96f88d
Alerting: Pass logger into NewAnnotationBackend. (#87812)
* Alerting: Pass logger into NewAnnotationBackend.

Make it possible to pass loggers into more places for code reuse.

* Mistake in passing logger
2024-05-14 15:51:27 +02:00
David Allen
5678012f0f
docs: add dashboard list play link (#87807) 2024-05-14 09:49:41 -04:00
William Wernert
563fcb8bf4
Alerting: Encode query model map to string in rule export to avoid html escape sequences (#87663)
* Encode query model map to string to avoid html escape sequences

* Remove insignificant whitespace in test request
2024-05-14 09:29:50 -04:00
Ryan McKinley
62d326cf04
Plugins: Add baseMiddleware support (#87799) 2024-05-14 16:27:40 +03:00
Fayzal Ghantiwala
7a2fbad0c8
Alerting: Add options to configure TLS for HA using Redis (#87567)
* Add Alerting HA Redis Client TLS configs

* Add test to ping miniredis with mTLS

* Update .ini files and docs

* Add tests for unified alerting ha redis TLS settings

* Fix malformed go.sum

* Add modowner

* Fix lint error

* Update docs and use dstls config
2024-05-14 14:21:42 +01:00
Alexander Weaver
e39658097f
Alerting: Wire recording rules feature toggle into limits struct (#87778)
Wire toggle into limits
2024-05-14 07:44:14 -05:00
Adela Almasan
fa66816be4
BarChart: Add check for empty series (#87761)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-05-14 07:38:29 -05:00
Karl Persson
9977258d04
AuthN: Set uid during authentication (#87797)
* Identity: Remove GetNamespacedUID and use GetUID instead

* Authn: Set uid for users and service accounts
2024-05-14 14:13:50 +02:00
Arati R
6836bfe1ea
Storage: Customise setting dual writing modes (#87668)
* Add feature toggles for mode 2 and 3 playlist dual writing
* Make current mode customised based on kind
* Check feature flags when initialising dual writer
* Fix linting
* Refactor NewDualWriter
2024-05-14 14:11:56 +02:00
Andres Martinez Gotor
d8904f3ca4
Add apiVersion to plugin models (#87510) 2024-05-14 13:58:27 +02:00
renovate[bot]
2f11cf84e8 Update dependency @grafana/experimental to v1.7.11 2024-05-14 11:51:13 +00:00
Torkel Ödegaard
6f1fce7540
TestData: Fixes query interpolation (#87803) 2024-05-14 13:40:54 +02:00
grafana-delivery-bot[bot]
a3838c0dbe
Changelog: Updated changelog for 10.4.3 (#87804)
Co-authored-by: grafanabot <bot@grafana.com>
2024-05-14 13:31:41 +02:00
Fabrizio
bd4e9d102b Update version to 11.0.0 2024-05-14 12:54:11 +02:00
Torkel Ödegaard
9cd7c87b48
DashboardScene: Fixing major row repeat issues (#87539)
* DashboardScene: Fixing major row repeat issues

* Fixing edit scope

* Use dashboard variableDependendency to notify row repeat behaviors

* update scenes lib

* Do not repeat if values are the same

* Update public/app/features/dashboard-scene/scene/DashboardScene.tsx

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Updated scenes

* Update

* Update

* Do not render row actions for repeated rows

* Fixed e2e

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-05-14 12:39:10 +02:00
Ezequiel Victorero
c9c6445554
Chore: Refactor render via http (#84613) 2024-05-14 07:24:18 -03:00