Commit Graph
57440 Commits
Author SHA1 Message Date
Jack Westbrook bfbc3c048f build(packages): rely on nx.json config for versioning args 2025-03-03 12:28:45 +01:00
Jack Westbrook c6ffb5f880 chore(nx): bump dependencies to latest version 20.4.6 2025-03-03 12:16:43 +01:00
Jack Westbrook 245be481fd docs(packages): update readme fixed version nx group name 2025-03-03 12:00:45 +01:00
Jack Westbrook f07375a66b ci(drone): fix stray conflict in yml config 2025-03-03 11:57:00 +01:00
Jack Westbrook ec8b528610 ci(versioning): version packages with nx and remove reference to lerna.json in workflow 2025-03-03 11:55:42 +01:00
Jack Westbrook 1588e42c54 docs(packages): remove e2e from packages readme 2025-03-03 11:53:21 +01:00
Jack Westbrook f47bc26c37 chore(yarn): dedupe lock file 2025-03-03 11:53:19 +01:00
Jack Westbrook 84ed75a4d8 chore(nx): run nx repair to update config 2025-03-03 11:52:50 +01:00
Jack Westbrook c0211b88b2 chore(nx): define pack command in project.json for publishable packages 2025-03-03 11:52:50 +01:00
Jack Westbrook 6c545e9aaa chore(nx): replace yarn workspaces with nx run-many and pack command 2025-03-03 11:52:50 +01:00
Jack Westbrook ac18fe202d chore(nx): bump related packages to latest major 20 2025-03-03 11:52:48 +01:00
Jack Westbrook a66530585d chore(yarn): dedupe lock file 2025-03-03 11:51:50 +01:00
Jack Westbrook 4d13e996b4 style(build): silence gosec file inclusion via variable error 2025-03-03 11:51:29 +01:00
Jack Westbrook 2fd491d101 chore(yarn): dedupe lock file 2025-03-03 11:51:28 +01:00
Jack Westbrook 331b18df7f ci(build): update packFrontendPackages to only run pack grafanaPackages nx projects 2025-03-03 11:51:02 +01:00
Jack Westbrook 9499057f6e ci(versioning): update drone to version grafanaPackages,privatePackages,plugins nx groups 2025-03-03 11:51:01 +01:00
Jack Westbrook 6a6747ae81 chore(yarn): refresh lock file 2025-03-03 11:49:32 +01:00
Jack Westbrook 7328089b30 build(nx): create privatePackages group for bump version action. prefer config for flags 2025-03-03 11:48:21 +01:00
Jack Westbrook 9435637082 chore(frontend): private packages can ref grafana workspaces with workspace protocol 2025-03-03 11:48:20 +01:00
Jack Westbrook 73a5cb4610 chore(frontend): private packages dont need to follow versioning 2025-03-03 11:47:03 +01:00
Jack Westbrook fe555d134d ci(nx): remove sql and o11y-ds-frontend from release as they are private packages 2025-03-03 11:45:58 +01:00
Jack Westbrook c6f100b4d7 refactor(nx): split grafana npm packages and plugins into separate groups 2025-03-03 11:45:58 +01:00
Jack Westbrook 2698ca3a90 chore(plugins): use workspace protocol for decoupled plugin grafana dependencies 2025-03-03 11:45:56 +01:00
Jack Westbrook ccdf1ff82c chore(pkg/build): remove comment referencing lerna 2025-03-03 11:43:01 +01:00
Jack Westbrook 0bff060af2 feat(pkg/build): replace lerna exec with yarn workspaces foreach 2025-03-03 11:43:00 +01:00
Jack Westbrook 353401617e docs(frontend): update packages readme now using nx instead of lerna 2025-03-03 11:43:00 +01:00
Jack Westbrook 45f958a714 chore(yarn): refresh lock file 2025-03-03 11:42:59 +01:00
Jack Westbrook b17abed582 ci(frontend): replace usage of lerna with nx release 2025-03-03 11:42:34 +01:00
Jack Westbrook 2228726c0d feat(frontend): replace package scripts usage of lerna with nx and yarn workspaces 2025-03-03 11:41:27 +01:00
Jack Westbrook 3a4f57c1ee feat(nx): introduce a fixed release group to config 2025-03-03 11:41:26 +01:00
Jack Westbrook a19528fa05 chore(frontend): remove lerna, config file and references to config file 2025-03-03 11:41:25 +01:00
Jack Westbrook 742de5210a chore(nx): bump to latest version (18.2.x) 2025-03-03 11:40:13 +01:00
Stephanie Hingtgen 2e7c28ccbc Dashboard history: rename rudderstack variable (#101182) 2025-03-02 21:45:24 -07:00
grafana-pr-automation[bot]andgithub-actions[bot] ed8bd902df I18n: Download translations from Crowdin (#101486)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-02 02:31:55 +02:00
Ryan McKinley 0764ecb98d K8s/DualWriter: Use dualwriter package for all dual writers (#101393) 2025-03-01 21:26:14 +03:00
Oscar KilhedandLeon Sorokin 2cc6f39c5e Transformations: Fix runtime handling of old format in Add field from calc / binary (#101455)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-02-28 17:38:05 -06:00
Leon SorokinandDominik Prokop e8b035a5f7 Transformations: Fix variable interpolation when Scenes is disabled (#101438)
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2025-02-28 16:25:43 -06:00
Jev Forsberg 6abf0434df Chore: Migrate backend testing from drone to gha (#100765)
* baldm0mma/ add gha workflow

* baldm0mma/ add codeowners

* baldm0mma/ update health command

* baldm0mma/ update aliases for services

* baldm0mma/ rewrite migration attempt

* baldm0mma/ fix package names for ubuntu

* baldm0mma/ add authentication

* baldm0mma/ update auth

* baldm0mma/ add debugs

* baldm0mma/ add continue on error

* baldm0mma/ simplyfy ent fork logic

* baldm0mma/ debug fork status

* baldm0mma/ add debug workflow for enterprise access

* chore: add workflow_dispatch trigger to backend test workflow

* baldm0mma/ debug ent run

* baldm0mma/ add more robust debugging info

* baldm0mma/ use old drone ci app for testing

* baldm0mma/ update app name

* baldm0mma/ update workflow creds

* baldm0mma/ rename

* baldm0mma/ update codeownders

* baldm0mma/ update paths to ignore paths for docs and markdown files

* baldm0mma/ create 'Setup Grafana Enterprise' action and remove from current workflow

* baldm0mma/ fail at git clone

* baldm0mma/ absract away "Run backend tests" and "Run backend integration tests" into their own actions

* baldm0mma/ update directory strcuture to adhere to GHAs best practices

* baldm0mma/ remove optional configs

* baldm0mma/ update codeowners

* baldm0mma/ update gh app name

* baldm0mma/ remove circ dep

* baldm0mma/ uncomment out enterprise setup for test

* baldm0mma/ update valut url

* baldm0mma/ use vault instance rather than url

* baldm0mma/ debug

* baldm0mma/ Removed the multiline string format

* baldm0mma/ add installation key

* baldm0mma/ update path

* baldm0mma/ debug vault access

* baldm0mma/ add ent

* baldm0mma/ remove debugging

* baldm0mma/ update paths

* baldm0mma/ update codeowners

* baldm0mma/ update paths and codeowners

* baldm0mma/ add continue-on-error to assure the workflow isn't blocking

* baldm0mma/ simplify test action execution

* baldm0mma/ remove wire install step

* baldm0mma/ add conditions for coverage output

* baldm0mma/ add conditions for coverage output for integration test action

* baldm0mma/ add report converage file

* baldm0mma/ remove uneeded action

* baldm0mma/ update codeowners

* baldm0mma/ push small change to go file and add log

* baldm0mma/ update trigger conditions

* baldm0mma/ update converage conditions

* baldm0mma/ update Run backend integration tests with correct action

* baldm0mma/ test 2

* baldm0mma/ update with -coverpkg flag

* baldm0mma/ remove backend-coverage as it is now redundant

* baldm0mma/ update codeowners

* baldm0mma/ update test file

* baldm0mma/ update coverage logic
2025-02-28 14:53:17 -07:00
Matthew Jacobson 2466685a41 Alerting: Improve template testing by trying non-root scopes (#101471)
Expand template testing to try additional scopes if the root scope fails.
This mitigates errors for definitions like pagerduty.default.instances,
which require the .Alerts scope. Added support for .Alerts and .Alert
scopes.
2025-02-28 20:27:27 +02:00
Yuri Tseretyan 10f17a296a Alerting: Update Github Action to update alerting module to support version branches (#101472) 2025-02-28 12:06:33 -05:00
Yuri Tseretyan 1d54850a68 Alerting: Get alert rule versions by GUID (#101469)
* get alert rule versions by GUID

* protect guid field from accidental update
2025-02-28 11:27:46 -05:00
Drew Slobodnjak 87a9188bb4 Geomap: Fix Fit to Data for Route Layer (#101391)
* Geomap: Fix Fit to Data for Route Layer

* Update gdev panel tests to cover fit to data

* Add layer value to layer select value
2025-02-28 08:13:20 -08:00
Todd Treece 620d213856 K8s: Set priority for aggregated discovery (#101427) 2025-02-28 17:39:41 +02:00
Yuri Tseretyan 879b121136 Alerting: Add GUID to alert rule tables (#101321)
* add column guid to alert rule table and rule_guid to rule version table
+ populate the new field with UUID
* update storage and domain models
* patch GUID
* ignore GUID in fingerprint tests
2025-02-28 09:47:25 -05:00
Matheus Macabu 9eaaf95701 Hackaton 12: Add some unit tests, take 1 (#101457)
* tsdb/graphite: add happy path test for QueryData

* infra/httpclient/httpclientprovider: add tests for RedirectLimitMiddleware
2025-02-28 16:11:11 +02:00
renovate[bot] fc6f841942 Update dependency @formatjs/intl-durationformat to v0.7.3 (#101456)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 13:03:26 +00:00
xavi ec29f6cb60 Add OpenAPI annotations for query params of getOrgUsersForCurrentOrg API route (#101419) 2025-02-28 13:41:58 +01:00
Will AssisandJean-Philippe Quéméner f5e5824bab fix (unified-storage): stop registering unified storage metrics in global state (#101322)
* move prometheus.register for unified storage metrics into metrics.go and do most of the plumbing to get it to work

* convert StorageApiMetrics to pointer and check for nil before using it

* rename type and variables to something more sensible

---------

Co-authored-by: Jean-Philippe Quéméner <jeanphilippe.quemener@grafana.com>
2025-02-28 07:39:39 -05:00
renovate[bot] 7fb0d1b3e6 Update dependency @floating-ui/react to v0.27.5 (#101451)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 12:09:33 +00:00
Sonia AguilarandTom Ratcliffe e73b78a134 Alerting: Rule history restore feature (#100609)
* Restore feature: wip

* Refactor modal to separate component

* fix restoring from the drawer

* rename components folder to version-history, and move version-utils.file there

* skip fetching rule when uid is empty, add returnTo when restoring manually

* Fix drawer fetching infinitely

* Move drawer to separate file

* add tracking for restore success and restore failure

* Fix name of error interaction

* Add `compare` to each row in version history

* Add warning when manually restoring and trigger form validation

* Fix initial validation for contact point selector

* Wait for successful fetch before potential error

* Add disabled state when loading

* Fix loading check for contact point selector

* Fix typo

* Move hook to separate file and move other method into utils

* Update imports and remove manual state management

* Fix infinite render

* Remove onError from dep array

* Use separate flag for showing manual restore alert

* Rename to createdAt

* add and use ability to restore to check if retore is allowed

* Fix test and add isGrafanaManagedAlertRule to the ability check

* Address PR feedback

* Change to isManualRestore for trigger check

* udpate AlertRuleAction.Restore ability

* make the alertingRuleVersionHistoryRestore ff , enabled by default

* fix ff

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2025-02-28 13:14:23 +02:00