Commit Graph

56847 Commits

Author SHA1 Message Date
Nathan Marrs
21bfdd445f
Image Renderer: Minor refactor cleanup (#100089) 2025-02-06 08:01:11 -07:00
Haris Rozajac
4c52abb6b4
Dashboard Schema V2: Introduce __legacyStringValue and deprecate string type for query prop in QueryVariableSpec (#99716)
* Introduce __legacyStringValue and deprecate string type for query

* Fix tests

* Fix tests

* remove default

* kind should default to default ds if variable doesn't have ds field

* lint

* getDefaultDataSourceRef should not return undefined
2025-02-06 07:33:06 -07:00
Torkel Ödegaard
f1eac34b54
Dashboard: Simpify is empty handling (#100189)
* Dashboard: Simpify is empty handling

* remove unused imports

* Update

* Update

* Update

* add code for other layouts

---------

Co-authored-by: Victor Marin <victor.marin@grafana.com>
2025-02-06 15:30:54 +01:00
Mariell Hoversholm
ae33d49036
Advisor: Assert new fields (#100199) 2025-02-06 16:29:54 +02:00
Jacob Valdez
d3ce9e1fe2
Docs: adding actions_allow_post_url example to plugin docs (#96157) 2025-02-06 08:24:30 -06:00
Eric Leijonmarck
98e3237ce2
LBAC for data sources: Update to indicate that we have experimental and GA (#100187)
update confusing docs
2025-02-06 14:05:52 +00:00
Ida Štambuk
57e30633e9
Docs: Add a note on query caching for Cloudwatch datasource (#100180) 2025-02-06 15:02:34 +01:00
Andres Martinez Gotor
52db2070a0
Advisor: Expose check types as a resource (#100058) 2025-02-06 13:35:40 +01:00
Kyle Brandt
d64f41afdc
SQL Expressions: Re-implement feature using go-mysql-server (#99521)
* Under feature flag `sqlExpressions` and is experimental
* Excluded from arm32
* Will not work with the Query Service yet
* Does not have limits in place yet
* Does not working with alerting yet
* Currently requires "prepare time series" Transform for time series viz
 
---------

Co-authored-by: Sam Jewell <sam.jewell@grafana.com>
2025-02-06 07:27:28 -05:00
Matias Chomicki
4e6bdce41c
Loki query direction: run initialization only in Explore and Dashboards (#100182) 2025-02-06 13:02:43 +01:00
Sriram
9fc82faea7
[analytics] added plugin version to grafana_ds_test_datasource_clicked event (#100168) 2025-02-06 11:50:48 +00:00
Matheus Macabu
fde475e3d9
CloudMigrations: save snapshot of alert rule groups (#100109) 2025-02-06 12:35:59 +01:00
Ashley Harrison
7d3a77a45c
Themes: Add new theme definitions behind feature toggle (#100129)
* create new toggle

* add survey link behind feature toggle

* fix translations

* better theme structure

* add all the themes back

* update matrix

* fix mars contrast

* fix color contrast probs with tron

* fix a11y issues with synthwave/victorian themes

* fix aubergine/zen

* rename green + gold

* rename to space

* rename, only enable 4 for grafanacon

* add survey link

* fix info color in sapphiredusk

* handle extra themes in storybook
2025-02-06 11:08:04 +00:00
Karl Persson
e05413dcc4
Dashboards+Folders: Ensure the service identity is used for resolvers (#100128)
* Dashboards+Folders: Ensure the service identity is used for dashboard and folder resolvers

* Add convinient function to call closure with service context
2025-02-06 12:07:52 +01:00
Torkel Ödegaard
0916994d0a
Dashboard: Various fixes to new layouts (#100107)
* Dashboard: Various fixes to new layouts

* review fixes

* Fix

* Update

* Fix test
2025-02-06 10:57:08 +01:00
Leon Sorokin
d5f1f4eb5c
ComboBox: Fall back to substring matching for symbols/operators (#100148) 2025-02-06 09:33:08 +00:00
Ashley Harrison
f89da88f0f
Storybook: Support an arbitrary number of themes (#100111)
* support more themes in storybook

* default to dark theme

* fix type error

* change theme in docs container

* add TODO

* only show extra themes in development mode

* add comment
2025-02-06 09:16:47 +00:00
Andres Martinez Gotor
36275a5510
Advisor: Refactor check interfaces (#100043) 2025-02-06 09:55:17 +01:00
Stephanie Hingtgen
495aa65c6e
FindDashboards: filter by dashboard type (#100160) 2025-02-05 18:57:26 -06:00
Yuri Tseretyan
f7d476e408
Alerting: Remove id and org_id from grafana alert rule API model (#100139) 2025-02-05 23:13:22 +02:00
Brendan O'Handley
0fe4b15d00
Explore metrics: Add option to use regex (#100146)
add option to use regex
2025-02-05 15:11:43 -06:00
Todd Treece
69e4d8468b
Dashboard: Add v1alpha1 test coverage (#100149) 2025-02-05 23:01:51 +02:00
Jean-Philippe Quéméner
364559e856
feat(unified-storage): use continue token when building list (#100143) 2025-02-05 21:02:35 +01:00
Kevin Minehart
8e10ee9056
CI: remove unnecessary line in backport.yml (#100144)
remove bad line
2025-02-05 21:37:19 +02:00
Kevin Yu
b7b2e2bbaa
CI: Commit package.json changes in e2e/test-plugins when bumping versions (#97506) 2025-02-05 13:29:18 -06:00
Yuri Tseretyan
33b11d5c76
Alerting: Remove ID and OrgID from hash calculation (#100140) 2025-02-05 14:15:02 -05:00
Kevin Minehart
6787cdccb9
CI: Backport to release branches (#100067)
* update backport and release comms

* Backport to release branches and change docs source branch for publishing

* Add new workflows to CODEOWNERS

* Re-add removed line oops

* backport-testing -> grafana

* checkout grafana repo in backport action, reference repo / branch in reusable action

* generate -> create
2025-02-05 21:04:03 +02:00
colin-stuart
6200361f36
Auth: Add IP address login attempt validation (#98123)
* Auth: Add IP address login attempt validation

* LoginAttempt struct IpAddress field must be camelCase to match db ip_address column

* add setting DisableIPAddressLoginProtection

* lint

* add DisableIPAddressLoginProtection setting to tests

* add request object to authenticate password test

* nit suggestions & rename tests

* add login attempt on failed password authentication

* dont need to reset login attempts if successful

* don't change error message

* revert go.work.sum

* Update pkg/services/authn/clients/password.go

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

---------

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2025-02-05 20:16:36 +02:00
colin-stuart
d58dec7951
Docs: Add docs for Passwordless Authentication Using Magic Links (#96877)
* Docs: Add docs for Passwordless Authentication Using Magic Links

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

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

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

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

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

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

* match Writer's Toolkit style

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

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

---------

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2025-02-05 17:58:14 +00:00
Isabel Matwawana
92bb51bdda
Docs: move missing ref URI to correct page (#100131) 2025-02-05 12:08:50 -05:00
Artur Wierzbicki
130d268b51
Dashboards: Update POST /api/dashboards/db docs (#99363)
update dashboard update docs
2025-02-05 22:47:08 +06:00
Matthew Jacobson
a93664ff3d
Alerting: Add EmbeddedContents as alternative embedding in smtp (#99937)
Adds support for embedding []byte in SmtpClient instead of filenames. This is backwards compatible as it uses a new field EmbeddedContents to add an alternative to the existing EmbeddedFiles which takes filenames.
2025-02-05 11:12:30 -05:00
Josh Hunt
0ca1febb77
FolderPicker: Make lazy in prep for exposing publicly (#100118)
* Make lazy NestedFolderPicker

* Change permission prop to use string union instead of enum

* reword comment
2025-02-05 17:21:32 +02:00
Karl Persson
39d94eabcd
Auth: Fix function name (#100122)
Fix spelling
2025-02-05 15:32:22 +01:00
Karl Persson
64800f293e
Authz: Check for parent uid instead of id (#100121)
* Check for parent uid instead of id
2025-02-05 15:06:38 +01:00
Andres Martinez Gotor
6d159b6240
Advisor: Fix Healtcheck check (#100115) 2025-02-05 14:59:40 +01:00
Jacob Valdez
bf1174cfdc
Docs: Adding info on decrypting encrypted certificates (#100020) 2025-02-05 07:47:56 -06:00
Ivan Ortega Alba
d53b269455
Dashboard V0->V1 Migration: Schema migration v39 (#99631) 2025-02-05 13:50:38 +01:00
Dana Axinte
665974e751
CloudMigrations: Update link to cloud migration assistant page (#99915)
* change link

* consolidate banners

* remove banner on plugins
2025-02-05 12:01:04 +00:00
Ieva
095593c018
RBAC: Don't check folder access if annotationPermissionUpdate FT is enabled (#99717)
don't check folder access if annotation permission update is enabled
2025-02-05 11:15:24 +00:00
Bogdan Matei
c4d0114376
Dashboards: Use i18n for texts in dynamic dashboards (#100108) 2025-02-05 13:14:03 +02:00
Nick Richmond
39a6d2e586
ExploreMetrics: Use redirect to route traffic to metrics drilldown app (#100098)
* fix: drilldown app redirect

* chore: make copilot review happy, I guess 🤷
2025-02-05 06:09:16 -05:00
Bogdan Matei
f51571db5d
Dashboards: Refactor types for dynamic dashboards (#100064) 2025-02-05 11:08:41 +02:00
Rares Mardare
bea62aa615
Alerting: Update IRM copies in Configuration Tracker (#100069)
* updated alerting configuration tracker with new IRM copies

* Configuration tracker steps

* copy

* CI trigger

---------

Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
2025-02-05 09:58:19 +01:00
Mihai Doarna
5ad31ebe39
API keys: Migrate API keys to service accounts at startup (#96924)
* migrate API keys to SA at startup

* send metrics with api key migration stats

* address feedback

* run API keys migration in a server lock

* update logging
2025-02-05 10:55:47 +02:00
Todd Treece
17e21bff97
Dashboards: Fix title conversions (#100084) 2025-02-04 16:22:42 -05:00
Brendan O'Handley
7ebc81fbbf
Explore metrics: Fix otel bug (#100092) 2025-02-04 15:18:30 -06:00
owensmallwood
f9c4d3edce
Unified Storage: Updates index latency logging (#100085)
updates index latency logging
2025-02-04 13:33:44 -06:00
Yuri Tseretyan
68f1730461
Alerting: set updated_by for system owned operations (#100068) 2025-02-04 14:23:15 -05:00
Nathan Marrs
6eac07c3a7
Image Renderer: Add support for SSL in plugin mode (#98009) 2025-02-04 10:44:02 -08:00