Commit Graph

44992 Commits

Author SHA1 Message Date
Kristin Laemmert
d1876b68bc Chore: refactor grafana-apiserver a bit (#74177) 2023-08-31 09:12:01 -04:00
George Robinson
439270f6cb Rename Google Hangouts to Google Chat (#74162)
* Rename Google Hangouts to Google Chat

* Fix prettier
2023-08-31 16:09:22 +03:00
Haris Rozajac
416520e648 Frontend: Make Prometheus and Traces icons larger (#74088)
Make icons larger
2023-08-31 15:08:07 +02:00
Hugo Kiyodi Oshiro
8deea81b56 Chore: Update grafana-plugin-sdk-go version (#74039) 2023-08-31 14:35:09 +02:00
Haris Rozajac
2ea22b44e1 Frontend PanelChrome: Fix header title moving down when collapsing (#74123)
* PanelChrome: Fixes height when collapsed and collapse icon placement

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-08-31 13:25:52 +02:00
Jack Baldry
9ebcfeaf9e Update all use of docs/shared in Grafana to use keyword arguments (#74167)
* Update all use of docs/shared in Grafana to use keyword arguments

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Add version inference to remaining Grafana docs/shared usage

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-08-31 11:00:04 +01:00
George Robinson
164161b41a Docs: Update docs on comparisions with $values (#74156) 2023-08-31 10:32:09 +01:00
matt abrams
3021580d8f Docs: Update triage guide re feature requests (#73974)
update triage guide re feature requests
2023-08-31 11:30:39 +02:00
Javier Ruiz
6dea273044 Grafana/ui: Expose trigger method from useForm to children (#73831)
Form: Expose trigger method from useForm to children
2023-08-31 11:22:07 +02:00
github-actions[bot]
485f07cb7d Update make docs procedure (#74152)
Co-authored-by: grafanabot <bot@grafana.com>
2023-08-31 09:57:01 +01:00
Agnès Toulet
f919c55bbb Reporting: Add feature toggle to retry failed rendering requests (#73739)
* add reportingRetries feature toggle

* update doc

* generate flags files

* fix after merge

* Update docs/sources/setup-grafana/configure-grafana/enterprise-configuration/index.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* update doc and codeowner

* update doc

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-08-31 09:47:47 +02:00
Jo
dcf06658eb Chore: Implement requester in util pkg (#74105)
implement requester changes that do not impact functionality
2023-08-31 09:46:55 +02:00
Ihor Yeromin
f97e1c81e6 Axis: Add separate show axis option (#74117)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-08-30 18:57:44 -07:00
Kim Nylander
d5e7b184dd [DOC] Fix tracing link (#74136)
* Fix link in Tempo data source

* prettier fixes
2023-08-30 16:07:11 -05:00
Nathan Marrs
2f4fbf89ca Chore: Create dashgpt feature flag (#73971) 2023-08-30 23:22:05 +03:00
Ezequiel Victorero
64652a981c Chore: Add sharing squad as codeowners (#73828) 2023-08-30 22:34:07 +03:00
Kevin Minehart
364ca3daa0 Docker: Add musl as a ubuntu dependency (#74127)
Add musl as a ubuntu dependency
2023-08-30 20:26:35 +03:00
Kristina
cd2dcba484 Datasource Picker: Invert the builtin svg logos on light mode (#71684)
* Invert the builtin svg logos on light mode

* Empty-Commit
2023-08-30 17:11:42 +01:00
Ibrahim
2794b8628e Feat: Feature toggle admin page frontend write UI and InteractiveTable sorting (#73533)
* updates

* make save button always visible but disabled

* only reset toggles if there isn't an error response

* make linters happy

* update post body to match backend

* fix linter again

* be smarter about sorting of empty descriptions

* run prettier

* fix payload

* Re-add disabled to switch

---------

Co-authored-by: Joao Calisto <joao.santana.calisto@gmail.com>
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2023-08-30 12:02:58 -04:00
Ryan McKinley
025b2f3011 Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
Kristin Laemmert
3e272d2bda Bug(sqlstore): fix issue with postgres unable to find existing main organization (#73789)
* SQLStore: fix issue where postgres would not find the existing org

Grafana using a postgres databases would fail to find the created org when the CreatedAt and UpdatedAt times are (inaccurately) populated. This issue only occurs in postgres, and only shows up when getOrCreateOrg run to create the admin user AND the organization already exists. See https://github.com/grafana/grafana/issues/71781 for more information and a reproduction.

* add an integration test
2023-08-30 11:45:20 -04:00
linoman
1b8e9b51b2 Replace signed in user for identity.requester (#74048)
* Make identity.Requester available at Context

* Clean pkg/services/guardian/guardian.go

* Clean guardian provider and guardian AC

* Clean pkg/api/team.go

* Clean ctxhandler, datasources, plugin and live

* Clean dashboards and guardian

* Implement NewUserDisplayDTOFromRequester

* Change status code numbers for http constants

* Upgrade signature of ngalert services

* log parsing errors instead of throwing error
2023-08-30 16:51:18 +02:00
Laura Fernández
e079e00bfb Grafana-ui: Get rid of duplicated code in TimeRangeContent (#74112) 2023-08-30 16:38:54 +02:00
github-actions[bot]
42efd13062 Alerting: Update Swagger spec (#73877)
chore: update alerting swagger spec

Co-authored-by: rwwiv <rwwiv@users.noreply.github.com>
2023-08-30 14:00:13 +00:00
Brendan O'Handley
42662667d1 Prometheus: Query variable editor persist query type on clicking run query (#74045)
run query to save query type selection
2023-08-30 09:52:23 -04:00
Andrew Hackmann
2a835301c3 Azure Monitor: Remove infra logger (#73652)
* removed infra logs

* improve health check

* remove debug and error logs

* feedback

* Update pkg/tsdb/azuremonitor/azuremonitor-resource-handler.go

* Update pkg/tsdb/azuremonitor/loganalytics/azure-log-analytics-datasource.go

* fix close body error

* update test

* resource request should return errors

* go linter

* go linter
2023-08-30 08:39:31 -05:00
Laura Fernández
26d5afecaf Grafana UI: DateTimePicker not updated when changing input onblur (#73839) 2023-08-30 15:15:42 +02:00
Denny Chang
a90f3b58b5 i18n: Mark up HelpModal for translations (#73806)
* fix: i18n Help Modal

* fix: change translation modal to grafana-ui.modal

* fix: lint

* fix: by run yarn:i18n pseudo
2023-08-30 14:08:18 +01:00
Juan Cabanas
969ef5282c PublicDashboards: Data discrepancy fix. Use real datasource plugin when it is a public dashboard. (#73708)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-08-30 09:38:13 -03:00
Fabrizio
5038137662 Dashboard: Add support for Tempo query variables (#72745) 2023-08-30 13:45:39 +02:00
Alexander Zobnin
75fd019068 ClientTokenRotation: Rotate only expired tokens (#74010)
* ClientTokenRotation: Rotate only expired tokens

* Don't expose getSessionExpiry
2023-08-30 13:43:52 +02:00
Horst Gutmann
6277c04caf Add LICENSE file to generated Docker images (#74082) 2023-08-30 13:26:50 +02:00
Gilles De Mey
42a4bad0f0 Alerting: Do not show grouping when grouplabels are empty in email template (#74090) 2023-08-30 13:02:23 +02:00
ismail simsek
29ea0886e3 InfluxDB: Fix sending retention policy with the backend request (#72763)
* Add retention policy to the request

* refactor

* refactor influxql query flow

* fix healthcheck

* organize imports

* handle queries separately

* fix tests

* update bench test
2023-08-30 12:42:02 +02:00
Joey
dc26cdf6c9 Tempo: Reset metrics summary tag when scope changes (#74028)
Reset tag when scope changes
2023-08-30 11:26:09 +01:00
Haris Rozajac
2cf4f641f2 Explore: Unified Logs Volume and Logs panels (#73825)
Wrap Logs Volume and Logs panels with PanelChrome instead of Collapse
2023-08-30 12:20:43 +02:00
Gabriel MABILLE
f900098cc9 [LDAP] Disable removed users on login (#74016)
* [LDAP] Disable removed users on login

* Fix tests

* Add test for user disabling

* Add tests for disabling user behind auth proxy

* Linting.

* Rename setup func

* Account for reviews comments

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>

---------

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
2023-08-30 10:59:35 +02:00
Andrej Ocenas
a6ff50300e Pyroscope: Template variable support (#73572) 2023-08-30 10:48:39 +02:00
renovate[bot]
66f60bc410 Update dependency @grafana/experimental to v1.7.0 (#74051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 09:41:12 +01:00
Karl Persson
9470d97eea Guardian: Remove legacy dashboard gurdian (#74022)
Gurdian: Remove legacy dashboard gurdian
2023-08-30 10:14:17 +02:00
Torkel Ödegaard
0563b51098 DashboardScene: Use numeric panel ids in url (#74005)
* DashboardScene: Use numeric panel ids in url

* Rename fix

* Fixed tests
2023-08-30 10:09:47 +02:00
Andrej Ocenas
dc6675cade Template Variables: Fix conversion from non standard data to dataFrame (#73486) 2023-08-30 10:01:32 +02:00
Joey
61fd34ca2b Tempo Config editor updates (#73992)
Config editor updates
2023-08-30 08:53:13 +01:00
Horst Gutmann
f1d704b48b Docs: Update contrib documentation around backports (#73558) 2023-08-30 08:14:15 +02:00
Lucy Chen
a39d1e278e PublicDashboards: Accept uid to pubdash creation (#73956)
* accept uid to pubdash creation

* add accesstoken back

* add uid validation unit tests

* unit test for create pubdash with uid

* update err declaration

* remove white space

* add comment

* remove trailing spaces

* remove space

* suggested changes
2023-08-29 17:25:07 -04:00
Alexander Weaver
dfba94e052 Alerting: Limit redis pool size to 5 and make configurable (#74057)
* Limit redis pool size to 5 and expose it in config ini

* Coerce negative pool sizes to the default
2023-08-29 14:59:12 -05:00
sarah-spang
d8fd4c2cbe Docs: Include Cloud support with RBAC API (#73522)
Update access_control.md

Update to show that RBAC HTTP API can be used with a Cloud account also.
2023-08-29 12:18:07 -07:00
Krishna Dhakal
d61f1145c1 Alerting: Fix dashboard alerting tooltip text (#73659)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2023-08-29 18:50:02 +02:00
Leon Sorokin
4ba6889df8 FieldOverrides: Optimize doStandardCalcs() (#67881)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-08-29 11:35:18 -05:00
arukiidou
20dd8a4f46 Auth: Update okta docs - use_pkce = true by default. #73754 (#73756)
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
2023-08-29 11:28:37 -05:00