Commit Graph

55198 Commits

Author SHA1 Message Date
Andreas Christou
78930314c3
CloudMonitoring: Improve metric handling for DISTRIBUTION value types (#96412)
* Set crossSeriesReducer value based on metric valueType

* Update label retrieval to retrieve all values

* Update tests

* Update documentation

* Add tooltip

* fix typo

* Docs lint

---------

Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
2024-11-18 12:27:40 +00:00
Sven Grossmann
2ff9baa271
Sidecar: Always hide at /login page (#96621) 2024-11-18 14:07:59 +02:00
Sam Jewell
1915efbc95
SQL Expressions: Simplify where code is being stubbed out (#96227)
* Rename from DuckDB

* Remove unused function
2024-11-18 12:05:08 +00:00
Laura Fernández
30bbcf8200
Combobox: Menu places itself under topnav (#96545) 2024-11-18 12:00:24 +01:00
Sonia Aguilar
76444c7913
Alerting: Add alertingOptimizeReducerInUI feature toggle (#96608)
add alertingOptimizeReducerInUI feature toggle
2024-11-18 12:59:00 +02:00
brendamuir
d187716e73
Alerting docs: fix query syntax sentence (#96614)
* Alerting docs: fix query syntax sentence

* updates sentence

* pepes feedback
2024-11-18 11:52:43 +01:00
Ieva
0a85f15214
RBAC: Remove folder name scope resolver (#96484)
* remove folder name scope resolver

* update test
2024-11-18 12:47:10 +02:00
Misi
7d10ffff1b
Docs: Clarify MFA/2FA in the docs (#96610)
* Docs: Clarify MFA/2FA in the docs

* Update docs/sources/setup-grafana/configure-security/configure-authentication/_index.md

Co-authored-by: Vardan Torosyan <vardants@gmail.com>

---------

Co-authored-by: Vardan Torosyan <vardants@gmail.com>
2024-11-18 11:02:09 +01:00
Ivana Huckova
8a551bacfb
Zipkin: Move query running to backend (#96404)
* Rename method applyTemplateVariables so it used by backend

* Zipkin: Move query running to backend

* Fix error source

* Hndle invalid query and return error response
2024-11-18 10:59:29 +01:00
Konrad Lalik
b73ab15878
Alerting: New list view (Part 1) (#95039)
* initial commit

* update styles

* wip

* update list view

* update translations

* abstract components

* metadata separator

* refactor

* cleanup

* fix tests

* WIP

* translations

* refactor to use maps and type-safety

* WIP

* UI updates

* Rule action buttons early draft

* recording rules

* WIP typescript errors

* implement action button loading

* move section loader etc

* add placeholder for group actions

* Change files structure, remove CombinedRule from AlertRuleMenu

* Refactor fetching data sources with ruler

* Fix tests

* Unify data source features

* move files

* make actions column wider

* update translations

* Update tests to reflect code changes

* Remove direct buildinfo usages

* Fix useCanSilence hook

* Add missing translations, fix lint errors

* PR feedback

* update test

* Remove featureDiscovery mock from a test

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-11-18 10:48:15 +01:00
Matthew Jacobson
65097d4b54
Alerting: Fix k8s api route fingerprint to include ObjectMatchers and Provenance (#96591)
Fix route fingerprint to include ObjectMatchers and Provenance
2024-11-16 08:38:30 -05:00
Charandas
9223cd8f59
Cloud Aggregation: make it work for users with no name (#96509) 2024-11-16 01:28:54 +02:00
Ryan McKinley
29cdfdff87
Storage: Revert using real gRPC for integration tests (#96410)
---------

Co-authored-by: Todd Treece <todd.treece@grafana.com>
2024-11-15 16:50:49 -05:00
Todd Treece
66d5c051aa
Dashboards: Add v1alpha1 and v2alpha1 conversion (#96415)
---------

Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2024-11-15 15:49:45 -05:00
Isabella Siu
fcd88d356c
Cloudwatch: Fix parsing for ec2 resource attributes (#96501) 2024-11-15 15:17:50 -05:00
Yuri Tseretyan
420db99d16
Alerting: Update state manager to have immutable state in cache (#95985)
* create a new state and set at the end
* propagate labels datasource_uid and ref_id from current state if it's error
* copy the state when apply to all
2024-11-15 15:01:02 -05:00
colin-stuart
f9ac3301d3
Docs: add note that support for Auth0 "audience" feature is not available (#96507)
* add note that support for Auth0 audience feature is not available

* Update docs/sources/setup-grafana/configure-security/configure-authentication/generic-oauth/index.md

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

---------

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2024-11-15 11:43:29 -05:00
Mohammad Iskandarany
4e3e50bf91
Chore: Update native histogram hints in prometheus data source (#96270)
* [Prometheus] Update native histogram hints

* update unit tests
2024-11-15 10:12:01 -06:00
margotphelps
11f1a6b034
Docs: Added New Release Dates,Security Versioning and Freezes (#96413)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2024-11-15 10:52:49 -05:00
Stephanie Hingtgen
b12c731d59
Stars: Add dashboard_uid and org_id to table (#96408) 2024-11-15 09:51:31 -06:00
Matthew Jacobson
c6a90ed3cd
Alerting: Fix long KeepLast annotations failing to save (#96503)
Certain combinations of KeepLast state transition annotations exceed the current
 limit of 25 characters. This increases the column size limit to be able to
 handle the longest combination (27) with some extra space for comfort.
2024-11-15 10:43:56 -05:00
Mihai Doarna
7d25e9ce86
docs: Add docs on generating SAML cert from the UI (#96538)
* add docs on generating SAML cert from the UI

* run prettier
2024-11-15 17:36:45 +02:00
Isabella Siu
06196022cf
Elasticsearch: Update grafana-plugin-sdk-go for sse errorsource updates (#96144) 2024-11-15 10:18:07 -05:00
Isabel Matwawana
17a4eab58e
Docs: Bar chart visualization refactor (#96555) 2024-11-15 09:50:38 -05:00
Galen Kistler
062f9b6dbf
Loki: skip tests that are flaking in CI (#96551)
test: skip tests that are flaking in CI
2024-11-15 08:47:00 -06:00
Gareth Dawson
cc1d76fc0a
Jaeger: Add feature toggle for backend migration (#96494)
* add feature toggle for jaeger backend migration

* add codeowners
2024-11-15 14:40:20 +00:00
Ryan McKinley
cc6d057a18
Provisioning: Rename k8s origin metadata to repo (#96524) 2024-11-15 17:26:14 +03:00
Arati R.
2e62f75166
K8s/Folders: Allow recursive creation of DTO (#96439)
* Fix toDTO
* Remove conversion function for folder dto
* Convert toDTO to a standalone function

---------

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
2024-11-15 15:21:57 +01:00
Tom Ratcliffe
7ae0d551fe
Chore: Move betterer eslint rules to separate file and allow opting in (#96240)
* Move betterer eslint rules to separate file and allow opt-in for local dev

* Add betterer eslint to codeowners
2024-11-15 14:01:39 +00:00
Vardan Torosyan
97103a5256
Docs: Clarify disabling auto login for SAML and OAuth (#96520) 2024-11-15 14:46:03 +01:00
Vardan Torosyan
f31d3f424c
Docs: Add secondsToLive to the SA HTTP API docs (#96518)
* Docs: Add secondsToLive param to the SA HTTP API docs

* Docs: Add secondsToLive param to the SA HTTP API docs
2024-11-15 14:45:48 +01:00
Marco Schaefer
b324925bd5
Frontend Monitoring: Update regex to ignore options.customEndpoint (#96542)
* fix(GrafanaJavascriptAgentBackend): update regex to ignore options.customEndpoint

* update test
2024-11-15 14:11:59 +01:00
Sven Grossmann
5965aa9aca
Loki: Fix healthcheck logger always appending endpoint (#96531)
* Loki: Fix healthcheck logger always appending `endpoint`

* add test
2024-11-15 12:51:52 +01:00
Victor Marin
927d0dddfe
DashboardScene: Update repeated panels in dashboard after saving in panel edit and returning to it (#96536)
* Update repeated panels after saving dashboard when returning to it from panel edit

* cleanup
2024-11-15 13:40:51 +02:00
Jack Westbrook
329a4605fb
SQL Datasources: Make QueryEditor lazy loaded (#96179)
* feat(grafana-sql): make sqlqueryeditor lazy loaded

* feat(sql-datasources): switch out query editor for lazy query editor

* build(postgresql): put tsconfig jsx prop inside compilerOptions

* chore(sql-queryeditor): move lazy import out of component
2024-11-15 12:28:01 +01:00
Karl Persson
1f34096fdf
Zanzana: reconcile basic roles and bindings (#96473)
* Add reconciler for basic roles

* Add reconciler for basic role bindings
2024-11-15 12:10:22 +01:00
Timur Olzhabayev
0f4517df98
Docs: Plugin Installation - reorganize and add air-gapped environments (#96437)
* rewriting installation docs and including info about airgapped environments

* Changing example to lokieexplore app

* run prettier

* adding corrections

* running prettier

---------

Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
2024-11-15 11:53:56 +01:00
Karl Persson
7e38fd733b
Zanzana: Lazy load cached store info (#96452)
* Lazy load cached store infos
2024-11-15 11:44:34 +01:00
Sonia Aguilar
76a3d79231
Alerting: Remove reducer when creating and instant (#94246)
* Remove reducer when using a non complex query that is instant

* remove reducer when changing data source

* Fix whenField

* use DataSourceType instead of string literal

* add reducer when using range

* add tests

* use an object for SimpleCondition refids identifiers

* fix threshold expression to point to B after switching back to range

* address pr review comments

* refactor: extract reducer optimization to the reducer

* fix tests

* fix snapshot

* rename constants
2024-11-15 12:28:54 +02:00
Ashley Harrison
20837d3837
Chore: silence sass warnings since we're going to remove sass anyway (#96530)
silence sass warnings since we're going to remove sass anyway
2024-11-15 12:18:58 +02:00
renovate[bot]
70601a5367
Update dependency @floating-ui/react to v0.26.28 (#96528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 12:11:09 +02:00
Ashley Harrison
eededdd4c1
SingleTopNav: Update singleTopNav feature toggle to public preview (#96527)
update singleTopNav to public preview
2024-11-15 12:06:27 +02:00
renovate[bot]
0e0920efbe
Update dependency @grafana/faro-web-tracing to v1.12.0 (#96493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 09:52:33 +00:00
Josh Hunt
9a4a17f338
GrafanaUI: AutoSizeInput uses placeholder for width calculation (#96458)
AutoSizeInput: Use placeholder for width calculation also
2024-11-15 09:45:05 +00:00
Andre Pereira
65b50b67c4
Tempo: Fix trace kvlist and array transformations (#96388)
* Fix kvlist and array transformations

* Log transformation errors
2024-11-15 09:35:41 +00:00
Andrej Ocenas
d8d1886938
Grafana/ui: Allow adjusting the handle size of the useSplitter (#96039) 2024-11-15 09:58:52 +01:00
Vardan Torosyan
26b596d351
Docs: Adding a note about how to parse JMESPath expression with a colon (#96237)
* Docs: Adding a note about how to parse JMESPath expression with a colon

---------

Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
2024-11-15 09:56:58 +01:00
Mihai Doarna
c276bd1ccc
docs: Add docs on configuring role mapping for multiple GitHub teams (#96483)
add docs on configuring role mapping for multiple GitHub teams
2024-11-15 10:43:53 +02:00
Edvard Falkskär
af7512741c
NodeGraph: Zoom mode option (#95823)
* NodeGraph: Zoom mode option

* Update the docs

* refactor stepUp/stepDown handling

* fix

* Update cooperative description

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

* Update zoom mode wording

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

* Add  tests

* Move node graph settings to align with other viz

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-11-15 09:43:28 +01:00
Brendan O'Handley
e331b778c1
Combobox: Add a warning for combobox when exceeding the recommended amount of options (#96070)
* add a warning for components when they exceed the recommended options amount

* Update packages/grafana-ui/src/components/Combobox/Combobox.tsx

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>

* Update packages/grafana-ui/src/components/Combobox/Combobox.tsx

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>

* log faro

* log once with flag

* log in setItems

* move logOptions to utils and write tests

* import function, update betterer for combobox

* Fix lint errors

* log once without the try

* fix tests

---------

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2024-11-14 22:19:40 +02:00