Jack Westbrook
9c7aac77d3
ci: attempt to fix a load of broken stuff. Again
2025-03-03 16:27:02 +01:00
Jack Westbrook
d17b2d3939
refactor(betterer): brute force betterer to work by moving to subdirectory with package.json
2025-03-03 11:32:12 +01:00
Jack Westbrook
7da5a86f7e
feat(webassets): shoddy fixes for preload and make tests pass
2025-03-03 09:52:53 +01:00
Jack Westbrook
67c4bd604a
fix(vite): fix failed builds due to emotion/react alias
2025-03-03 09:52:53 +01:00
Jack Westbrook
9bbbdd3d6e
chore(playwright): fix up broken testDirs
2025-03-03 09:52:53 +01:00
Jack Westbrook
80ea8a0901
style(webassets): fix golangci-lint complaining
2025-03-03 09:52:53 +01:00
Jack Westbrook
5e8f0c6f52
feat(trustedtypes): update vite config and the webassets integration to work with TT
2025-03-03 09:52:52 +01:00
Jack Westbrook
db4ef2d0be
chore(frontend): add comment related to using workers
2025-03-03 09:52:52 +01:00
Jack Westbrook
1feace3bbe
fix(e2e): set playwright-report to project root for drone upload step
2025-03-03 09:52:52 +01:00
Jack Westbrook
d3469ceca0
fix(frontend): workers should be imported as url to correctly resolve
2025-03-03 09:52:52 +01:00
Jack Westbrook
846afe2e68
chore(cloudwatch): vendor jsurl stringify function
2025-03-03 09:52:51 +01:00
Jack Westbrook
d830e2085d
chore(codeowners): update playwright config path
2025-03-03 09:52:51 +01:00
Jack Westbrook
1bd546568f
fix(cloudwatch): migrate to esm compatible jsurl2 npm package
2025-03-03 09:52:50 +01:00
Jack Westbrook
f75463e170
refactor(playwright): move playwright config and add package.json to prevent esm errors
2025-03-03 09:52:08 +01:00
Jack Westbrook
bf68d041fa
build(vite): update build:stats script to use rollup visualiser
2025-03-03 09:51:13 +01:00
Jack Westbrook
dbb2097f40
revert(playwright): put back ts extension, cts did nothing
2025-03-03 09:51:13 +01:00
Jack Westbrook
0911638c91
chore(playwright): rename config to cts in case it fixes cli errors related to esm
2025-03-03 09:51:12 +01:00
Jack Westbrook
a6ab645029
chore(codeowners): update file post rename of jquery.ts
2025-03-03 09:51:12 +01:00
Tom Ratcliffe
63dc588531
fix(vite): require env utils correctly
2025-03-03 09:51:12 +01:00
Tom Ratcliffe
c5d89b53d8
fix(frontend): make linting work with cjs util file
2025-03-03 09:51:12 +01:00
Tom Ratcliffe
f6b49880df
fix(frontend): rename env utils and expose frontend_dev_ settings via env plugin
2025-03-03 09:51:12 +01:00
Jack Westbrook
030eb759a9
fix(vite): provide global to patch webpacks defaults
2025-03-03 09:51:11 +01:00
Jack Westbrook
eb7af07b19
chore(vite): major bump to v6 and associated deps
2025-03-03 09:51:10 +01:00
Jack Westbrook
6550ffcc23
feat(webassets): set cdn url for preloadJSFiles and update tests
2025-03-03 09:50:32 +01:00
Jack Westbrook
12b2a63b55
feat(webassets): take advantage of preloadmodule to improve performance
2025-03-03 09:50:30 +01:00
Tom Ratcliffe
762d9a0801
fix(frontend): Fix loading translation files due to hyphens in names
2025-03-03 09:49:23 +01:00
Tom Ratcliffe
9da6111c05
fix(frontend): get all workspace dependencies so we don't optimise them away
2025-03-03 09:49:22 +01:00
Tom Ratcliffe
f016bfe60e
fix(frontend): use vite logger for moveAssets
2025-03-03 09:49:22 +01:00
Tom Ratcliffe
3b44fab842
fix(frontend): Remove unneeded as in vite
2025-03-03 09:49:22 +01:00
Jack Westbrook
6f150098fd
fix(frontend): get start command working
2025-03-03 09:49:22 +01:00
Jack Westbrook
caaa1fe62f
chore(backend): comment out swagger related assets and redundant css keys
2025-03-03 09:49:21 +01:00
Jack Westbrook
54b4cbf3f1
test(dashboard-scene): fix import of CorsWorker
2025-03-03 09:49:21 +01:00
Jack Westbrook
6690095d18
chore(codeowners): fixes for renaming betterer and eslint configs to cjs
2025-03-03 09:49:21 +01:00
Jack Westbrook
e54ce29a29
refactor(crash): clean up cors sharedworker
2025-03-03 09:49:21 +01:00
Jack Westbrook
416afce642
refactor(frontend): clean up usage of corsworker across codebase
2025-03-03 09:49:20 +01:00
Jack Westbrook
5c10f2677b
chore(frontend): fix failing imports preventing vite from building
2025-03-03 09:49:20 +01:00
Jack Westbrook
16ae94dadc
feat(webassets): get prod builds loading in browser again
2025-03-03 09:49:20 +01:00
Jack Westbrook
43189a3848
chore(betterer): make it work, again
2025-03-03 09:49:20 +01:00
Jack Westbrook
af0d904bfe
revert(frontend): put back process.env for jest
2025-03-03 09:49:20 +01:00
Jack Westbrook
22955700ca
chore(internationalization): re-export type to make enterprise a happy bunny
2025-03-03 09:49:19 +01:00
Jack Westbrook
727a3723a1
chore(storybook): put back esbuild-loader for e2e-storybook drone stage
2025-03-03 09:49:18 +01:00
Jack Westbrook
edda259bad
test(internationalization): globally mock extensions to avoid using import.meta.glob in jest
2025-03-03 09:45:32 +01:00
Jack Westbrook
5e21abeed7
test(internationalisation): move files around so we can mock any use of import.meta.glob
2025-03-03 09:45:32 +01:00
Jack Westbrook
0a01254c68
chore(vite): bump dependencies to latest
2025-03-03 09:45:31 +01:00
Jack Westbrook
6c812409fe
chore(saga-icons): use prettier directly to avoid ERR_REQUIRE_ESM error from svgr prettier plugin
2025-03-03 09:44:52 +01:00
Jack Westbrook
4ba0bbb602
chore(frontend): get typechecking to pass
2025-03-03 09:44:51 +01:00
Jack Westbrook
ad36be9612
chore(tempo): put back missing css-loader
2025-03-03 09:44:51 +01:00
Jack Westbrook
60a7faca5b
build(typescript): reenable jsx react-jsx in ts config
2025-03-03 09:44:51 +01:00
Jack Westbrook
830187d688
build(vite): make sure NODE_ENV is set for dev and prod
2025-03-03 09:44:51 +01:00
Jack Westbrook
5298d168cc
fix(frontend): attempt to fix enterprise locales require.context imports
2025-03-03 09:44:50 +01:00
Jack Westbrook
57f74c0740
chore(backend): put back missing FrontendDevServer cfg
2025-03-03 09:44:50 +01:00
Jack Westbrook
0e643f352b
build(frontend): add missing dependencies to core and decoupled plugins
2025-03-03 09:44:49 +01:00
Jack Westbrook
be481d2780
chore(frontend): fix lint issues with tether-drop
2025-03-03 09:44:17 +01:00
Jack Westbrook
1115cbb722
refactor(frontend): fix tether-drop import path
2025-03-03 09:44:17 +01:00
Jack Westbrook
1fd1bb5dff
refactor(frontend): update imports of tether-drop to point to vendor directory
2025-03-03 09:44:16 +01:00
Jack Westbrook
732dc952de
refactor(frontend): bring tether-drop into vendor folder to build from source
2025-03-03 09:44:16 +01:00
Jack Westbrook
904084614b
refactor(frontend): replace usage of process.env.NODE_ENV with import.meta.env.MODE
2025-03-03 09:44:16 +01:00
Jack Westbrook
4c9f0387fa
feat(vite): add basic vendor chunking and vizualizer plugins
2025-03-03 09:44:14 +01:00
Jack Westbrook
8d3d389362
chore(angular): remove nonexistant template import
2025-03-03 09:43:32 +01:00
Jack Westbrook
8f2ebceddf
test(integration): fix testinfra due to asset manifest.json changes
2025-03-03 09:43:32 +01:00
Jack Westbrook
ac5eb6afab
chore(e2e): rename reporter as commonjs
2025-03-03 09:43:31 +01:00
Jack Westbrook
f7be501f9a
test(webassets): trim down sample json
2025-03-03 09:43:31 +01:00
Jack Westbrook
d7f6f87873
ci(e2e): bump cypress container to 13.6.6
2025-03-03 09:43:31 +01:00
Jack Westbrook
c9731da894
wip(e2e): set reporter file path
2025-03-03 09:43:31 +01:00
Jack Westbrook
6ccec33c6a
wip(e2e): brute force cypress install
2025-03-03 09:43:30 +01:00
Jack Westbrook
785c05f185
feat(monaco): add compatiblity for loading with vite
2025-03-03 09:43:30 +01:00
Jack Westbrook
6b55313560
feat(frontend): provide a corsworker for vite
2025-03-03 09:43:30 +01:00
Jack Westbrook
06d4038d4f
feat(vite): support loading fe assets via cdn
2025-03-03 09:43:30 +01:00
Jack Westbrook
e56168fdff
chore(codeowners): update cypress config filename
2025-03-03 09:43:30 +01:00
Jack Westbrook
30aa59179a
wip(e2e): disable trusted types - can it work with vite?
2025-03-03 09:43:29 +01:00
Jack Westbrook
a3f7e26220
feat(backend): add a frontendDevServer config setting
2025-03-03 09:43:29 +01:00
Jack Westbrook
9f8eb74d45
refactor(cypress): rename config files and imports to use cjs so cypress runs locally
2025-03-03 09:43:29 +01:00
Jack Westbrook
41d72308ae
test(webassets): update tests inline with vite manifests
2025-03-03 09:43:29 +01:00
Jack Westbrook
8fdd1f530d
wip(graph): update test snapshots
2025-03-03 09:43:28 +01:00
Jack Westbrook
447a65e09a
test(playwright): add createRequire for require.resolve usage
2025-03-03 09:43:28 +01:00
Jack Westbrook
2752ed52ff
style(typescript): fix errors from ts checks
2025-03-03 09:43:28 +01:00
Jack Westbrook
b56928bc89
chore(typescript): introduce vite client types
2025-03-03 09:43:28 +01:00
Jack Westbrook
ea1bc89872
build(plugins): align isolatedModules in plugin-configs with root tsconfig setting
2025-03-03 09:43:28 +01:00
Jack Westbrook
6b2f16ae9d
build(typescript): adjust config for typechecking
2025-03-03 09:43:27 +01:00
Jack Westbrook
8a3870f297
style(typescript): disable noUnusedLocals so typechecking doesnt complain about react imports
2025-03-03 09:43:27 +01:00
Jack Westbrook
4101d2adbf
chore(frontend): migrate stylelint and i18next-parser configs to esm
2025-03-03 09:43:27 +01:00
Jack Westbrook
b14f695bf7
test(gauge): fix failing test due to mock not working
2025-03-03 09:43:27 +01:00
Jack Westbrook
1a3a100de5
style: fix failing fe and be linting
2025-03-03 09:43:27 +01:00
Jack Westbrook
7c10280b7f
ci(levitate): migrate scripts to es modules
2025-03-03 09:43:26 +01:00
Jack Westbrook
c6cc559b5a
chore(packages): remove prepare packagejson script
2025-03-03 09:43:26 +01:00
Jack Westbrook
619ce4bb8b
chore(codeowners): add tsconfig.test.json to file
2025-03-03 09:43:26 +01:00
Jack Westbrook
bf053dc744
test(jest): refactor config/setup to work with Vite tsconfig changes
2025-03-03 09:43:26 +01:00
Jack Westbrook
886be61495
chore(codeowners): update based on changes in this branch
2025-03-03 09:43:25 +01:00
Jack Westbrook
7e924511b3
feat(vite): make production builds work
2025-03-03 09:43:25 +01:00
Jack Westbrook
f77294c268
chore(vite): bump related dependencies
2025-03-03 09:43:23 +01:00
Jack Westbrook
feff659957
chore(vite): put back previous assetsDir
2025-03-03 09:42:53 +01:00
Jack Westbrook
c7368baa30
feat(frontend): make enterprise work
2025-03-03 09:42:52 +01:00
Jack Westbrook
b89599a014
wip(grafana/ui): put back LayoutItemContext so vite builds
2025-03-03 09:40:34 +01:00
Jack Westbrook
ecc1fbdb54
chore(vite): add vite types to tsconfig
2025-03-03 09:40:34 +01:00
Jack Westbrook
024773f33d
feat(vite): align path is template vars in angular components
2025-03-03 09:40:34 +01:00
Jack Westbrook
b53f9e97f0
fix(icons): import svgs as strings using raw loader
2025-03-03 09:40:34 +01:00
Jack Westbrook
03960b45f8
feat(angular): fix up plugin for dev and prod, inline for prod builds
2025-03-03 09:40:33 +01:00
Jack Westbrook
a5a024610c
revert(app): undo commented out bundle_loaded to prevent flash of preload error
2025-03-03 09:40:33 +01:00
Jack Westbrook
d8531fcb44
chore(grafana-data): named imports for xss in sanitize.ts
2025-03-03 09:40:33 +01:00
Jack Westbrook
18064278c8
feat(vite): allow angular templates to build in dev and prod
2025-03-03 09:40:33 +01:00
Jack Westbrook
58b4ed1411
fix(betterer): make it work in an esm environment
2025-03-03 09:40:31 +01:00
Jack Westbrook
17bb5cec36
fix(jquery): make available globally and to plugins
2025-03-03 09:08:14 +01:00
Jack Westbrook
11b6a42bb6
fix(vite): escape angular template html and load as strings
2025-03-03 09:08:14 +01:00
Jack Westbrook
8ad543a486
chore(yarn): refresh lock file
2025-03-03 09:08:12 +01:00
Jack Westbrook
f20c275bc8
chore(app): wip: comment out iconCache and mock extensions import for vite to build
2025-03-03 09:07:53 +01:00
Jack Westbrook
44d534b80e
chore(angular): wip: comment out partials for now so vite build succeeds
2025-03-03 09:07:53 +01:00
Jack Westbrook
ca490c9ba1
build(vite): attempt to get angular partials loading with vite plugin
2025-03-03 09:07:53 +01:00
Jack Westbrook
c8996b2dd4
chore(routing): comment out tether-drop code so vite build succeeds
2025-03-03 09:07:53 +01:00
Jack Westbrook
9d8bcd636f
refactor(monaco): wip: update to load with vite worker support
2025-03-03 09:07:53 +01:00
Jack Westbrook
4c2ca3247d
chore(frontend): wip: comment out __webpack_public_path vars for build to succeed
2025-03-03 09:07:52 +01:00
Jack Westbrook
248fb12625
feat(vite): wip backend integration
2025-03-03 09:05:29 +01:00
Jack Westbrook
e2bacbc74a
refactor(sandbox): replace require with import
2025-03-03 09:05:29 +01:00
Jack Westbrook
8daeb1b8e3
chore(frontend): fix more jquery imports
2025-03-03 09:05:29 +01:00
Jack Westbrook
e7c65e61b8
chore(frontend): fix jquery imports
2025-03-03 09:05:28 +01:00
Jack Westbrook
c765ef878a
chore(package.json): use type: module, update scripts to run vite
2025-03-03 09:05:28 +01:00
Jack Westbrook
77412b96a7
build(vite): update config with aliases, entrypoint files, bind to ip4
2025-03-03 09:05:28 +01:00
Jack Westbrook
4a82103632
build(vite): up tsconfig and copy over configs from a create-vite app
2025-03-03 09:05:28 +01:00
Jack Westbrook
db6d3e458f
build(frontend): add vite npm packages
2025-03-03 09:05:25 +01:00
Jack Westbrook
18cbc6cd00
build(webpack): remove unused dev dependencies
2025-03-03 09:04:59 +01:00
Stephanie Hingtgen
2e7c28ccbc
Dashboard history: rename rudderstack variable ( #101182 )
2025-03-02 21:45:24 -07:00
grafana-pr-automation[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 Kilhed
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 Sorokin
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 Assis
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 Aguilar
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
Alexander Akhmetov
ae2074ef55
Alerting: Fix updating Prometheus definition in the metadata ( #101440 )
...
Initially, Metadata had only the EditorSettings, and HasMetadata was used to understand if the incoming update request had metadata in the body because it could be omitted if it was empty. For example, when the rule is updated via the provisioning API or has only false values. If it was in the request, we used that; if not, we used the metadata from the existing rule from the database. If the rule was updated via the AlertRuleService, we didn't change Metadata at all if the rule already existed.
But now, Metadata also has the Prometheus rule definition, and we always need to update it with the new version of the AlertRuleService when the rule exists in the DB and has the same UID. HasMetadata is renamed to HasEditorSettings to keep the old behaviour only for EditorSettings.
Now, the provisioning API and the conversion API will overwrite everything except EditorSettings with the new data.
2025-02-28 13:11:49 +02:00
Victor Marin
c6c5f44eeb
Remove menuShouldBlockScroll react-select flag ( #101450 )
...
revert 100950
2025-02-28 12:15:25 +02:00
renovate[bot]
520f46cb6d
Update babel monorepo to v7.26.9 ( #101447 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 09:52:42 +00:00
Karl Persson
d6b6a9da7b
FolderAPI: Use different authorizer for multi-tenant api ( #101372 )
...
Use different authorizers depening on if we are running multi-tenant or single-tenant
2025-02-28 10:10:32 +01:00
Ryan McKinley
5652e0b835
K8s/Dashboard/SQL: Support ascending order query ( #101363 )
2025-02-28 11:34:09 +03:00
renovate[bot]
d5ace043d6
Update Storybook updates ( #100502 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 08:41:02 +01:00
Marcus Andersson
ccc1477c7d
PluginExtensions: Migrate edit profile page to use new plugin components API ( #101346 )
...
* wip.
* Refactored page a bit.
* Fixed tests.
* Update public/app/features/profile/UserProfileEditTabs.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* Changed name.
* rename again.
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2025-02-28 07:28:01 +01:00
Ryan McKinley
806c043e45
UnifiedStorage: Rename Batch processing to Bulk ( #101413 )
2025-02-28 08:41:08 +03:00
aishyandapalli
1d2f271c95
VizTooltip: Pass maxHeight setting to Exemplar tooltips ( #100478 )
...
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com >
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2025-02-27 17:24:35 -06:00
Moustafa Baiou
bc4be187af
Alerting: Fix evaluation of rules with no-op math expressions
...
When you use a math expression with out any operators, the dataFrame pointer is identical between the expression result and the input query/expression.
This was resulting in the values returned from an evaluation overshadowing each other, depending on the order of the processing of the result map.
For example:
```
A: some_metric
B: reduce of A
C: math expression -> "${B}"
D: Threshold evaluation of C -> "C > 0"
```
With a value of 1 for `some_metric`, might result in a evaluation result of one of the following (somewhat at random):
1. { B: 1, D: 1 }
2. { C: 1, D: 1}
While you would expect to see:
{ B: 1, C: 1, D: 1 }
2025-02-27 17:04:18 -05:00
Matias Chomicki
d78c646f93
New Logs Panel: Log line menu ( #101060 )
...
* Create LogLineMenu component
* Fine tune icon width
* LogLineMenu: Add placeholder options
* utils: create reusable handleOpenLogsContextClick
* LogLineMenu: add callbacks to menu items
* LogListContext: create component
* LogList: use log list context to connect menu callbacks
* LogLine: add pinned style
* Remove unused imports
* LogLine: add unit test
* LogLine: add menu test case
* LogLineMenu: add unit test
* LogLineMessage: add unit test
* LogListContext: add unit test
* Remove unused code
* Extract translations
* Fix handleOpenLogsContextClick
* Chore: memoize styles
* Virtualization: update node used for underflow detection
* Use useStyles2 instead of manually memoizing
* Virtualization: export getter instead of variable
* Open context: move stopPropagation to the old panel code
* Logs: add new container class
2025-02-27 18:34:02 +02:00
Alexander Akhmetov
ef86582dfc
Alerting: API paths for cortextool to import Loki rules ( #101409 )
...
Alerting: Legacy rules paths for cortextool
2025-02-27 17:20:49 +01:00
Eric Leijonmarck
843d876f16
Anon: Deprecation notice for Editor, Admin anonymous org role usage ( #101411 )
...
* deprecation notice for anonymous org role usage
* exclude viewer
2025-02-27 15:34:15 +00:00
Peter Štibraný
908f4ff357
Use enterprise imports for pro builds as well. ( #101423 )
2025-02-27 17:33:26 +02:00
Jack Westbrook
9beaa3e1d1
CI: Update renovate storybook config ( #101424 )
...
ci(renovate): when bumping storybook always update package.json so e2e ci step runs
2025-02-27 17:30:21 +02:00
Kevin Minehart
2ec8b0b45b
CI: Create the frontend test workflow in GHA ( #101256 )
...
* Create the frontend test workflow
* Give .github/workflows/test-frontend to frontend platform group
* Remove file filter
* rename workflow
* frontend unit tests
* add yarn install
* update CODEOWNERS
* Run on 8 core machines?
* use parallelization?
* add sharding
* update package.json to allow sharding jest
* update workflow name
* yarn generate-apis
* update naming
2025-02-27 09:00:00 -06:00
Sonia Aguilar
98dd977fab
Alerting: Fix KeyValueMap input bug ( #101367 )
...
* fix KeyValueMap input bug
* add translations
2025-02-27 15:23:40 +01:00
Sonia Aguilar
980332ae75
Alerting: Fix exporting new rule with a new group ( #101404 )
...
Fix exporting new rule with a new group
2025-02-27 15:20:07 +01:00
Leonor Oliveira
f8b63c364b
[CodeQL] Fix wrong type conversion ( #101353 )
...
* [CodeQL] Fix wrong type conversion
* Use AtyoI
2025-02-27 15:18:02 +01:00
Leonor Oliveira
5e61ec1258
Prevent wrong type conversion ( #101349 )
2025-02-27 15:17:50 +01:00
Hugo Kiyodi Oshiro
7fc1caaf98
Plugins: Fix update button behavior on downgrade ( #101048 )
2025-02-27 15:14:20 +01:00
Oscar Kilhed
f54910342d
Dynamic dashboards: Add row repeat serialization/deserialization ( #100826 )
...
* add row repeat serialization/deserialization
* prettier
* Add tests for deserializing repeated rows. Also add tests for serilizing that was missing
2025-02-27 15:11:54 +01:00
Oscar Kilhed
21be5e3f45
Dynamic dashboards: Repeat responsive grid items ( #101291 )
...
* repeat responsive grid items
* fix stuff from feedback
* Simplify repeat dependency, fix locale stuff
2025-02-27 15:11:42 +01:00
Tom Ratcliffe
5eb3f3a3cb
Chore: Fix some import issues in alerting code ( #100962 )
2025-02-27 12:59:27 +00:00
Bogdan Matei
c7b526cf23
Dynamic Dashboards: Fix changing repeat option for panels in default grid ( #101300 )
2025-02-27 14:44:51 +02:00
Torkel Ödegaard
f79ce08e50
Dashboard: Outline using EditableElement interface ( #101076 )
2025-02-27 14:42:22 +02:00
Ezequiel Victorero
8a988d6b5a
Playlists: Add support for back button ( #101374 )
2025-02-27 09:14:37 -03:00
Alexander Akhmetov
d947433d19
Alerting: API to delete rule groups using mimirtool ( #100687 )
...
* Alerting: API to delete rule groups using mimirtool
2025-02-27 13:04:47 +01:00
Victor Marin
77305325c2
[Scopes]: Pass formatted scope filters to adhoc ( #101217 )
...
* pass formatted scope filters to adhoc
* fix
* fix
* fix scenario where we have equals and not-equals filters with the same key
* add canary packages for testing
* WIP
* refactor to pass all filter values
* rename property
* refactor
* update canary scenes
* update scenes version
* fix tests
* fix arg startProfile bug that arised with scenes update
2025-02-27 13:33:32 +02:00
renovate[bot]
2372508e9e
Update scenes to v6.1.4 ( #101402 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 13:25:30 +02:00
Karl Persson
c6a78978c3
ContextHandler: unexport cfg ( #101396 )
2025-02-27 12:03:03 +01:00
Oscar Kilhed
743991e302
Chore: Bump scenes to v6.1.3 ( #101370 )
...
* Bump scenes
* Fix profile name
2025-02-27 12:02:00 +01:00
Will Browne
8f465f1249
Plugins: Add confirmation modal for uninstalling updateable plugin ( #101297 )
...
* add confirmation modal for uninstalling updateable plugin
* shush betterer
* refactor with master Levi
* update betterer
* update name
2025-02-27 10:56:25 +00:00
Jack Baldry
a669e004ae
Add GitHub Actions workflow for feature toggle tests ( #101270 )
...
ci: Add GitHub Actions workflow for feature toggle tests
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2025-02-27 10:47:39 +00:00
Matias Chomicki
03dcd25a32
New Logs Panel: Displayed fields support ( #100643 )
...
* LogList: add displayedFields and getFieldLinks props
* Render displayed fields
* LogLine: rename function
* Refactor log dimensions
* Generate styles in parent component
* Log List: implement tabular unwrapped logs
* Rename class
* Log line: center fields
* Parametrize field gap
* Virtualization: update measurement to support displayed fields
* Shorten visible level
* Do not calculate dimensions when logs are wrapped
* Logs Navigation: fix width when flag is enabled
* Pass styles to LogLineMessage
* Formatting
* Fix unwrapped logs when showTime is off
* LogLine: update css selectors for fields
2025-02-27 12:31:55 +02:00
Ryan McKinley
58457d41d3
K8s/DualWriter: Remove legacy interface ( #101395 )
2025-02-27 13:27:28 +03:00
ismail simsek
b16904651f
Chore: Bump grafana-plugin-sdk-go to v0.267.0 ( #101376 )
...
* bump grafana-plugin-sdk-go to v0.267.0
* make update-workspace
2025-02-27 11:13:58 +01:00
grafana-pr-automation[bot]
9ad01fda64
I18n: Download translations from Crowdin ( #101387 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-27 11:59:44 +02:00
Hugo Kiyodi Oshiro
e8e79e9c79
Plugins: Fix version tab breaking for non semantic version ( #101225 )
2025-02-27 09:16:00 +01:00
Adela Almasan
22a6dc6b52
Canvas: Fix no series timestamp ( #101390 )
2025-02-27 04:36:09 +02:00
Isabel Matwawana
c605e4557d
Docs: add Actions cell type for table ( #101380 )
2025-02-26 19:37:51 -05:00
Isabel Matwawana
e0a4a69c2e
Docs: Add actions to visualizations ( #100684 )
2025-02-26 18:35:30 -05:00
Adela Almasan
2b0029267c
Actions: Remove vizActions feature toggle ( #100309 )
2025-02-27 01:15:01 +02:00
Adela Almasan
4c021aac7a
Table: Remove actions from context menu ( #101318 )
2025-02-26 14:51:10 -06:00
Yuri Tseretyan
32fde6dba4
Alerting: Update scheduler to provide full specification to rule update channel ( #101375 )
...
update scheduler's aler rule to accept regular Evaluation in update channel
This makes it accept the full rule definition, which is required in reset state.
2025-02-26 14:39:39 -05:00
Sven Grossmann
b5faf5d9a1
Drilldown: Require datasources:explore RBAC action ( #101366 )
...
Drilldown: Require `datasources:explore` acton
2025-02-26 17:33:05 +01:00
Gabriel MABILLE
c3505f0864
AuthZ: Make NewGrpcTokenAuth public ( #101352 )
...
* AuthZ: Expose NewGrpcTokenAuth
* Lint
2025-02-26 17:29:32 +01:00
Matias Chomicki
6614f5c3b2
Log Context: Unify pinnedLogs and pinnedRowId props ( #101067 )
2025-02-26 17:08:20 +01:00
Georges Chaudy
8c935c8f4a
[unistore] Add benchmark for write throughput ( #101345 )
...
* Add generic benchmark
* address comments
2025-02-26 17:17:35 +02:00
Gilles De Mey
4270bf742a
Alerting: Fix label overflow for history common labels ( #101343 )
2025-02-26 15:57:32 +01:00
Christopher Moyer
70181997b5
docs/clarifies name of connection tile ( #101361 )
...
clarifies name of connection tile
2025-02-26 08:55:27 -06:00
Ryan McKinley
8f37822050
Unified/Blob: Allow direct access to UIDs ( #101339 )
2025-02-26 16:18:59 +02:00
Andreas Christou
d009795f1a
Graphite: Handle graphite series' with spaces ( #101231 )
...
* Handle graphite series' with spaces
- Correctly type series response
- Handle series names with spaces
* Fix lint
* Remove redundant block
2025-02-26 16:01:26 +02:00
Eric Leijonmarck
4ce41acade
Authz: Removes setting viewers_can_edit ( #101265 )
...
* Removes setting `viewers_can_edit`
* Update public/app/features/dashboard-scene/scene/NavToolbarActions.tsx
Co-authored-by: Jo <joao.guerreiro@grafana.com >
* formatting
---------
Co-authored-by: Jo <joao.guerreiro@grafana.com >
2025-02-26 13:41:23 +00:00
maicon
c873d975a4
Set Query Title when searching folder by title ( #101169 )
...
* Set Query to Title when serching folder by title
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-02-26 09:57:12 -03:00
Gareth Dawson
af0e388622
Jaeger: run metadata requests through the backend ( #100337 )
...
* run metadata requests throught the backend
* fix tests
* add tests to backend
* fix lint
2025-02-26 19:36:46 +07:00
Laura Fernández
fcdbb5887d
Internationalization: mark up some grafana-ui components for translation ( #101303 )
2025-02-26 12:41:27 +01:00
Ashley Harrison
d7a081e3a1
Theme: Add ThemePreview component ( #101287 )
...
* ThemeDrawer: Change theme from anywhere and preview them
* Update
* extract ThemePreview into it's own component
* undo changes everywhere else
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2025-02-26 11:38:13 +00:00
Georges Chaudy
4391fac135
unistore: add spanner to go.mod ( #101143 )
...
* Add spanner dependency
* Update go.mod, go.sum.
* Assign owner to spanner dependency, clean up directives.
* Rerun go mod tidy.
---------
Co-authored-by: Peter Štibraný <pstibrany@gmail.com >
2025-02-26 13:34:50 +02:00
Gilles De Mey
fe2beead15
Alerting: Fix alert rule loading states v2 ( #100747 )
2025-02-26 13:23:54 +02:00
Alexander Akhmetov
af7fafd03a
Alerting: Add rule group name to the rule title when converting Prometheus rules ( #101310 )
...
Alerting: Add alert rule name to the title when converting Prometheus rules
2025-02-26 11:52:21 +01:00
Peter Štibraný
4e118bc6ad
Imports required for Grafana Enterprise are only included when building enterprise version. ( #101341 )
2025-02-26 11:38:24 +01:00
Gilles De Mey
6aa353cde6
Alerting: Fix notification templates layout ( #101232 )
2025-02-26 11:11:49 +01:00
Konrad Lalik
9406830a94
Alerting: Fix passing time range to query components ( #101041 )
...
Add range prop to QueryEditorRow, pass range from QueryWrapper
2025-02-26 11:07:06 +01:00
Bruno Abrantes
03de7cbbf1
Moves remaining labels from old backend platform project to new projects ( #100435 )
2025-02-26 10:00:07 +01:00
Karl Persson
fa74d1c36d
Authn: Sync authlib and update how we construct authn client interceptor ( #101124 )
...
* Sync authlib and update how we construct authn client interceptor
* Remove namespace from checker
2025-02-26 09:22:09 +01:00
Jev Forsberg
a7ecb19c31
Chore: Update base alpine docker image ( #101320 )
...
* baldm0mma/ update base image arg
* baldm0mma/ update alpine image
* baldm0mma/ skip failing test
* baldm0mma/ specifiy patch
* baldm0mma/ flaky test?
2025-02-25 16:23:28 -07:00
Yuri Tseretyan
2681a93b47
Fix permissions for Update Alerting Module action ( #101223 )
...
* add id-token permission
* use alerting-team app
2025-02-25 15:05:29 -05:00
Adela Almasan
cd7a1d515c
Canvas: Fix oneClick migration ( #101311 )
2025-02-25 13:54:07 -06:00
Eric Leijonmarck
4538c8cad9
DS proxy: Remove ft datasourceProxyDisableRBAC and logic ( #101239 )
...
delete ft datasourceproxy
2025-02-25 17:30:58 +00:00
Ben Sully
142a100915
fix(timeseries): allow annotations without color/isRegion/timeEnd ( #101301 )
2025-02-25 17:07:17 +00:00
Adela Almasan
bc00462875
Table: Enable actions option ( #101069 )
2025-02-25 10:52:06 -06:00
Georges Chaudy
53e91fd5e8
unistore: close event stream on context cancelation ( #101293 )
...
* add tests for broacaster
* fix sql notifier not closing the stream
* fix sql notifier not closing the stream
* close sub
* fix broadcaster test
* fix broadcaster test
* suggestion
2025-02-25 08:28:31 -08:00
Matias Chomicki
c5250311fc
Logs: Re-run Loki queries in Explore when direction and sort order are changed ( #99994 )
2025-02-25 16:06:48 +01:00
Andreas Christou
1302ee48b9
OpenTSDB: Support v2.4 ( #100673 )
...
* Add version 2.4 to frontend
* Update settings and types
- Set all properties on backend for consistency
* Update query logic to parse new and old format
- Minor naming updates
- Extract logic for initial frame creation
- When parsing old api responses, ensure data is in ascending order
- Update tests
* Update docs and provisioning file
* Fix lint
* Update docs/sources/datasources/opentsdb/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
* Update docs/sources/datasources/opentsdb/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
* Review nit
---------
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
2025-02-25 16:59:58 +02:00
Alexander Akhmetov
6eb335a8ce
Alerting: API to read rule groups using mimirtool ( #100674 )
2025-02-25 15:49:08 +01:00
Isabella Siu
d83db31a23
Elasticsearch: Replace level in adhoc filters with level field name ( #100315 )
...
Elasticsearch: replace level in adhoc filters with level field name
2025-02-25 09:16:55 -05:00
Karl Persson
c1d9d4d15a
User: Handle unique constraints errors ( #101274 )
...
* Handle unique constraints errors
2025-02-25 15:06:25 +01:00
Torkel Ödegaard
8d7108d774
Dashboard: Add new elements logic ( #101162 )
2025-02-25 15:03:29 +01:00
Leon Sorokin
2e78bcfb41
Transformations: Add round() to Unary mode of Add field from calc ( #101295 )
2025-02-25 15:50:32 +02:00
Gabriel MABILLE
f3433fd472
RBAC: Remove accessControlOnCall feature toggle ( #101222 )
...
* RBAC: Remove accessControlOnCall feature toggle
* Leave the other one in place
* Tests
* frontend
* Readd empty ft to frontend test
* Remove legacy RBAC check
* Fix test
* no need for context
* Remove unused variable
* Remove unecessary param
* remove unecessary param from tests
* More tests :D
2025-02-25 13:44:40 +01:00
Will Assis
1a65154e74
fix (unified-storage): Fix error when trying to get parents of folder as a viewer ( #101245 )
...
* Fix error when trying to get parents of folder as a viewer with unified-storage enabled
2025-02-25 14:38:32 +02:00
Andres Martinez Gotor
ce8a874bf0
Advisor: Preinstall app plugin if enabled ( #101289 )
2025-02-25 13:37:41 +01:00
Oscar Kilhed
df99c92823
Dashboards: Disable flaky import dashboard test in old architecture. ( #101282 )
...
disable flaky test
2025-02-25 13:44:11 +02:00
antonio
87a4034332
docs: link to tutorial from docs ( #101277 )
...
* docs: link to tutorial from docs
* missing part of url
2025-02-25 12:13:16 +01:00
Ieva
bfabe2ce82
Ks8/Folders: Fix status codes returned on GET ( #101237 )
...
return the correct status code for folder fetching failures
2025-02-25 11:07:27 +00:00
Pepe Cano
2585fec99e
Alerting: Clarify that the AWS SNS subject field cannot be empty ( #100780 )
...
* Alerting: Clarify that the AWS SNS subject field cannot be empty
* minor copy change
2025-02-25 12:06:38 +01:00
Jack Baldry
305f05d852
Use version 2 of the deploy preview workflow ( #101266 )
...
* Use v2 deploy preview
Supports building with multiple documentation sources together.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Lint a file
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2025-02-25 10:47:46 +00:00
Andres Martinez Gotor
120b277664
Advisor: Cloud fixes ( #101136 )
2025-02-25 11:41:44 +01:00
Alexander Akhmetov
03e94e7a3e
Alerting: Update grafana/alerting ( #101215 )
...
* Update grafana/alerting from 9d7e00921e44 to 2acbeef29642
* Change the package for the TLSClient
* Fix TestContactPointFromContactPointExports test
2025-02-25 11:32:28 +01:00
Alexander Akhmetov
b641fd64f9
Alerting: API to create rule groups using mimirtool ( #100558 )
...
What is this feature?
Adds an API endpoint to create alert rules with mimirtool:
- POST /convert/prometheus/config/v1/rules/{NamespaceTitle} - Accepts a single rule group in a Prometheus YAML format and creates or updates a Grafana rule group from it.
The endpoint uses the conversion package from #100224 .
Key parts
The API works similarly to the provisioning API. If the rule does not exist, it will be created, otherwise updated. Any rules not present in the new group will be deleted, ensuring the group is fully synchronized with the provided configuration.
Since the API works with namespace titles (folders), the handler automatically creates a folder in the root based on the provided title if it does not exist. It also requires a special header, X-Grafana-Alerting-Datasource-UID. This header specifies which datasource to use for the new rules.
If the rule group's evaluation interval is not specified, it uses the DefaultRuleEvaluationInterval from settings.
2025-02-25 11:26:36 +01:00
Josh Hunt
e78136c568
Navigation: Send isNew flag in grafana_navigation_item_clicked events ( #101209 )
2025-02-25 10:17:02 +00:00
Matheus Macabu
3aedb9159e
Chore: Update golang.org/x/crypto and golang.org/x/ouath2 to address security issues ( #101268 )
...
- CVE-2025-22869 and Go issue https://go.dev/issue/71931 .
- CVE-2025-22868 and Go issue https://go.dev/issue/71490 .
2025-02-25 11:15:41 +01:00
Josh Hunt
bceddd78a8
Navigation: Revert new items auto-expanding ( #101230 )
2025-02-25 09:59:13 +00:00
grafana-pr-automation[bot]
00f51f8b76
I18n: Download translations from Crowdin ( #101260 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-25 11:34:26 +02:00
Marcus Andersson
7773c658bb
PluginExtensions: Start using new APIs for datasource config extensions point ( #101139 )
2025-02-25 09:17:17 +01:00
Jack Westbrook
eca045bc11
Build: Reduce repetition in rollup configs ( #93916 )
...
* build(packages): add extendable pieces of rollup config
* build(packages): rewrite rollup configs to make use of extendable parts
2025-02-25 09:11:09 +01:00
nbav12
047136c830
Docs: Change link title ( #101043 )
...
Update _index.md
Proposal to change the link title (also the relref behind, respectively). At the sidebar, under: Set up > Install Grafana - there is a link with the title "RHEL or Fedora". Just to be uniform...
2025-02-25 09:11:00 +01:00
nbav12
43ef27e17e
Update dashboard.md ( #101190 )
...
Typo
2025-02-25 09:10:51 +01:00
jackyin
24f9126cdf
Interval variable: Fix $__auto value behavior ( #100479 )
2025-02-24 21:53:51 -07:00
Jean-Philippe Quéméner
9282e4cad4
fix(unified-storage): don't use in-process if db type is not set ( #101254 )
2025-02-24 21:44:42 +01:00
Ryan McKinley
e482c037bf
Chore: Update drone promote support ( #101241 )
2025-02-24 20:36:13 +02:00
Johnny Kartheiser
9073f1a525
docs: document new alerting threshold operators ( #101013 )
...
* docs: document new alerting threshold operators
adding new operators to alerting docs
Equal
Not Equal
Greater or Equal
Less or Equal
Within Range Inclusive
Outside Range Inclusive
* cAPITALIZATION fIX
* Update docs/sources/alerting/fundamentals/alert-rules/queries-conditions.md
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rules/queries-conditions.md
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rules/queries-conditions.md
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
* Update queries-conditions.md
matching with ui
---------
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2025-02-24 12:17:13 -06:00
Kristina
a01ab790c0
Panel Edit: Add Annotations data ( #101149 )
...
* Add annotations data to panel editor
* Add tests for getVisualizationOptions2
* Add annotation check to test
2025-02-24 11:52:12 -06:00
Ashley Harrison
a2b805ba17
Chore: add new FeatureState ( #101228 )
...
add new featurestate
2025-02-24 17:15:51 +00:00
renovate[bot]
9c940c67ed
Update dependency react-inlinesvg to v4.2.0 ( #98968 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 17:15:23 +00:00
Saroj C. Mohanty
ffa6db7a5e
TimeRange: Fix spelling in comment ( #100553 )
...
fixing spelling
2025-02-24 16:37:15 +00:00
Joey
6348031de1
NodeGraph: Fix for dangling edge lines ( #100866 )
...
* Make sure edge line has a unique key
* Update keys
2025-02-24 16:23:56 +00:00
Georges Chaudy
e13bd52da6
unistore: move continue to the resource package ( #101206 )
...
* minor improvements to tests
* move continue token
* update sql backend
2025-02-24 18:02:30 +02:00
Karl Persson
74632a25c3
Authz: folder api tls settings ( #101213 )
...
* Skip certificate verification
* Add more settings for folder api
2025-02-24 16:03:14 +01:00
Santiago
b58d616495
Alerting: Handle err-mimir-max-label-names-per-series as a user error in the prom writer ( #101214 )
2025-02-24 15:43:19 +01:00
Agnès Toulet
608d974585
Rendering: Stop preloading apps for rendering requests ( #100221 )
...
* Rendering: stop preloading apps
* add feature toggle
* add comment
* add const
* fix linter
* rename feature toggle
* delete old ff
* update toggles_gen.json
2025-02-24 15:43:06 +01:00
jackyin
ec14822dd0
Panel: Histogram tooltip unit unexpected show ( #100163 )
...
* unit unexpected show
* format
* Build display in while building the counts, and remove the post processing iteration over the counts.
---------
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com >
2025-02-24 07:45:32 -06:00
Laura Fernández
19789cf5f8
Combobox: use useOptions ( #100604 )
2025-02-24 13:12:56 +01:00
Sonia Aguilar
9f00e086e4
Alerting: Use uid instead of id in AnnotationsStateHistory ( #101207 )
...
Use uid instead of id in AnnotationsStateHistory
2025-02-24 14:10:23 +02:00
Gilles De Mey
10b4868d91
Alerting: Use RTKQ for fetching folder information ( #100645 )
2025-02-24 12:26:17 +01:00
Oscar Kilhed
01b57f412f
Dashboards: WeekStart is now of type WeekStart | undefined instead of string ( #101123 )
...
* change weektype from string to WeekStart | undefined
* Change to WeekStart in more places, fix lint
* change in more places
* More weekstart changes
* fix snapshot, update betterer
* keep weekstart as '' in test dashboards to make sure it doesn't break old dashboards
2025-02-24 11:35:55 +01:00
Tom Ratcliffe
5d57236a0c
Alerting: Add webhook timeout option for upstream alertmanagers ( #101154 )
2025-02-24 10:00:22 +00:00
Piotr Jamróz
0bbb6ab947
Explore: Make Drilldowns box dismissible ( #101193 )
2025-02-24 10:40:31 +01:00
Mariell Hoversholm
279b641469
Provisioning: Define large parts of our infrastructure ( #101029 )
...
* Provisioning: Define secrets service
* Provisioning: Create and store secrets service
* Provisioning: Define safepath
* Provisioning: Define the repository
* Identity: Support a provisioning service
* Provisioning: Define a job queue
* Chore: Regen code
* Provisioning: Show progress more often
Co-Authored-By: Ryan McKinley <ryantxu@gmail.com >
* Provisioning: Rename hash field to lastRef
Co-Authored-By: =?UTF-8?q?Roberto=20Jim=C3=A9nez=20S=C3=A1nchez?= <roberto.jimenez@grafana.com >
* Provisioning: Workflows as write access
Co-Authored-By: Ryan McKinley <ryantxu@gmail.com >
* Provisioning: Regen OpenAPI snapshot
* Provisioning: Update tests to match new fields
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: =?UTF-8?q?Roberto=20Jim=C3=A9nez=20S=C3=A1nchez?= <roberto.jimenez@grafana.com >
2025-02-24 09:08:58 +01:00
Domas
8f9972a509
Histogram: Handle multiple native histograms ( #98404 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2025-02-24 07:00:18 +02:00
grafana-pr-automation[bot]
48029e2ed9
I18n: Download translations from Crowdin ( #101181 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-23 02:42:34 +02:00
Torkel Ödegaard
6d7147c38d
Dashboard: Edit pane tabs ( #101145 )
...
* Dashboard: Edit pane tabs
* update design
* Added translation elements
* Update
* Update
* Update
* Fix css issue
* Update
2025-02-22 14:15:26 +01:00
Alexander Akhmetov
9dac0c9eeb
Alerting: Add math node to the converted Prometheus rules ( #101097 )
2025-02-22 12:36:58 +01:00
Alexander Akhmetov
5a6d9a99f3
Alerting: Generate stable UIDs for alert rules in Prometheus conversion ( #100973 )
2025-02-22 11:06:42 +01:00
Torkel Ödegaard
436dc86a09
TabsLayout: Implements url sync and removes double scene object reference ( #101115 )
...
* TabsLayout: Implementts url sync and removes double scene object reference
* Do not allow removing last tab
* Update public/app/features/dashboard-scene/scene/layout-tabs/TabsLayoutManager.tsx
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
* Update public/app/features/dashboard-scene/scene/layout-tabs/TabsLayoutManager.tsx
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
* Update
---------
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2025-02-22 11:06:29 +01:00
Yuri Tseretyan
ba352af663
Alerting: Github Action to update alerting module ( #100999 )
2025-02-21 18:46:03 -05:00
Kim Nylander
95b88e592d
[DOC] Add shared note for Explore app rename to Drilldown ( #101166 )
2025-02-21 17:19:54 -05:00
Yuri Tseretyan
bbeae46105
Alerting: Fix rule state history with annotations backend ( #101174 )
...
* add alertUID to annotations API query parameter
* update state history UI to fetch rule by UID
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-02-21 23:08:40 +02:00
William Wernert
c33e908baf
Alerting: Update alerting package to include SNS fix ( #101177 )
...
* Update alerting package to include sns fix
* Update workspace
2025-02-21 16:02:39 -05:00
Dave Henderson
9f9c248766
chore(deps): Remove unreferenced goavro dependency ( #101171 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2025-02-21 21:10:38 +02:00
Larissa Wandzura
9780a9c49f
Docs: Overhaul of PostgreSQL data source documenation ( #99908 )
...
* created new topic docs
* added info to config doc
* updates to config doc
* updates to config doc
* finished config doc
* updated Query editor doc
* final edits
* rename, ref URI work
* a few more updates prior to PR issue
* fixed the double Macros heading issue
* final edits and cleanup
* edits based on feedback
* ran prettier
* added updates
* updates based on feedback
* vale linter issues
* more vale linting issues addressed
* small addition on main page
* ran prettier again
* changed title
* Update docs/sources/datasources/postgres/query-editor/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/postgres/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/postgres/configure/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/postgres/configure/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/postgres/query-editor/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/postgres/configure/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/postgres/configure/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/postgres/configure/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* changed Grafana's
* added changes
* Update docs/sources/datasources/postgres/query-editor/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/postgres/query-editor/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/postgres/query-editor/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/postgres/query-editor/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/postgres/query-editor/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* ran prettier again
* Remove aliases
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Fix link
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Put code in `code`
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Avoid bold for emphasis
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Fix link
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2025-02-21 13:09:04 -06:00
dependabot[bot]
bfc2347799
Bump github.com/go-sourcemap/sourcemap from 2.1.3+incompatible to 2.1.4+incompatible ( #98639 )
...
Bump github.com/go-sourcemap/sourcemap
Bumps [github.com/go-sourcemap/sourcemap](https://github.com/go-sourcemap/sourcemap ) from 2.1.3+incompatible to 2.1.4+incompatible.
- [Commits](https://github.com/go-sourcemap/sourcemap/compare/v2.1.3...v2.1.4 )
---
updated-dependencies:
- dependency-name: github.com/go-sourcemap/sourcemap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-21 13:04:21 -05:00
Yuri Tseretyan
d1dfa0576b
Alerting: Support Jira Integration ( #100480 )
2025-02-21 12:51:38 -05:00
Paulo Dias
2d2e595555
Alerting: Add multiple threshold operators ( #99516 )
...
The following operators are being added:
- Equal
- Not Equal
- Greater or Equal
- Less or Equal
- Within Range Inclusive
- Outside Range Inclusive
2025-02-21 19:11:16 +02:00
Ezequiel Victorero
6ebde0481e
Revert "Dashboard: Playlist - Fix issue with back button " ( #101163 )
...
Revert "Dashboard: Playlist - Fix issue with back button (#99401 )"
This reverts commit 73e3b04565 .
2025-02-21 14:01:30 -03:00
Laura Fernández
f5e60b5abb
UnifiedHistory: Take locale into account in the time format ( #101161 )
2025-02-21 17:46:14 +01:00
Ashley Harrison
ffb8ef850b
Chore: fix some pages on mobile ( #101159 )
...
fix some pages on mobile
2025-02-21 16:11:32 +00:00
Todd Treece
9e80b0f913
K8s: Add error to GetRestConfig ( #101147 )
...
K8s: Add error to RestConfigProvider return values
2025-02-21 18:07:13 +02:00
Laura Fernández
2010c66108
UnifiedHistory: add event tracking ( #100975 )
2025-02-21 17:01:18 +01:00
ismail simsek
c28ce47157
Prometheus: Fix setting utcOffset when absolute time range is used ( #101065 )
...
set utcOffset as 0 when absolute time range is used
2025-02-21 16:26:56 +01:00
Syerikjan Kh
de0682521d
Feat: OSS connections page state filter and update all added ( #100688 )
...
* feat: OSS connections page state filter and update all added
* fix: use combobox instead of select
* fix: show no updates available text
* ref: extract update all button to a component
2025-02-21 10:16:45 -05:00
Todd Treece
66bad69e00
K8s: Add not found handler ( #100893 )
2025-02-21 09:35:55 -05:00
Nick Richmond
10c6f1878e
Docs: Show exploreMetricsRelatedLogs feature toggle in docs ( #101106 )
...
docs: show `exploreMetricsRelatedLogs` feature toggle in docs
2025-02-21 09:31:16 -05:00
Ashley Harrison
60217d8dfd
Drawer: undeprecate scrollableContent ( #100998 )
...
* update Drawer
* fix unit tests
* update comment
2025-02-21 14:26:32 +00:00
Georges Chaudy
40d1677265
unistore: improve storage backend integration tests ( #101134 )
...
* Add Stats tests
* Add integration tests for getstats
* fix signature
2025-02-21 15:06:23 +01:00
Robby Milo
837491b0cb
Fix broken link(s) ( #101142 )
...
fix broken WSL link
2025-02-21 05:57:12 -08:00
Sonia Aguilar
2eaada17db
Alerting: Track if new gm rules are created with queries and expressions transformable to simple mode ( #101121 )
...
track if new gm rules are created with queries and expressions transformable to simple mode
2025-02-21 14:50:29 +01:00
Matheus Macabu
77350ce84f
CloudMigrations: Address CodeQL issue on unsanitized request params ( #101125 )
2025-02-21 14:29:52 +01:00
Matheus Macabu
35b218fe10
Chore: Bump glog in pkg/codegen to v1.2.4 to fix vulnerability ( #101126 )
...
Chore: Bump glog pkg/codegen to v1.2.4 to fix vulnerability
2025-02-21 14:28:21 +01:00
Torkel Ödegaard
5a0dbf3b4d
DynamicDashboards: Fixes issue with data links not working ( #100974 )
...
* DynamicDashboards: Fixes issue with data links not working
* Update
* Update public/app/features/dashboard-scene/edit-pane/DashboardEditPaneSplitter.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com >
* simplify fix
---------
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com >
2025-02-21 13:23:28 +01:00
Todd Treece
3992ac2ac1
Dashboard: Multi-version builder ( #100305 )
2025-02-21 06:50:29 -05:00
Jean-Philippe Quéméner
7be1fd953a
fix(unified-storage): enable in-process events for single-instance ( #100807 )
2025-02-21 12:25:35 +01:00
Eric Leijonmarck
a112ef6467
Authz: Add deprecation notice for settings viewers_can_edit and editors_can_admin ( #100947 )
...
* deprecate settings viewers_can_edit editors_can_admin
* add back variables for tests
* delete the files from cached in gti
2025-02-21 11:17:11 +00:00
Edward Qian
6eca5c09df
Prometheus: Remove query assistant and related components ( #100669 )
...
* remove query assistant related components
* remove export statement
* remove grafana/llm from prometheus packages
* remove extra package
* revert unintended change
* incorrect handling of managedPluginsInstall merge deletion
* update yarn.lock
* linting fix
* linting fix
2025-02-21 11:33:12 +01:00
Victor Marin
f0f8bb890c
Remove menuShouldBlockScroll react-select flag ( #100950 )
...
remove select flag - menuShouldBlockScroll
2025-02-21 12:03:25 +02:00
Eric Leijonmarck
5974c197cb
Settings: Updating docs for removal of settings ( #100956 )
...
* wip
* linting
* update word
2025-02-21 08:57:01 +00:00
Carl Bergquist
79c0e5e3ec
scopes: moves scopes to enterprise ( #100746 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2025-02-21 08:51:34 +01:00
Gabriel MABILLE
0290da6aaa
AccessControl: Allow plugin roles to include plugins:write ( #101089 )
2025-02-21 08:23:04 +01:00
Charandas
33eca9e6fb
aggregation: fix config.ini reading of the new bool ( #101099 )
2025-02-21 04:29:40 +02:00
grafana-pr-automation[bot]
0209d71948
I18n: Download translations from Crowdin ( #101109 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-21 02:30:29 +02:00
Carl Bergquist
a8c5252a83
featureflags: reaplces explore with drilldown in descriptions ( #101101 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2025-02-20 23:11:39 +02:00
Isabel Matwawana
18e54a9974
Docs: Add cron option for time regions ( #101021 )
2025-02-20 15:53:23 -05:00
Leon Sorokin
59280d5242
Time regions: Add option for cron syntax to support complex schedules ( #99548 )
...
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com >
2025-02-20 14:50:32 -06:00
maicon
2e82ac0cc1
Unistore: keep current dual writing mode when unable to run data syncer at bootstrap ( #100852 )
...
* Unistore: keep current dual writing mode when unable to run data syncer at bootstrap
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-02-20 17:43:36 -03:00
Jack Baldry
ab754bc6bd
Rename Explore Apps to App Drilldown ( #101096 )
2025-02-20 19:14:02 +00:00
Kevin Minehart
49e5f77dd1
CI: Remove unused release_publisher scripts ( #101019 )
...
* Remove the unused `release_publisher` script.
* Remove the "whats new check" in Drone.
* Automatically set the What's New URL in releases based on the tagged version.
2025-02-20 12:00:15 -06:00
Andre Pereira
e54149e551
Explore: Move drilldown apps from Explore to a new navbar item "Drilldown" ( #100409 )
...
* Move drilldown apps from Explore to a new navbar item "Drilldown"
* Commit make i18n-extract
* Update drilldown icon
* Added alert to explore with call out to drilldown apps
* Add isNew field for nav item which shows a "New!" badge on the navbar and expands it by default
* Fix e2e test
2025-02-20 17:56:55 +00:00
Todd Treece
2313eca636
Chore: Update local go dependencies ( #101088 )
2025-02-20 12:55:28 -05:00
Matthew Jacobson
b78a63b0ad
Alerting: Use new image TokenProvider and send image url in annotation ( #99989 )
...
* Send new annotation containing image url
* Use new image TokenProvider with TokenStore
New abstraction GetImage no longer needs to support parsing both token and
url from annotations, as remote AM will use the new URLProvider. Instead, we
use the new generic TokenProvider and give it a TokenStore backed by the
grafana database.
That means we revert back to always using token simplifying code and security
considerations.
* Upgrade grafana/alerting to merged commit SHA
2025-02-20 12:47:40 -05:00
Matthew Jacobson
b1b5b4766c
Alerting: Sanitize Slack image upload comment labels ( #101084 )
...
* Alerting: Sanitize Slack image upload comment labels
upgrades grafana/alerting to d43046
2025-02-20 12:22:04 -05:00
Vardan Torosyan
801ffea206
Docs: Passwordless auth is not available in cloud ( #100825 )
...
* Docs: Passwordless auth is not available in cloud
* Update index.md
---------
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2025-02-20 12:07:31 -05:00
Kat Yang
95c05a1df9
MetricsDrilldown: Update name of queryless metrics experience ( #100675 )
...
* Chore: Update copy and comments to refer to Metrics Drilldown
* chore: replace explore-metrics with metrics-drilldown in api.ts
* chore: replace explore-metrics with metrics-drilldown in a
pi.test.ts
* chore: rename remaining instances in /public/app/features/trails
* Update public/app/features/trails/Integrations/dashboardIntegration.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* Update public/app/features/trails/Integrations/dashboardIntegration.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
2025-02-20 12:02:14 -05:00
beejeebus
9de769318c
Add more errorsource attribution to InfluxDb datasource ( #100969 )
...
This PR adds errorsource attribution to the influxql and flux query paths
when the query model cannot be parsed, which is a user error.
It also catches cases where the datasource configuration does not
contain a scheme or host, and adds downstream attribution to those
errors.
Error handling on the influxql query path is updated to match 'all errors
are per query, and stashed on the response object' pattern.
Fixes https://github.com/grafana/oss-plugin-partnerships/issues/1250
2025-02-20 11:53:28 -05:00
Will Assis
c8d4ff28a4
fix(unified-storage): dashboards not persisting folder_id with unified storage ( #100844 )
...
* fix dashboards not persisting folder_id with unified storage
2025-02-20 11:47:08 -05:00
Peter Štibraný
b4c4b9abbd
Remove embedded WriteEvent from WrittenEvent struct, to avoid having unnecessary fields. ( #101081 )
2025-02-20 17:34:25 +01:00
Georges Chaudy
6e5de80ef2
unistore: refactor the storage backend test suite ( #101061 )
...
* refactor the storage backend test suite
* move testing
* pass a newBackendFunc
2025-02-20 16:43:26 +01:00
Eric Leijonmarck
53bc06ef41
LBAC: Remove reference for feature toggle ( #101074 )
...
missed reference for feature toggle
2025-02-20 15:36:12 +00:00
Jean-Philippe Quéméner
e83f4fca1e
feat(unified-storage): add some basic retry logic for the grpc client ( #101001 )
2025-02-20 16:17:50 +01:00
Carl Bergquist
522e75c750
build: runs codegen on enterprise apis as well ( #101057 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2025-02-20 18:11:16 +03:00
Karl Persson
14886410d6
Zanzana: Use shared auth interceptor for zanzana and pass tracer ( #100968 )
...
* Use shared auth interceptor for zanzana and pass tracer
2025-02-20 16:07:06 +01:00
Will Assis
74e621f377
fix(unified-storage): "sharedwithme" search in legacy modes returns everything ( #101054 )
...
* fix "sharedwithme" search returning everything when user does not have any shared dashboards
2025-02-20 09:53:06 -05:00
xavi
e36c9220f9
IAM: fix grafana_com OAuth connector config overriding ( #101066 )
2025-02-20 15:39:03 +01:00
Marcus Andersson
c969a7251e
PluginExtensions: Fixed so we expose the proper types for usePluginComponents ( #100949 )
...
* Fixed usage of incorrect type in the 'usePluginComponents' hook.
* improved betterer.
* Changed import path of usePluginLinks types.
* improved betterer result.
2025-02-20 15:22:27 +01:00
Matthew Jacobson
68ce949fff
Alerting: Fix token-based Slack image upload to work with channel names ( #100988 )
...
Upgrades grafana/alerting to 00d6703 which includes the fix.
2025-02-20 09:17:52 -05:00
Jean-Philippe Quéméner
4a8b1ba61b
tests(unified-storage): use unified storage grpc client ( #101063 )
2025-02-20 15:03:08 +01:00
Andres Martinez Gotor
92304646e6
Advisor: Add navigation link ( #101049 )
2025-02-20 14:53:04 +01:00
Marcus Andersson
40e7646348
Bugfix: Fixing issue where dataSource property got froozen ( #101058 )
...
Cloning datasource before passing it to extensions.
2025-02-20 14:38:28 +01:00
Georges Chaudy
2e32a3d19f
unistore: fix dashboard conversion events ( #101053 )
...
fix dashboard conversion events
2025-02-20 14:28:03 +01:00
Karl Persson
16fda6f686
Authz: Setup access claims for service identity ( #100986 )
...
* Setup access claims for service identity and add them to identityes without any claims
2025-02-20 13:54:47 +01:00
Ivan Ortega Alba
be81314e21
Replace v0 by k8s v1 when kubernetesDashboards is enabled ( #101033 )
...
Use v1 by default when kubernetesDashboards is on
2025-02-20 12:42:59 +01:00
Jean-Philippe Quéméner
5897024dfe
feat(unified-storage): enhance gRPC client with dskit ( #101035 )
2025-02-20 12:34:52 +01:00
Oscar Kilhed
b888f03d3f
Dynamic dashboards: Add tests for RowLayoutSerializer ( #101030 )
...
Add tests for RowLayoutSerializer
2025-02-20 11:51:40 +01:00
Irene Rodríguez
63536a1cbe
Fix broken links and relfrefs ( #101042 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2025-02-20 02:37:15 -08:00
Eric Leijonmarck
32643c933e
LBAC for datasources: GA ( #99511 )
...
* GA: feature toggle removal of `teamHttpHeaders`
* Apply suggestions from code review
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2025-02-20 10:26:46 +00:00
Marcus Andersson
6dae264a06
Bugfix: Fixed breadcrumbs in plugin catalog/connections details page ( #100903 )
...
Fixing so the the breadcrumbs works properly.
2025-02-20 10:58:55 +01:00
Tom Ratcliffe
c9da1ec850
Chore: Update tests and remove MockDataSourceSrv ( #97748 )
2025-02-20 09:46:34 +00:00
Irene Rodríguez
e2149e35e4
fix broken link ( #100967 )
2025-02-20 09:40:39 +00:00
Igor Suleymanov
6ccc56814c
Add resource annotations for storing manager properties ( #99683 )
...
What is this feature?
This change adds properties and known annotations to store them in for recording resource manager information, such as:
The type (kind) of the manager (ex. Terraform / kubectl / etc.)
The identity of the manager (ex. grafana/terraform-provider-grafana)
Whether the managers allows the resource to be edited by others.
Whether a resource is temporarily excluded from the manager's control.
These annotations are inspired by Kubernetes field management API (https://kubernetes.io/docs/reference/using-api/server-side-apply/#field-management ) and known Kubernetes annotations
(https://kubernetes.io/docs/reference/labels-annotations-taints/#app-kubernetes-io-managed-by ).
It also adds annotations for storing information about the source of a provisioned resource, such as path, checksum & timestamp.
Why do we need this feature?
To make it possible to mark resources as managed by specific managers, modifying how these resources appear in the UI and are treated in the backend APIs.
For example, we'd like to make managed resources read-only, or show specific docs / workflows based on the tool which is used to manage resources and so on.
The identity is required for ensuring that managers of the same kind can still be told apart.
Who is this feature for?
For as-code practitioners and API users.
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-02-20 11:39:12 +02:00
Ivana Huckova
9eda0f44ac
Update ErrRequestErrorBase from [plugin.downstreamError] to [plugin.requestFailureError] ( #100965 )
...
* Update ErrRequestErrorBase to make it more clear for developers
* Trigger build
* requestError -> requestFailureError
* Fix test
* Update pkg/plugins/backendplugin/grpcplugin/client_v2.go
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
---------
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2025-02-20 10:23:53 +01:00
Ryan McKinley
c654a580f7
Authz: Add builtin provisioning access policy ( #101000 )
2025-02-20 12:17:52 +03:00
Oscar Kilhed
4dfb21ecdd
Dynamic dashboards: Implement cloneLayout for responsive grid ( #100855 )
...
* implement clone layout for responsive grid
* Add tests
* Fix lint
* Make sure we base new keys on old keys
* Start tests from panel 1 instead of 0
2025-02-20 10:17:05 +01:00
Ivana Huckova
30aa676724
Elasticsearch: Invalid URL and unsupported protocol should be downstream errors ( #100886 )
...
* Invalid URL and unsupported protocol should be downstream errors
* Fix lint
* Change from errors.Is to errors.As
2025-02-20 10:04:48 +01:00
Charandas
f69e81facf
K8s: reduce discovery requests pressure on aggregated services ( #101012 )
2025-02-20 04:51:15 +02:00
grafana-pr-automation[bot]
66c420e067
I18n: Download translations from Crowdin ( #101023 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-20 02:33:19 +02:00
Stephanie Hingtgen
9637ebd2fa
K8s: Folder: Delete parent last ( #101022 )
2025-02-20 02:16:05 +02:00
Stephanie Hingtgen
29fe2df00a
Revert "feat(unified-storage): enhance gRPC client with dskit" ( #101020 )
...
Revert "feat(unified-storage): enhance gRPC client with dskit (#100993 )"
This reverts commit 3f8a34303c .
2025-02-20 01:43:58 +02:00
Stephanie Hingtgen
146af8f2be
K8s: Dashboards: Only get folder if exists on dashboard ( #101017 )
2025-02-20 00:40:05 +02:00
Todd Treece
55aaf4aac0
Metrics: Add deny list in MultiRegistry ( #101010 )
2025-02-19 23:11:26 +02:00
Charandas
b00f2e02c7
K8s: don't publish metrics for local services that are always available ( #101003 )
2025-02-19 22:39:40 +02:00
Robin Schneider
ffefe9013e
Dockerfile: Add org.opencontainers.image.source label ( #97462 )
...
Add org.opencontainers.image.source label to Dockerfile
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
2025-02-19 13:37:11 -07:00
Todd Treece
94c6f7d1e5
K8s: Remove duplicate aggregation metric ( #101002 )
2025-02-19 22:30:45 +02:00
Todd Treece
f74092b262
K8s: Add discovery client ( #100995 )
2025-02-19 14:35:00 -05:00
Ryan McKinley
8c21a49c35
Chore: Update go-github dependencies ( #100994 )
2025-02-19 21:06:46 +02:00
tab0r
634142eca3
[docs/configure/logging] include detail about multiple log filters ( #100888 )
2025-02-19 20:05:11 +01:00
Jean-Philippe Quéméner
3f8a34303c
feat(unified-storage): enhance gRPC client with dskit ( #100993 )
2025-02-19 19:58:10 +01:00
Stephanie Hingtgen
62d502086e
K8s: Dualwriter mode3: Return error from unistore ( #100992 )
2025-02-19 20:40:17 +02:00
maicon
fd377cfe66
Unistore: map grpc status to http status ( #100942 )
...
* Unistore: map grpc status to http status
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Georges Chaudy <chaudyg@gmail.com >
2025-02-19 15:29:57 -03:00
Stephanie Hingtgen
95278d7552
K8s: Folders: Add pagination for children ( #100978 )
2025-02-19 19:06:26 +01:00
Haris Rozajac
ff1b22297c
Dashboard Schema V2: Delete dashboard ( #100929 )
...
* working version wip
* add TODO
* support alert success for k8s
2025-02-19 10:35:00 -07:00
Ivana Huckova
8986df26a5
Azure Monitor: Set error source in http and user errors accordingly ( #100873 )
2025-02-19 18:10:58 +01:00
Esteban Beltran
2d3de82ae9
Frontend sandbox: Improve signature elegibility check to avoid extra requests ( #100980 )
...
* Frontend sandbox: Improve signature elegibility check to avoid extra requests
* remove caching element
2025-02-19 18:54:25 +02:00
Matthew Jacobson
75c4c5ca0f
Alerting: Upgrade grafana/alerting to 92d5f29 ( #100982 )
...
* Alerting: Upgrade grafana/alerting to 92d5f29
Includes:
- Add more context to log in PipelineAndStateTimestampCoordinationStage (#277 )
- Update Alertmanager fork to latest commit (#279 )
- Copy http client from Grafana (#281 )
* Satisfy signature change from grafana/alerting #281 (http client)
2025-02-19 18:49:46 +02:00
Andreas Christou
8b3047ba1e
InfluxDB: Improve handling of template variables contained in regular expressions (InfluxQL) ( #100762 )
...
* Improve handling of template vars in regex
* Review
* Minor update
2025-02-19 15:37:35 +00:00
Georges Chaudy
b850c9fa68
unistore: Add missing verb to compile ( #100972 )
...
Add missing verb to compile
2025-02-19 17:06:26 +02:00
Leonor Oliveira
9bc1549aee
Upgrade codeql version ( #100883 )
2025-02-19 15:59:54 +01:00
Ryan McKinley
5a40c84568
DualWriter: Support managed DualWriter ( #100881 )
2025-02-19 17:50:39 +03:00
Zoltán Bedi
5a7916133e
Chore: Remove sqlQuerybuilderFunctionParameters feature toggle ( #100809 )
...
* chore: remove `sqlQuerybuilderFunctionParameters` ff
* Update packages/grafana-sql/src/components/visual-query-builder/SelectRow.tsx
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2025-02-19 15:38:27 +01:00
Andres Martinez Gotor
a24fd1b722
Advisor: Redefine check properties ( #100874 )
2025-02-19 15:11:55 +01:00
Christopher Moyer
9f49f4ce36
docs/adds clarification to support remote_writer journey ( #100891 )
...
* adds clarification to support remote_writer journey
* turns off spelling
* makes prettier
2025-02-19 07:33:24 -06:00
Alexander Zobnin
fcb88f6ccc
Zanzana: revert cluster store for fixed roles ( #100958 )
...
* Zanzana: revert cluster store for fixed roles
* update go workspace
2025-02-19 13:53:25 +01:00
Giuseppe Guerra
011726c80f
Plugins: Update DefaultSignature function signature in PluginSource interface ( #100519 )
...
* Plugins CDN: Add support for signature type and signature org
* Fall-back to valid signature if the config is not supported
* Move CDN signature code to DefaultSignature
* fix tests
2025-02-19 12:19:45 +01:00
Pepe Cano
8646961c3f
Alerting docs: fix heading anchor ( #100783 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2025-02-19 11:47:55 +01:00
Karl Persson
a897ec3426
Authn: grpc errors ( #100951 )
...
* update authlib
* Map to grpc status
2025-02-19 11:46:48 +01:00
Karl Persson
16c389a79a
Auth: Use authinfo instead ( #100957 )
...
Use authinfo instead
2025-02-19 11:41:18 +01:00
Sergej-Vlasov
e07b6efbc4
ImportDashboardForm: Add more meaningful error message for Editor user ( #100581 )
...
return error message when getting 403 during dashboard import
2025-02-19 10:03:37 +00:00
Laura Fernández
af261af7a7
UnifyHistory: Add styles from the docked POC ( #100381 )
2025-02-19 11:02:16 +01:00
Pepe Cano
953263f91b
Alerting notification preview: Remove private annotations and labels from alert instance payload ( #100410 )
2025-02-19 11:00:07 +01:00
Pepe Cano
1fdb36022d
Alerting docs: fix tutorial URL ( #100954 )
2025-02-19 10:58:49 +01:00
github-actions[bot]
cf624a6cf0
Update make docs procedure ( #100945 )
...
Co-authored-by: grafanabot <bot@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2025-02-19 09:54:01 +00:00
Ieva
e93ff154df
Chore: bump authlib version ( #100879 )
...
* bump authlib version
* update other authlib deps
2025-02-19 08:37:32 +00:00
Robert Goltz
8577958edb
Bump github.com/crewjam/saml from 0.4.13 to 0.4.14 ( #100784 )
...
chore: bump github.com/crewjam/saml from 0.4.13 to 0.4.14
2025-02-19 09:28:31 +01:00
Stephanie Hingtgen
d09ed251f6
k8s: unified search ui: fix url ( #100939 )
2025-02-19 11:11:31 +03:00
Adam Bannach
cb05ead1b2
chore: add react-loading-skeleton to @grafana/runtime ( #100941 )
2025-02-19 07:47:16 +01:00
Charandas
883f3c5ce2
K8s: add a bool setting to select request header auth versus enterprise behavior ( #100877 )
2025-02-19 05:14:22 +02:00
grafana-delivery-bot[bot]
ef15410e9e
Release: update changelog for 11.5.2 ( #100917 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com >
2025-02-18 17:06:09 -07:00
grafana-delivery-bot[bot]
fa9e08eb32
Release: update changelog for 11.4.2 ( #100915 )
...
* Update changelog
* Update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com >
2025-02-18 17:04:53 -07:00
grafana-delivery-bot[bot]
ddae22a1e3
Release: update changelog for 11.3.4 ( #100927 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com >
2025-02-18 17:03:46 -07:00
grafana-delivery-bot[bot]
561331e1a4
Release: update changelog for 11.2.7 ( #100912 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com >
2025-02-18 17:01:57 -07:00
grafana-delivery-bot[bot]
a51e673f2e
Release: update changelog for 11.1.12 ( #100900 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-18 16:59:08 -07:00
Kevin Minehart
75189de4f7
CI: Post-release process branch / PR migration ( #100930 )
...
* update output for token in release-comms
* use token from needs
* generate token in individual workflows
* Set secrets
* define secrest in referenced workflows
* wrong secret lol
* oops
* grafana/grafana -> grafana/grafana-enterprise
2025-02-19 01:19:01 +02:00
Stephanie Hingtgen
3e6f40c873
K8s: Move to one feature toggle for folders and dashboards ( #100911 )
2025-02-19 01:11:26 +02:00
Scott Lepper
9a0e874e9b
Unified Search: remove date sort fields ( #100924 )
2025-02-18 17:34:04 -05:00
Pepe Cano
e1c1cc34af
Alerting docs: Update Amazon SNS integration ( #100754 )
...
* Update `Configure Amazon SNS notifications`
* Clarify templateable fields
* correct prop description
2025-02-18 22:50:13 +01:00
Ryan McKinley
66932600ec
K8s: DecisionNoOpinion for claims.TypeAnonymous ( #100880 )
2025-02-18 13:49:54 -08:00
Kevin Minehart
14477a7fe9
CI: release comms should trigger on merges to release- branches ( #100901 )
...
release comms should trigger on merges to release- branches
2025-02-18 22:34:21 +02:00
grafana-delivery-bot[bot]
10eb1d9062
Release: update changelog for 11.0.11 ( #100895 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-18 13:02:17 -07:00
grafana-delivery-bot[bot]
2bd63a6d71
Release: update changelog for 10.4.16 ( #100890 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-18 12:36:25 -07:00
Stephanie Hingtgen
67be9aeed6
K8s: Search fallback: Support all sort by methods ( #100776 )
2025-02-18 12:30:11 -06:00
Piotr Jamróz
7b3b165c3d
Ci: Use app token during checkout ( #100889 )
...
Use app token during checkout
2025-02-18 11:29:26 -07:00
Ezequiel Victorero
fd8a2158f1
Docs: Image renderer https configuration using environment variables ( #100846 )
2025-02-18 14:35:40 -03:00
Ivana Huckova
67d8610e31
SQL data sources: Use correct error source for sql processing errors ( #100872 )
...
* SQL data sources: Use correct error source for sql processing errors
* Fix lint
* Fix cyclomatic complexity
* Nit rename variable to make it more clear what those errors are
2025-02-18 18:24:44 +01:00
Jack Westbrook
08000eeece
Chore: refresh betterer results file ( #100863 )
...
* chore(betterer): refresh results file
* ci(betterer): add betterer:ci script to catch out of sync results file
2025-02-18 18:23:32 +02:00
Matheus Macabu
6f0191403d
Chore: Increase golangci-lint timeout to 15min ( #100811 )
2025-02-18 17:00:30 +01:00
Fiona Liao
070ae1af61
Fix typo for prepare time series transformation ( #100436 )
2025-02-18 09:49:51 -06:00
Mariell Hoversholm
98fdcd52b3
CI: Output HTML coverage page in artifact ( #100875 )
...
* CI: Output HTML coverage page in artifact
* CI: Use correct artifact source
2025-02-18 16:13:52 +01:00
Tobias Skarhed
4c8a63320c
Multi/Combobox: Use pointer cursor when not focused ( #100878 )
...
Combobox: Add pointer when not focused
2025-02-18 15:57:53 +01:00
Piotr Jamróz
4979dd4eec
CI: test if test-plugins folder exists before adding ( #100876 )
2025-02-18 15:38:36 +01:00
Haris Rozajac
f25d163a82
Dashboard Schema V2: Fix query variable bug ( #100773 )
...
fix
2025-02-18 07:18:45 -07:00
Ansh Goyal
870c65a80f
Docs: update contributor/developer-guide for file watchers and heap limit errors ( #96197 )
...
* Update developer-guide.md
* Update developer-guide.md
* Add commands for macOS systems
* refine text
* Run prettier
---------
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2025-02-18 15:03:11 +01:00
Mariell Hoversholm
6f9fc8fa0c
CI: Track backend code coverage ( #100856 )
...
* CI: Track backend code coverage
This is a super rudimentary way to track this coverage. The important bit for me is the ability to extract the coverage
files.
* CI: Allow tests to fail
* Codeowners: Assign ownership of coverage tracking
* CI: Join coverage info in the job
* CI: Attempt to parallellise tests
* CI: Upload despite failures
* CI: Pattern is not regex
* CI: Set up repository and Go before merging
* CI: Generate go before checking coverage
* CI: Multi-line string
* CI: Backticks execute commands; avoid them
* CI: Make the output a bit prettier
Tabs are absurdly large.
* CI: Remove comment on retention
2025-02-18 14:35:06 +01:00
Victor Cinaglia
46a537aa02
iam: Fix debouncing in user, team and service account pickers ( #100830 )
...
iam: fix debouncing in user, team and service account pickers
2025-02-18 08:34:37 -05:00
Nicolas Simonds
678d1847b8
chore: remove duplicated section in sample.ini ( #98566 )
2025-02-18 13:18:30 +00:00
Misi
768ec4c2c5
Auth: Fix AzureAD config UI's ClientAuthentication dropdown ( #100752 )
...
* wip
* Address feedback
2025-02-18 12:42:09 +01:00
Konrad Lalik
3bdb6ee11c
Alerting: Improve rules fuzzy search ( #100822 )
...
* Add string search fallback for long and unusual search queries
* Add a test for fallback search
2025-02-18 11:29:39 +01:00
Karl Persson
4df398c084
Authz: Sync authlib and update authz client setup code ( #100817 )
...
* Sync authlib and update setup code for authz client
2025-02-18 09:09:20 +01:00
grafana-pr-automation[bot]
61d959d04b
I18n: Download translations from Crowdin ( #100850 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-18 02:32:09 +02:00
Matheus Macabu
aceda85a4d
Chore: Regenerate go.work.sum ( #100816 )
2025-02-17 22:44:02 +02:00
Ezequiel Victorero
9df6412e92
Reporting: Add new creation drawer feature flag ( #100759 )
...
Reporting: Add new creation drawer
2025-02-17 16:05:46 -03:00
Mat Ryer
ff7ba54cbc
Investigations: Add experimental app platform backend ( #100584 )
...
* add investigations group?
* Investigations: Add experimental app platform backend
* change `grafana-app-sdk/logging` version
* investigations: add feature flag to test
---------
Co-authored-by: Sven Grossmann <svennergr@gmail.com >
2025-02-17 19:19:22 +01:00
Andrej Ocenas
78ef9fd9d9
QueryLibrary: rename API from peakq to querylibrary ( #100813 )
2025-02-17 17:49:11 +01:00
Ashley Harrison
7a6f4ced06
Themes: Temporary fix for initialising saved grafanacon themes ( #100810 )
...
temporary fix for initialising saved grafanacon themes
2025-02-17 16:39:04 +00:00
Sonia Aguilar
3bb3a74ac1
Alerting: Add tracking for the mode used in query and notifications step when c… ( #100824 )
...
Add tracking for the mode used in query and notifications step when creating a grafana rule
2025-02-17 18:09:02 +02:00
Robert Goltz
27837ee937
Chore: Update alpine docker image (minor) - 3.20.5 to 3.20.6 [security] ( #100791 )
...
* Chore: Update alpine docker image (minor) - 3.20.5 to 3.20.6 [sec-fixes]
* Chore: Regenerate .drone.yml
---------
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
2025-02-17 16:41:38 +01:00
Sonia Aguilar
67722de343
Alerting: Add DAG errors to alert rule creation and view ( #99423 )
...
* catch error in query tab when running query throws an error
* add translations
* fix translations
* update query runner to omit nodes that failed to link
* remove unused function
* add DAG errors to AlertingQueryRunner
* bump CI
* fix test
* update test
* fix i18n
* revert code pieve
* Bring the piece of code back 😁
* bail from runner when no queries are to be executed
* add tests and translations
* refactor prepareQueries to omit broken refs and exclude descendant nodes
* update code comments
* fix omitting descendant nodes
* add all broken or missing nodes to panel errors
* go go drone
* remove unused function
* fix prettier and translations
* add export
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2025-02-17 16:11:52 +01:00
Hugo Kiyodi Oshiro
29afe7d2cc
Plugins: Remove managedPluginsInstall feature toggle ( #100416 )
...
* Plugins: Remove managedPluginsInstall feature toggle
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2025-02-17 16:07:41 +01:00
Marcus Andersson
39b424b8a7
PluginExtensions: Making it possible to set secureJsonData on datasource config page. ( #100726 )
...
* Added setSecureJsonData to the configure context.
* Exposing which fields are set in secureJsonData.
* removed omit.
2025-02-17 15:20:35 +01:00
Ashley Harrison
60fa83ea53
Theme: ensure feedback link is gated behind config option ( #100815 )
...
ensure feedback link is behind config option
2025-02-17 16:15:03 +02:00
Marcus Andersson
84d22e176b
PluginExtensions: Exposing registry meta for components returned via usePluginComponents ( #100587 )
...
Exposing meta information from registry via Component.meta.
2025-02-17 14:50:35 +01:00
renovate[bot]
187a18ea25
Update dependency i18next-parser to v9.3.0 ( #100800 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 13:50:19 +00:00
Bogdan Matei
d4fdffc387
Explore: Fix key error ( #100812 )
2025-02-17 15:37:55 +02:00
Karl Persson
e9b2f69137
Authz: Only have two modes for authz client ( #100803 )
...
* Only have "inproc" and "clod" mode
2025-02-17 14:37:25 +01:00
Roberto Jiménez Sánchez
8edfff1bba
[Enterprise] Consolidate extensions folders and keep them around ( #98486 )
...
* WIP: copy approach
* Fix package name
* Do not ignore .keep for frontend extensions
* Add keep file for frontend extensions
* Tweak makefile to generate enterprise swagger or not
* Remove duplicate imports
* Add build extensions
* Add CMD extensions
* Add keep to e2e extensions
* Add .keep
* Reduce file structure changes
* Ignore boring crypto
* Add e2e extensions keep file
* Remove enterprise file
* Update .gitignore
* Move things around
* Update git ignore
* Consolidate backend extensions folder
* Move enterprise deps
* Update comment
* Do not use build tags
* Ignore setting enterprise
* Revert changes in makefile
* Revert package changes
* Add back extensions main.go
* Update git ignore
* Ignore spanner tests
* Trick ignore files only by git
* Add .ignore file to CODEOWNERS for frontend-ops
* Fix issue with noisy duplicate targets
2025-02-17 14:00:21 +01:00
Sonia Aguilar
2014d27def
Alerting: Add alert rule version history - part1 ( #99490 )
...
* Add alertingRuleVersionHistory feature toggle
* WIP: Add version history tab
* revert temp change in index.ts
* wip2
* --wip--
* sync code with the BE changes in the endpoint
* add translations
* Add translations
* use ff only for restore feature
* WIP: Add tracking, make version required, and start mapping dif results
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
* Tweak more translations and improve types
* Add button to show/hide JSON diff
* update type for top level rule fields
* Create types
* Make updated_by/version properties optional
* Update mocks to remove updated by and version
* add comments to restore code
* rename fetature flag, as we use this one only for the restore feature
* Update version history to handle special cases
* Add diff numbers
* Fix conflicts
* Move generic computeVersionDiff to a utils file
* Update DOM structure of version summary and tidy up types
* Add tests for version comparison logic
* Lint fix utils file
* Rename props and add docs
* Change to EmptyState and log when no versions
* Remove CreatedBy component and simplify
* Add missing i18n for version history
* add test for computeVersionDiff
* update test
* fix number diff order and add a test
* fix prettier
* fix prettier
* Add promise resolve back in
* Rename to humanReadableDiff and tweak translation
* Show tab for recording rules as well
* Split components out to separate files
* Add optional interval seconds
* Update i18n
* Remove commented code
* Remove value
* Remove unneeded version
* Consistent rendering of updated by
* Mode parseVersionInfo to a separate pure function
* update invalidate/provide tags for getAlertVersionHistory
* Use checkedVersions state only in the parent component
* update getSpecialUidMap name and create an interface
* Fix prettier
* update tab description
* use set instead of map for checkedVersions
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2025-02-17 13:25:32 +01:00
Dominik Prokop
c9250c9135
Transformation: Add support for variables to ALL transformations ( #100225 )
...
* Transformation: generic support for variables, yay
* clean up value matcher editors
* clean
* clean up filterByValue
* more
* clean
* clean
* more!
* lint
* Revert "Transformation: generic support for variables, yay"
This reverts commit deec7c306b .
* Bump scenes to canary
* filterByValue - remove irrelevant tests
* filterByName tests update
* calculateField test update
* nit
* is that gonna work?
* Update grafana-data tscnig config to use grafana-ui's react table types
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com >
2025-02-17 13:07:11 +01:00
Tobias Skarhed
f15c961a90
MultiCombobox: Add basic docs and make story public ( #100806 )
...
* MutliCombobox: Add basic docs and make story public
* Apply suggestions from code review
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2025-02-17 13:52:11 +02:00
Oscar Kilhed
855eadcabd
Dashboards: Tabs layout persistence ( #100485 )
...
* Tabs layout persistence
* fix lint issue
* Add tests, add tabs serializer to registry
* Fix deserialize tabs
* more tests
* tab item title optional
* change TabItemKind -> TabLayoutTabKind
* add tests for tabs serializer
* fix name in test
* Fix test after renaming tabs
2025-02-17 12:50:26 +01:00
Jack Westbrook
497491846e
Grafana Prometheus: Clean up package dependencies ( #97398 )
...
* chore(grafana-prometheus): use knip to clean up deps and dev deps
* update
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2025-02-17 12:48:17 +01:00
Mariell Hoversholm
f535a7804f
Provisioning: Update types ( #100722 )
...
* Provisioning: Remove S3
* Provisioning: Use URL for GitHub
Co-Authored-By: Ryan McKinley <ryantxu@gmail.com >
Co-Authored-By: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Provisioning: Use workflow list
Co-Authored-By: =?UTF-8?q?Roberto=20Jim=C3=A9nez=20S=C3=A1nchez?= <roberto.jimenez@grafana.com >
* Provisioning: Model secrets
* Provisioning: Define a total in the job summary
* Provisioning: Generate code
* Provisioning: Update testdata
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
Co-authored-by: =?UTF-8?q?Roberto=20Jim=C3=A9nez=20S=C3=A1nchez?= <roberto.jimenez@grafana.com >
2025-02-17 12:45:23 +01:00
Ashley Harrison
a05ba6ff41
Theme: minor tweaks ( #100751 )
...
* theme tweaks!
* remove commented code
2025-02-17 11:37:03 +00:00
Karl Persson
6eeb28e312
Authn: use authenticator for grpc ( #99573 )
...
* Remove usage of grpc-authenticator
* Cleanup client construction code
2025-02-17 10:58:59 +01:00
Charandas
ea788975e0
K8s: refactor build handler chain func to allow easier injection from enterprise ( #100777 )
2025-02-15 04:08:00 +02:00
grafana-pr-automation[bot]
e5b49a406f
I18n: Download translations from Crowdin ( #100774 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-15 02:36:23 +02:00
Staton Hysell
89e85c1592
Added width style to the action button ( #100768 )
...
* Added width style to the action button
* Fix typo
2025-02-14 18:09:18 -05:00
Stephanie Hingtgen
9494e6eb37
K8s: Search fallback: Support tag search ( #100767 )
2025-02-14 16:57:10 -05:00
Stephanie Hingtgen
b89fd287c7
K8s: Dashboards: Fix history list ( #100763 )
2025-02-14 22:12:18 +02:00
Will Assis
77fd572973
dont return not found error in mode 2 ( #100758 )
...
* dual writer: dont return not found error in mode 2 when failing to find object in unistore
2025-02-14 20:39:51 +02:00
Kevin Minehart
cd30f3839d
Update whatsnewURL in package.json ( #100753 )
2025-02-14 19:45:49 +02:00
Todd Treece
30ae434a2e
K8s: Support multiple versions in builder ( #100331 )
2025-02-14 12:29:43 -05:00
Ashley Harrison
39db59fc73
Chore: remove the queryLibraryDashboards toggle since we didn't end up using it ( #100749 )
...
remove the queryLibraryDashboards toggle since we didn't end up using it
2025-02-14 16:39:22 +00:00
Josh Hunt
589340e03c
GrafanaUI: Deprecate Select in favor of Combobox ( #100294 )
...
* GrafanaUI: Deprecate Select
* add deprecated decorator to stories
* tweak message
2025-02-14 16:07:26 +00:00
Mihai Doarna
dc5602bad9
SSO: Fix team_ids validation for Generic OAuth ( #100732 )
...
fix team_ids validation in the API
2025-02-14 17:57:28 +02:00
Alexander Akhmetov
cbae35c28b
Alerting: Delete protobuf alert rule state on alert rule deletion ( #100736 )
2025-02-14 16:56:14 +01:00
Tito Lins
e343cb5ac9
Alerting: Stop running AM integration tests on CI ( #100702 )
2025-02-14 16:55:20 +01:00
Bogdan Matei
6bd1041cda
Dashboard: Fix panel edits for repeats ( #100658 )
2025-02-14 17:42:10 +02:00
Peter Štibraný
d0394bfa7e
Extract NewSearchOptions from unified sql client setup. ( #100719 )
...
* Extract NewSearchOptions from unified sql client setup.
Co-authored-by: Georges Chaudy <chaudyg@gmail.com >
2025-02-14 16:39:48 +01:00
Josh Hunt
861686adaa
Combobox: Tighten up storybook documentation ( #100313 )
...
* Add JSDoc comments to more props
* Remove in-dev decorator
* reword MDX documentation and add migration guide
2025-02-14 17:34:44 +02:00
Agnès Toulet
37ee1c427d
Plugins: Upgrade grafana-plugin-sdk to 0.266.0 ( #100727 )
2025-02-14 16:33:45 +01:00
Jean-Philippe Quéméner
c522a5b13b
fix(unified-storage): proper setup TLS in new db_engine for MySQL ( #100686 )
2025-02-14 16:23:25 +01:00
Kyle Brandt
4d7b9a3c77
SQL Expressions: Improve response to frame conversion handling ( #100625 )
...
- use types.Convert to get a more normalized type returned from GMS. After syncing with GMS maintainers, the underlying type of the row could be different things (e.g. int when unit32, so this calls the Convert method from the GMS types library to normalize the interface.
- Clean up fieldValFromRow more
- Use IsText to capture different string types
- Add more types to test, also update test to use same cmp.Diff method as others
---------
Co-authored-by: Sam Jewell <2903904+samjewell@users.noreply.github.com >
2025-02-14 17:21:08 +02:00
Kevin Minehart
3a8a24e662
Docker: Missing libresolv.so.2 from glibc ( #100729 )
...
* Docker: Missing libresolv.so.2 from glibc
* Misplaced &&
2025-02-14 08:54:36 -06:00
Ashley Harrison
b9034f413e
Query library: Refactor to use onSelectQuery callback ( #100360 )
...
* starting to refactor query library to use callback
* replace QueryActionButton with onSelectQuery
* hook up properly in explore
* fix unit tests
* i18n
* extract types
* fix refId in explore
* fix unit tests
* handle changing datasource to mixed
* enrich queries with datasource
* move out into separate function
* filter out expression datasources
2025-02-14 14:44:47 +00:00
Carl Bergquist
9cff383830
scopenodes: check if the query exists in the title instead of starts with the query ( #100578 )
...
scopenodes: check if the string contains the search param instead of limiting to prefix
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2025-02-14 09:21:35 -05:00
Carl Bergquist
23a657a72d
scopes: adds more logging details to the scopedashboard query ( #100267 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2025-02-14 09:20:07 -05:00
Kyle Brandt
c291ec7ba9
SQL Expressions: Include SQL Parser/Syntax error in the public message ( #100725 )
...
fixes #100721
2025-02-14 09:09:21 -05:00
beejeebus
196a73ec72
influxdb - fix nil pointer usage - fixes #100723 ( #100724 )
...
When introducing errorsource over in:
https://github.com/grafana/grafana/pull/99900
I introduced a bug - trying to use a http response with a non-nil error.
In that case, the response is nil, so code panics.
This PR removes that check.
2025-02-14 08:25:26 -05:00
Sonia Aguilar
af8cab9210
Alerting: Add Jira integration to cloud AMs ( #100482 )
...
* Add Jira integration to cloud AMs
* Add alertingJiraIntegration feature toggle for jira integration
* Update integration name to Jira Service Management
* address pr comments
* gen ff
* add project to the getReceiverDescription for jira
* Update getReceiverDescription for jira
* update text
* update texts and add required option
* Add conversion for fields jira integration to JSON format in the dto and viceversa
* add tests
* Add translation for jira receiver summary
* Add placeholder for Jira duration option
* move logic cheking integrtion type outside the conversion method
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2025-02-14 13:22:04 +01:00
Gilles De Mey
101c590f34
Revert "Alerting: Fix loading states" ( #100717 )
...
Revert "Alerting: Fix loading states (#100641 )"
This reverts commit ba3a90d8fd .
2025-02-14 13:04:19 +01:00
Matias Chomicki
b814f1628f
New Logs Panel: Add infinite scrolling support ( #99773 )
...
* Create Infinite Scroll wrapper component
* Logs list: refactor event subscriber
* Infinitely load logs
* Move renderer to Infinite Scroll component
* Implement infinite scroll state
* Switch internal implementation to use the existing infinite scrolling component logic
* Integrate with logs panel
* Move scrolling management to infinite scrolling component
* LogList: change subscription dependency to prevent unnecessary runs
* Infinite scroll: remove autoscrolling
* Logs Panel: fix dependencies to prevent re-renders on refresh
* Infinite scroll: introduce pre-scroll state
* LogList: expose initial log position prop
* Infinite scroll: less work on scroll and autoscroll behavior
* Remove console
* Fix imports
* Add infinite scroll translations
* Fix imports
* Add visual delimiter for new pages and increase gap
* Remove log
* Chore: rename interface to LogListModel
* Hover: decrease opacity
* Fix no-logs state
* Prettier
* Infinite scroll: move scroll delimiter
* Load more message: make it clickable
2025-02-14 13:52:34 +02:00
Sonia Aguilar
9e3872f8dd
Alerting: Disable create rule menu item from panel when unifiedAlerting is disabled ( #100701 )
...
* add config.unifiedAlertingEnabled check to render create alerts menu item from panels
* Disable create rule from panel when unifiedAlerting is disabled
* fix test and lint
* fix test
2025-02-14 13:38:32 +02:00
Peter Štibraný
1856d47e47
Remove GetResourceClient hack from unified package. ( #100636 )
...
* Remove GetResourceClient hack from unified package.
2025-02-14 12:34:52 +01:00
Andrej Ocenas
d092998927
Query Library: Move backend to enterprise ( #100371 )
...
* Move files to enterprise
* Remove last parts of QL api
* Fix CODEOWNERS
2025-02-14 11:05:03 +00:00
Gilles De Mey
ba3a90d8fd
Alerting: Fix loading states ( #100641 )
2025-02-14 11:38:38 +01:00
Georges Chaudy
9d68c4f665
unified: allow customising the ProvideUnifiedStorageClient ( #100704 )
...
* unified: allow customising the ProvideUnifiedStorageClient
* fix go mod
2025-02-14 11:26:51 +01:00
github-actions[bot]
cf2a7687e0
Update make docs procedure ( #100167 )
...
Co-authored-by: grafanabot <bot@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2025-02-14 10:26:29 +00:00
Georges Chaudy
b1222be02e
unistore: add small buffer of watched events ( #100431 )
...
* change log level
* Add a small buffer when watching events
2025-02-14 12:18:59 +02:00
Pepe Cano
f1b4678012
Alerting docs: update Configure Webhook notifications ( #100650 )
...
* Alerting docs: update `Configure Webhook notifications`
* fix typo
* fix typo
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/webhook-notifier.md
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/webhook-notifier.md
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
* fix typo
* Add `Note` to configure either HTTP Basic Authentication or the Authorization request header
* Use `inline` format for JSON keys
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2025-02-14 11:04:08 +01:00
Alex Khomenko
da66060f75
Grafana/ui: Export UsersIndicator ( #100698 )
...
grafana-ui: Export UsersIndicator
2025-02-14 11:58:42 +02:00
Alex Khomenko
dc3de1a1d5
Badge: Add darkgrey color ( #100699 )
2025-02-14 11:57:30 +02:00
Karl Persson
d8b26b0a31
Search: Search dashboards without a parent ( #100615 )
...
* Search dashboards without a parent
2025-02-14 10:39:57 +01:00
Andres Martinez Gotor
12bb50f97f
Advisor: Make evaluation interval and max history configurable ( #100534 )
2025-02-14 10:05:34 +01:00
grafana-pr-automation[bot]
7f20495289
I18n: Download translations from Crowdin ( #100689 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-14 02:30:34 +02:00
Stephanie Hingtgen
1c2f4e35bf
Frontend tests: comment out flaky test ( #100685 )
2025-02-14 00:44:15 +02:00
Will Assis
c963032915
search: handle "sharedwithme" use-case in both legacy/US modes ( #100286 )
...
* handle "sharedwithme" use-case in both legacy/US modes
* display "Shared with me" as location in dashboard list
* fix missing "TotalHits" prop in mode 2
2025-02-13 15:56:29 -05:00
Stephanie Hingtgen
e2081c3e0c
K8s: Fix legacy fallback provisioning ( #100566 )
2025-02-13 21:32:25 +02:00
Brendan O'Handley
3b694785f3
Explore metrics: Use combobox for adhoc filters ( #100151 )
...
use combobox for adhoc filters
2025-02-13 12:58:29 -06:00
Brendan O'Handley
964f3d0cad
Explore metrics: Remove operators =| and !=| from adhoc filters ( #100300 )
...
Remove operators =| and !=| from adhoc filters
2025-02-13 12:58:07 -06:00
Ariana
d81c4b3c42
Docs: Updating SAML UI Docs for Azure specific attributes ( #100565 )
...
* Updating SAML for Azure specific attribute structures
Adding additional context surrounding SAML via Azure where the full attribute URL needs to be specified or it will not map correctly.
This generates a lot of support contacts and isn't documented causing friction when organizations can't set it up themselves or lack the technical staff to self manage.
* run prettier
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2025-02-13 19:46:38 +01:00
Kim Nylander
ac412e6859
[DOC] Update links, page weights for mounting content in Tempo data source ( #100395 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2025-02-13 13:42:43 -05:00
Isabel Matwawana
4e976fc277
Docs: One-click data links for some visualizations ( #100434 )
2025-02-13 12:52:47 -05:00
Isabel Matwawana
75320990db
Docs: Canvas one-click data links & actions ( #100453 )
...
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
2025-02-13 12:46:46 -05:00
Adela Almasan
5aeaa18ac2
Canvas: One click links and actions ( #99616 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2025-02-13 11:46:29 -06:00
Ashley Harrison
02118cc6aa
Chore: Automerge i18n PRs ( #99555 )
...
* add enable automerge step and update CODEOWNERS
* add approver steps
* move automerge step to pr approver token
* get vault secrets
* update workflow permissions
* remove local
2025-02-13 17:44:13 +00:00
xavi
eeadb7e771
IAM: Log error when malformed json arrays are found in SSO configs ( #99896 )
2025-02-13 18:02:54 +01:00
linoman
19777ba3e9
Skip flaky test that's breaking the CI pipelines ( #100640 )
2025-02-13 17:49:21 +01:00
Bogdan Matei
5315b4fd2d
Dashboard: Fix repeats behavior for inspect, solo panel and repeated and empty panels ( #100605 )
2025-02-13 18:41:09 +02:00
Georges Chaudy
b58b5b5768
grpc: improve grpc logger ( #100606 )
...
use proper grpc logging
2025-02-13 17:39:33 +01:00
Josh Hunt
2bdeb727cf
Chore: Bump react-router to v5.3.4 ( #100500 )
2025-02-13 18:36:16 +02:00
Will Assis
155492c8a5
search: handle "permission" query param in search ( #100607 )
...
handle "permission" query param in search
2025-02-13 11:35:53 -05:00
Johnny Kartheiser
6e4c1a57c1
docs: capitalization issues ( #100562 )
...
fixing two capitalization issues for product names.
2025-02-13 10:29:04 -06:00
Gabriel MABILLE
90eb499b78
PublicDashboards: Fetch dashboard as Grafana ( #100344 )
2025-02-13 17:17:14 +01:00
Alexander Zobnin
d719e6c621
ServiceAccounts: Fix search in SA picker ( #100634 )
2025-02-13 17:02:51 +01:00
Ryan McKinley
0dab384826
K8s/Frontend: Update watch support ( #100631 )
...
use watch from gitsync
2025-02-13 18:55:36 +03:00
Hugo Kiyodi Oshiro
aeb57f671b
Docs: Improve instructions to change basic roles ( #100586 )
2025-02-13 16:53:03 +01:00
Irene Rodríguez
30939fd0e9
Update relrefs ( #100626 )
2025-02-13 16:44:20 +01:00
Oscar Kilhed
1018aec6bc
Dashboards: Fix repeats not being added on refresh when using searchLayout ( #100621 )
...
Fix repeats not being added
2025-02-13 16:31:11 +01:00
Todd Treece
5a74a1a0f6
Metrics: Use correct gatherer in graphite bridge ( #100624 )
2025-02-13 10:19:22 -05:00
Ivan Ortega Alba
527fc3bb21
Dashboards: Remove schemaVersion < min_version validation ( #100555 )
2025-02-13 06:56:16 -08:00
Dominik Prokop
7edcde6365
Dashboards: Bring back scripted dashboards ( #100575 )
...
* Dashboards: Bring back scripted dashboards
* Fix scripted dashboard examples
* Fix dashboard-solo page not respecnig scripted dashboards
2025-02-13 15:46:22 +01:00
Yuri Tseretyan
9dd75aee32
Alerting: Refactor State Transition (part 2 of n) ( #99985 )
...
* split create to create and patch and move to state
patch will be refactored further
* move setNextState to state transition
* move tests
* split tests for patch function
2025-02-13 09:45:16 -05:00
Victor Cinaglia
71f97f380d
Docs: Fix URLs to auth providers from Team Sync page ( #100563 )
...
* iam/docs: fix links to providers in team sync page
* iam/docs: make auth proxy link look more like other links
2025-02-13 09:35:35 -05:00
Haris Rozajac
9ad6653871
Dashboard Schema V2: Improve diffing ( #100022 )
...
* improve diffing
* define dash spec props a-z
* Fix
* sort deep initialSaveModel
* update tests
* Fix test, description, and query ds issues
* Fix seralizer test
* response transformers
* skip panelMerge tests
2025-02-13 07:20:17 -07:00
Tobias Skarhed
afe8b08a48
MultiCombobox: Fix labels disappearing on selected items when filtering ( #100602 )
...
* Fix label disappearing on filtering
* Remove only from test
* Fix custom value test
2025-02-13 16:03:54 +02:00
Karl Persson
a58564a35e
Unified Storage: Register metrics ( #100600 )
...
use seperate once struct
2025-02-13 14:24:59 +01:00
Karl Persson
be60ef0500
IDToken: cache invalidation ( #100592 )
...
* Make org role part of id token cache key. This way we will always sign a new token when it changes
* Remove calls to remove id token
2025-02-13 14:10:58 +01:00
Ivana Huckova
a69fac6e16
Mark grpc data source timeouts as cancelled queries ( #100573 )
...
* Set up to reproduce issue locally
* add check for deadline exceeded
* Revert "Set up to reproduce issue locally"
This reverts commit d8d9b354ca .
* Trigger build
---------
Co-authored-by: Will Browne <will.browne@grafana.com >
2025-02-13 13:40:53 +01:00
Jack Westbrook
1c7a758127
Frontend: Lazy load Echo Backends ( #100345 )
...
feat(app): lazy load echo backends depending on config. Move lodash to sharedDependencies
2025-02-13 12:11:41 +01:00
Ryan McKinley
3c56e32b0c
K8s/Utils: Find title in unstructured content ( #100576 )
2025-02-13 14:04:03 +03:00
Karl Persson
1b1954de28
Authz: add support to use folder api to fetch folder tree ( #100038 )
...
* Add FolderStore interface
* Authz: add implementation to use folders api and use it inproc with loopback config
* Add tracing and add rest.Config for talking with folder api using access tokens
* Restructure test to get rid of circular dependencies in tests
* use correct group version kind
---------
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2025-02-13 11:59:59 +01:00
Tito Lins
ae9837b793
Alerting: Add alertmanager integration tests ( #100106 )
2025-02-13 11:36:45 +01:00
Yulia Shanyrova
6db155649c
Plugins: Custom links for plugin details page ( #97186 )
...
* Custom links with repository link, licence link, docs link and raise an issue link
* run translation command
* delete console log
* delete console log
* fix frontend tests
* change UI with a new design
* remove license, documentation, repository url calculation logic from grafana
* remove unsused function from helpers
* change repo icons and raise an issue icon
* fix the build
* remove logic for raiseAnIssueUrl
* fix the build
* fix lint
* Delete Links title in the box of links
---------
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
2025-02-13 11:31:57 +01:00
Karl Persson
0b4c622df8
AuthN: Refetch user on "ErrUserAlreadyExists" ( #100346 )
...
* AuthN: Refetch user on "ErrUserAlreadyExists"
2025-02-13 11:27:57 +01:00
Hugo Kiyodi Oshiro
95ee93a0d8
Plugins: Improve plugin details UX for core plugins ( #99830 )
2025-02-13 11:07:24 +01:00
Bogdan Matei
293f514854
Dashboard: Fix removing row repeats having indexes ending with 0 ( #100487 )
2025-02-13 11:58:28 +02:00
Misi
5a6d2f2e49
Auth: Add early return if auth_token is in the URL for JWT auth ( #100539 )
...
* Add early return
* Update public/app/app.ts
Co-authored-by: Victor Cinaglia <victor@grafana.com >
---------
Co-authored-by: Victor Cinaglia <victor@grafana.com >
2025-02-13 10:46:19 +01:00
Dominik Süß
8a8e47fcea
PluginExtensions: Added support for sharing functions ( #98888 )
...
* feat: add generic plugin extension functions
* updated betterer.
* Fixed type issues after sync with main.
* Remved extensions from datasource and panel.
* Added validation for extension function registry.
* Added tests and validation logic for function extensions registry.
* removed prop already existing on base.
* fixed lint error.
---------
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2025-02-13 10:18:55 +01:00
Konrad Lalik
fbf96916aa
Alerting: Use alerting-specific error boundary for page components ( #99980 )
...
Use alerting-specific error boundary for page components
2025-02-13 09:20:45 +01:00
Karl Persson
df64dd0762
LibraryElements: Propagate service identity in context when searching for dashboards ( #100220 )
...
* Propagate service identity in context when searching for dashboards
2025-02-13 09:17:16 +01:00
Mariell Hoversholm
2dee9ccbbc
APIServer: Cancel forked context after handler returns ( #100504 )
...
We currently cancel the context when the adapter function is done. We should wait for the entire handler we're wrapping
to finish before cancelling our context.
2025-02-12 23:54:58 -08:00
Ivan Ortega Alba
2b2b19478a
Dashboard V0->V1 Migration: Schema migration v41 ( #100554 )
2025-02-13 08:19:51 +01:00
Brendan O'Handley
0a88cb528a
Explore metrics: Show the native histogram banner once ( #99857 )
...
* use local storage to show the native histogram banner has been loaded
* remove banner logic from datatrail
* set banner shown in local storage on closing the banner
2025-02-12 16:51:58 -06:00
owensmallwood
a34e7e176d
Unified Storage: Sprinkles latency metric ( #100542 )
...
* add sprinkles latency metric
* fixes failing tests - forgot to register metric only once
2025-02-12 16:22:18 -06:00
Adela Almasan
3dcd885644
Data links: Show oneClick option just for specific panels ( #100298 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2025-02-12 16:14:52 -06:00
margotphelps
f9c329bbd1
Docs: updated supported versions with 11.5 ( #100548 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2025-02-12 16:15:28 -05:00
Adela Almasan
62e06cfac8
Actions: Fix support in StateTimeline and XYChart ( #100543 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2025-02-12 21:53:32 +02:00
Sergej-Vlasov
d1dee968c3
Schema V2: Adjust quick_ranges in time settings and remove time_options ( #100135 )
...
* adjut quickRanges type in v2
* clean up unused time_options property
* remove deprecated time_options property on time picker
* add schema migration for time_options
* adjust test
2025-02-12 19:23:09 +00:00
Ivan Ortega Alba
e60e217a23
Dashboard V0->V1 Migration: Schema migration v37 ( #99962 )
2025-02-12 21:19:57 +02:00
Ivan Ortega Alba
950726a3c5
Dashboard V0->V1 Migration: Schema migration v38 ( #99778 )
2025-02-12 19:52:39 +01:00
Alexander Akhmetov
c556f20627
Alerting: Fix default max_attempts value in the docs ( #100497 )
2025-02-12 19:24:22 +01:00
Alexander Akhmetov
3cc4320aa9
Alerting: Add rule conversion package ( #100224 )
2025-02-12 19:38:48 +02:00
Stephanie Hingtgen
e2a101cde3
Dashboard history: Track version created timestamp in restore ( #100451 )
2025-02-12 11:19:55 -06:00
Tobias Skarhed
21861867c1
Combobox: Fix broken styles for options ( #100536 )
...
Add basicOption styles to Combobox
2025-02-12 18:51:39 +02:00
Nick Richmond
d3de9dbce6
ExploreMetrics: Fix escaping of regex metacharacters in label filters ( #100513 )
...
* fix: don't over-escape label values
* test: handling of regex metacharacters in filters
2025-02-12 11:29:47 -05:00
Torkel Ödegaard
cfc529cb03
Design/Theme: Change dropdown background in dark themes ( #100415 )
...
* Dropdowns: Change background for Selects/Comboboxs
* Update
* Update
* Review fixes
* Update
2025-02-12 17:22:56 +01:00
Jack Baldry
2b054d4154
Correct release branch trigger glob ( #100496 )
2025-02-12 16:11:12 +00:00
renovate[bot]
f6f50f7693
Update scenes to v6 ( #100445 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 17:07:38 +01:00
Gilles De Mey
6e00954bb1
Devenv: Use newer label syntax ( #100507 )
2025-02-12 16:44:49 +01:00
Tom Ratcliffe
1f6142dd8f
Chore: Remove betterer:merge and revert previous changes to betterer:stats ( #98609 )
2025-02-12 17:14:43 +02:00
Tom Ratcliffe
a1e59a92b0
Alerting: Allow collapsing of rule sections and fix Grafana configure link ( #100290 )
2025-02-12 17:12:11 +02:00
Josh Hunt
a9b4b1e5be
Chore: pin tonistiigi/binfmt version ( #100510 )
...
* Chore: pin tonistiigi/binfmt version
* change version to qemu-v7.0.0-28
* uninstall first, log version
* uninstall first, log version
* uninstall first, log version
2025-02-12 08:37:04 -06:00
Pepe Cano
983829e47b
Alerting docs: remove admonition about auto-generated policies ( #100501 )
2025-02-12 15:13:05 +01:00
Misi
ee0a1391df
Auth: Add OrgRole to ID token ( #100383 )
...
* Changes for Users and ServiceAccounts
* Align tests
2025-02-12 05:51:29 -08:00
Solomon Himelbloom
a5c8b5ed83
docs: Copy code to clipboard (set-up-https.md) ( #100509 )
2025-02-12 14:42:12 +01:00
Nick Richmond
91242340c1
Prometheus: Fix operator handling when making label expressions utf-8 friendly ( #100475 )
...
* fix: operator handling
* refactor: stay dry
2025-02-12 07:09:22 -05:00
antonio
2f329c211d
docs>tutorials>minor-update ( #100488 )
...
* docs>tutorials>minor-update
* link to part 5 from part 4
* all pretty, no pity
2025-02-12 12:01:15 +01:00
Adela Almasan
33b48f7c6e
PanelPlugin: Allow inverting hideFromDefaults ( #100473 )
2025-02-12 04:46:00 -06:00
Laura Fernández
b44b82606a
MultiCombobox: Add grouping ( #100297 )
2025-02-12 11:19:28 +01:00
Pepe Cano
8e436fc473
Alerting docs: Add Enable notifications section to Configure contact points docs ( #100446 )
...
Alerting docs: Add `Enable notifications` section to `Configure contact points` page
2025-02-12 11:18:31 +01:00
Pepe Cano
2b4e1f3c51
Alerting docs: clarify that silences and mute timings do not interrupt alert evaluation ( #100414 )
...
* Alerting docs: clarify that `silences` and `mute timings` do not interrupt alert evaluation
* replace `ad-hoc` word
2025-02-12 11:12:40 +01:00
Pepe Cano
99c8d4b0c6
Update Intro > Queries and Conditions ( #95109 )
...
* Update `Intro > Queries and Conditions`
* Small tweaks (advanced options) and screenshots
* Change `Expressions` heading
* Set links from Alert rules introduction
* Minor intro changes
* small change due to recent updates
* fix vale errors
* fix vale error
* Remove unnecessary mention to `alertingQueryAndExpressionsStepMode` feature flag
2025-02-12 10:42:53 +01:00
Edvard Falkskär
eb4c428d4e
NodeGraph: Improve view traces for uninstrumented services ( #98442 )
...
* NodeGraph: Improve view traces for uninstrumented services
* Switch to onBuildUrl and more peer attributes
* Update unit tests
* Added test for new logic
* Open traces in same tab
* Update the tests
* bring back internal link
* Update public/app/plugins/datasource/tempo/datasource.ts
Co-authored-by: Joey <90795735+joey-grafana@users.noreply.github.com >
* Revert export of generateInternalHref
* Update tests after change from onBuildUrl to query function
---------
Co-authored-by: Domas Lapinskas <domasx2@gmail.com >
Co-authored-by: Joey <90795735+joey-grafana@users.noreply.github.com >
2025-02-12 11:28:44 +02:00
Mariell Hoversholm
a0701a42f1
APIServer: Propagate a new context with limited information ( #100374 )
...
* APIServer: Propagate a new context with limited information
* APIServer: Remove error return
* APIServer: Test that context propagation does fork
* APIServer: Fix golangci-lint lints
* chore: make update-workspace
2025-02-12 10:11:52 +01:00
Jean-Philippe Quéméner
aca024bcbb
fix(unified-storage): use dedicated mocks per storage type ( #100389 )
2025-02-12 09:59:21 +01:00
Alexander Akhmetov
9593e51da7
Alerting: conversion API structure ( #100258 )
2025-02-12 08:13:21 +01:00
jackyin
9b37e9249a
Dashboard: Folder move unexpected behavior ( #100394 )
...
* Dashboard: Folder move unexpected behavior
* format
2025-02-12 08:16:01 +02:00
Sven Grossmann
d199c33d7e
Log Context: Fix bug where variables are not replaced in dashboards ( #100433 )
...
* Log Context: Fix bug where variables are not replaced in dashboards
* add objects to act as `row` and `options`
* run prettier
* fix lint
2025-02-11 20:25:52 +01:00
Stephanie Hingtgen
df84d928e2
K8s: Folders: Fix legacy search ( #100393 )
2025-02-11 13:14:25 -06:00
Staton Hysell
ab74852fc9
PanelEdit: Align chevron direction ( #100386 )
...
Adjusted the collapsable section chevron
+ point down when closed
+ point up when expanded
2025-02-11 13:16:19 -05:00
Charandas
ccb442558f
chore: fix dockerfile for local development ( #99721 )
2025-02-11 10:00:15 -08:00
Ryan McKinley
a5355fd66c
Storage: Add command line tool to migrate legacy dashboards (and folders) to unified storage ( #99199 )
2025-02-11 19:57:46 +02:00
Jacob Valdez
b6ea06f259
Docs: Updating manual installation instructions ( #98834 )
...
* Docs: adding additional installation steps to Grafana on openSUSE docs
* Docs: Adding systemd service info for grafana manual install
* Finalizing first edit with tested steps
* spacing adjustment and adding steps to RHEL/Fedora
* Adding a note based on Marins feedback
* A slight adjustment based on feedback from Marin and adding steps to Debian installation
* adjusting some wording
* adjusting naming conventions for Debian instructions
* changing "open-source" to "open source"
* vale and review edits
* deleting erroneous character in shortcode
* updating some shortcodes
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2025-02-11 11:42:30 -06:00
Rares Mardare
6d374a3d7f
Configuration tracker: Update copy in IRM and point to new IRM slack integration ( #100440 )
...
Update copy + point to new IRM slack
2025-02-11 18:41:34 +01:00
Christopher Moyer
53ae85ca57
docs: updates to support prometheus data source learning journey ( #100363 )
...
* updates to support prometheus data source learning journey
* makes prettier
2025-02-11 10:20:47 -06:00
ismail simsek
c15c9f8af6
Prometheus: Fix cursor jump in prometheus code editor ( #100273 )
...
* set save view state prop
* remove custom onChange function
2025-02-11 16:55:54 +01:00
Kevin Minehart
a8b98ded66
CI: Add release branches to patch automation ( #100442 )
...
* CI: Add release branches to patch automation
* Update .github/workflows/create-security-patch-from-security-mirror.yml
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
---------
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
2025-02-11 17:41:46 +02:00
Jean-Philippe Quéméner
d1b4162a33
refactor(unified-storage): measure also failed queries ( #100430 )
2025-02-11 16:19:43 +01:00
Kyle Brandt
f7588376df
SQL Expressions: (Chore) Update code for latest plugin-sdk data pkg ( #100425 )
...
Use new NilAt and SetRefId methods
2025-02-11 15:15:54 +00:00
Yuri Tseretyan
28f21e0a0d
Alerting: Do not record rule version if no difference ( #100364 )
2025-02-11 09:46:26 -05:00
renovate[bot]
6da6660def
Update dependency esbuild-plugin-browserslist to ^0.16.0 ( #100420 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-11 16:46:16 +02:00
Yuri Tseretyan
4cac3158c7
Alerting: Fix alert rule copy to include metadata ( #100212 )
...
* copy metadata
* add tests for copy and generator
* extract copy rule to a production method and update usages
* fix tests
2025-02-11 09:46:02 -05:00
renovate[bot]
79bd3ffd8c
Update dependency rollup-plugin-esbuild to v6.2.0 ( #100421 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-11 14:44:41 +00:00
Jean-Philippe Quéméner
8a9f6416d2
fix(unified-storage): error on failed primary deletes in mode2 ( #100427 )
2025-02-11 15:39:39 +01:00
renovate[bot]
14c8eb2373
Update dependency esbuild-loader to v4.3.0 ( #100423 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-11 16:27:29 +02:00
renovate[bot]
8c0e087ce2
Update dependency esbuild to v0.25.0 [SECURITY] ( #100426 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-11 16:04:18 +02:00
Alexander Zobnin
7234a17d1d
Zanzana: Use authzService audience ( #100417 )
2025-02-11 14:25:30 +01:00
Sergej-Vlasov
bbe21bb1d2
Bump Scenes to 5.42.0 ( #100205 )
...
* update scenes and weekStart prop type
* update test
* adjust weekStart type in schemaV2
* clean up weekStart error message
* clean up weekStart in test data
2025-02-11 13:20:47 +00:00
Laura Fernández
43d7d00247
Combobox: fix check for existing options when creating a custom value ( #100123 )
2025-02-11 14:13:42 +01:00
Alexander Zobnin
5118e82e8c
Zanzana: Run reconciliation in its own service ( #100361 )
...
* Zanzana: Start reconciliation in its own service
* cleanup
* update go workspaces
* refactor
* remove unused code
* move func definition
2025-02-11 14:09:39 +01:00
Ryan McKinley
e3cb73301e
Authz/Schema: Remove unused stub cue definitions ( #100387 )
2025-02-11 15:24:11 +03:00
Oscar Kilhed
6ee3c71ffe
Dashboards: refactor transform scene layout to save model and transform save model to scene layout, schema v2 ( #100322 )
...
* Add tests
* refactor transformSaveModelToSchemaV2 and transformSceneToSaveModelV2
* move default grid serializer functions outside of class
* simplify layoutmanager descriptor
* add test for SaveModel -> Scene
* Fix lint issues
* remove auto added import
* Fix name
* Fix test typo
2025-02-11 13:08:07 +01:00
Victor Marin
e17fd5e8ad
DashboardDS: Re-run dashboard queries within MixedDS on transformation reprocessing ( #100370 )
...
* fix scenario where results subscription is lost due to transformations
* fix
2025-02-11 13:39:00 +02:00
Karl Persson
bfa4fa3c68
Authz: Refactor folder tree ( #99554 )
...
* Refactor folder tree to its own structure
* Make it possible to json encode the tree
* Use iterations for Ancestors and Children
---------
Co-authored-by: IevaVasiljeva <ieva.vasiljeva@grafana.com >
2025-02-11 12:36:11 +01:00
Torkel Ödegaard
a1dacc24b9
CSS: Update generated scss file ( #100413 )
2025-02-11 12:35:21 +01:00
Torkel Ödegaard
9bdacf3833
DesignSystem: Menu and popover styling update to use new elevated background token ( #100255 )
...
* DesignSystem: Menu and popover styling tweak proposal
* Fix submenu
* Themes: Add elevated prop
* Update themes
* update
* Fixed tests
* Update
* fix markdown lint
* Update packages/grafana-data/src/themes/createColors.ts
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
* Update contribute/style-guides/themes.md
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
* Update
* Update
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2025-02-11 12:27:04 +01:00
Ashley Harrison
d87ef806f0
LoadingBar: Use a theme variable instead of hardcoded hex color ( #100407 )
...
use the theme variable in our loadingbar instead of a hardcoded hex color
2025-02-11 11:17:15 +00:00
Andre Pereira
d48802cdfb
Tempo: TraceQL metrics streaming ( #99037 )
...
* TraceQL metrics streaming POC
* Reduce duplicate frames by using scan() and combineResponses()
* Trying to remove samples outside of time range
* Remove code to clean out of range
* Metrics streaming config toggle
* Sync opening the search and metrics options
* Fix tests
* Fix issues after conflicts
* Fix tests
* Use absolute value when computing minXDelta
* Revert last commit
* Fix frame sorting
* Remove all duplicates
* Use fields from schema to get the frames
* Use FieldCache
* Address PR comments
2025-02-11 11:11:01 +00:00
Jack Westbrook
cbe5741096
Fix: Optimise frontend Postgresql plugin cache busting ( #100406 )
...
fix(postgresql): add version for optimised cache busting
2025-02-11 12:08:19 +01:00
antonio
cfb26f2a4b
docs: new alerting tutorial - part 5 ( #100367 )
...
* docs: new alerting tutorial - part 5
* all pretty, no pity
* title
* vale vale
* minor formatting issues
* minor formatting issues2
* format
* prettier
* docker compose
* creds
* format
* even prettier
2025-02-11 12:04:24 +01:00
Ashley Harrison
70b86eeb6d
App: Fix web app behaviour on iOS ( #100382 )
...
readd apple-mobile-wep-app-capable
2025-02-11 10:01:33 +00:00
Vishal N
b0dd6e900a
Docs: Fixed hyperlinks pointing to supported auth providers ( #100404 )
2025-02-11 11:00:36 +01:00
Esteban Beltran
9f77c86b21
Frontend Sandbox: Allow enabling sandbox before installing plugins ( #100365 )
...
* Frontend Sandbox: Allow enabling sandbox before installing plugins
2025-02-11 11:52:21 +02:00
Josh Hunt
e5154ce799
Combobox: Add tests for labels with Combobox ( #100044 )
...
* Add tests for labels with Combobox
* clean
2025-02-11 09:44:38 +00:00
Jean-Philippe Quéméner
6eaf702e96
fix(unified-storage): return legacy data in mode 2 ( #100353 )
2025-02-11 10:34:56 +01:00
Andres Martinez Gotor
b6c0db31d9
Advisor: Clean up old checks ( #100375 )
2025-02-11 09:36:46 +01:00
Andres Martinez Gotor
f8efdaf88c
apiserver: Avoid panic for DELETE requests ( #100372 )
2025-02-11 09:18:57 +01:00
jackyin
f2d34254d3
Panel: Editor theme can't change ( #99621 )
...
editor theme can't change
2025-02-11 09:51:59 +02:00
Gábor Farkas
e4ef71b78e
querier: handle datasource-not-found ( #100175 )
2025-02-11 08:25:27 +01:00
Isabel Matwawana
63216a3e6e
Docs: Vale fixes ( #100277 )
2025-02-10 14:19:44 -05:00
Ida Štambuk
7092fd269d
Elasticsearch: Remove frontend testDatasource method ( #99894 )
2025-02-10 18:33:36 +01:00
Ida Štambuk
4e48b7557c
CloudWatch: Track Logs Insights query language ( #100254 )
...
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com >
2025-02-10 18:13:26 +01:00
Sarah Zinger
0152f414f0
DS Apiservers: return 404 when receiving a datasource not found error ( #100025 )
...
* DS Apiservers should return a k8s 404 error
* Do not swallow status codes
* Updates from initial CR.
* Add test for ds apiserver to retunr 404 when a datasource is not found
* Didn't intend for a change here
2025-02-10 12:07:51 -05:00
Alex Khomenko
27ece859e7
MultiCombobox: Export from grafana/ui ( #100368 )
...
* MultiCombobox: Export from grafana/ui
* Fix typos
* Update options styles
2025-02-10 17:37:17 +02:00
Moustafa Baiou
7dee4d1808
Alerting: Allow specifying uid for new rules added to groups ( #99858 )
...
When modifying rule groups the `uid` can be specified but only if the rule already existed in the DB. If the rule is new the update would be rejected.
This updates the RuleGroup provisioning apis to allow specifying the `uid` when creating/updating rule groups.
Additionally, the RuleGroupIdx was not being updated when rules were reordered in the group.
Context: https://github.com/grafana/terraform-provider-grafana/pull/1971#issuecomment-2599223897
Relates to: https://github.com/grafana/terraform-provider-grafana/issues/1928
Fixes : #98283
2025-02-10 10:28:34 -05:00
ismail simsek
55e7c4ae6d
Prometheus: Get the utcOffset value of timezone when it's specified ( #99910 )
...
* get the utcOffset value of timezone when it's specified
* Update packages/grafana-prometheus/src/datasource.ts
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* calculate utcOffset from timezone when the request timezone is not browser
* lint
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2025-02-10 16:11:06 +01:00
Yuri Tseretyan
1b8db233a7
Alerting: Rule Version API to Ignore versions without diff ( #100093 )
2025-02-10 09:20:35 -05:00
Marco Schaefer
dec07c4c34
Update-faro-versions-in-grafana-packages ( #100354 )
...
* update faro versions in grafana-runtime
* update faro packages in root
* update Faro version in Grafana UI
* upgrade faro version in grafana-prometheus
* replace deprecated type
2025-02-10 15:07:32 +01:00
beejeebus
02caf915a5
Don't remove DWARF info from Go binaries in dev ( #100328 )
...
Only ask the linker to strip DWARF information if we're not in
dev, to avoid seeing stuff like this when using delve:
~ $ dlv attach $(pgrep grafana)
(dlv) l main.main
Command failed: location "main.main" not found
After this change:
~ $ dlv attach $(pgrep grafana)
Type 'help' for list of commands.
(dlv) l main.main
Showing /home/justin/code/grafana/pkg/cmd/grafana/main.go:23 (PC: 0xac93533)
18: var commit = gcli.DefaultCommitValue
19: var enterpriseCommit = gcli.DefaultCommitValue
20: var buildBranch = "main"
21: var buildstamp string
22:
23: func main() {
24: app := MainApp()
25:
26: if err := app.Run(os.Args); err != nil {
2025-02-10 08:43:31 -05:00
Torkel Ödegaard
68700e3d7d
TimeRangePicker: Options list padding ( #100343 )
2025-02-10 14:12:23 +01:00
Josh Hunt
30abff9998
Chore: Bump undici ( #100352 )
2025-02-10 13:05:48 +00:00
Josh Hunt
9697a699f2
Chore: Remove unused knip dependency ( #100351 )
2025-02-10 14:40:45 +02:00
Andres Martinez Gotor
42170ad23a
Advisor: Create checks following a schedule ( #100282 )
2025-02-10 13:15:41 +01:00
Alex Khomenko
2518012569
grafana-ui: Update InlineField error prop type to React.ReactNode ( #100347 )
2025-02-10 13:46:46 +02:00
Ryan McKinley
7c8fddc729
Chore: remove CVE from code scanning tool ( #100312 )
2025-02-10 13:07:04 +02:00
Gábor Farkas
390b5eb6d4
go.mod: updated grafana-plugin-sdk-go ( #100342 )
...
* go.mod: update grafana-plugin-sdk-go
* make update-workspace
2025-02-10 11:38:30 +01:00
Gilles De Mey
afab71e28c
Alerting: Remove rule group edit from single rule editor ( #100191 )
...
remove rule group edit from single rule editor
2025-02-10 11:13:28 +01:00
Konrad Lalik
6723159b12
Alerting: Fix useAlertingQueryRunner re-rendering loop ( #100206 )
...
* Fix AlertingQueryRunner infinite re-rendering loop
* Update tests
2025-02-10 10:51:54 +01:00
Josh Hunt
00155abf1b
Codeowners: Make Grafana Frontend Platform only own Grafana UI documentation ( #100314 )
...
* Codeowners: Make Grafana Frontend Platform exclusive owners of MDX documentation
* more
2025-02-10 09:50:49 +00:00
Misi
acc1521929
Auth: Fix redirect with JWT auth URL login ( #100295 )
...
fix
2025-02-10 10:48:35 +01:00
Elliot Kirk
95e61f63f7
Faro: Upgrading faro deps to 1.13.1, enabling error serializer ( #100145 )
...
* upping faro deps, enabling error serializer
* linting
* fix lint errors
* more linting stuff
* yarn lock
2025-02-10 09:32:47 +01:00
Sam Jewell
45775dd6ad
Skip flakey test ( #100251 )
2025-02-10 07:40:32 +00:00
Adela Almasan
f5c049012b
Chore: Data links and Actions components refactor ( #100097 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2025-02-07 20:03:05 -06:00
Adela Almasan
bce05cd48d
VizActions: Add confirmation message ( #100012 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2025-02-07 16:58:09 -06:00
Scott Lepper
378bb6ea3f
[search] folder name lookup performance ( #100154 )
...
[search] use search for folder name lookup
2025-02-07 17:19:23 -05:00
owensmallwood
196029f287
Unified Storage: Adds more spans to handleEvent ( #100304 )
...
adds more spans to handleEvent
2025-02-07 19:43:02 +01:00
Will Assis
7e11e604c7
[search] fix offset param in finddashboards ( #100302 )
...
* fix offset param in finddashboards
* separate offset from page in k8s search endponit
2025-02-07 13:24:27 -05:00
owensmallwood
bf27e6d3ed
Unified Storage: Fix legacy dashboard query when using continue token ( #100244 )
...
* query for rows less than the continue token LastID since the queries are sorted by dash ID in DESC order
* run dashboard query tests
2025-02-07 12:16:41 -06:00
Torkel Ödegaard
79d7e11fa4
Menu: Uniform padding to make menu item hover state look better ( #100275 )
...
* Menu: Uniform padding
* tweak menu header
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2025-02-07 19:07:10 +01:00
Haris Rozajac
f5d8f42635
Dashboard Scene: Fix unnecessary diffing ( #100158 )
...
* Fix unnecessary diffing
* use a diferent approach; update legacyId type
* fix test
2025-02-07 10:47:07 -07:00
AsocPro
7b48670104
Alerting: Remove leftover legacy alerting types ( #100162 )
2025-02-07 17:46:12 +00:00
Will Assis
7c9f47ac67
[search] handle folderids query param ( #100223 )
...
handle folderids query param
2025-02-07 12:24:21 -05:00
Ashley Harrison
0bd4e3bda2
Theme: properly clip corners in loki/prom query editor ( #100253 )
...
properly clip corners in loki/prom query editor
2025-02-07 17:17:46 +00:00
Ethan
bf413643c8
Remove unused SBOM report workflow from GitHub Actions ( #100124 )
...
* Remove SBOM report workflow from GitHub Actions
* Remove SBOM report workflow from CODEOWNERS
2025-02-07 18:11:11 +01:00
Alexander Akhmetov
97109b36e3
Update grafana/alerting package from 995709fe8d64 to 04c87cf39038 ( #100293 )
2025-02-07 18:38:22 +02:00
Fayzal Ghantiwala
7ae8058c8b
Alerting: Return 404 when /api/ruler/grafana/api/v1/rules/{Namespace}/{Groupname} does not exist ( #100264 )
...
* Return a 404 when rule group doesn't exist
* Update tests
* Update swagger doc and tests
2025-02-07 16:24:28 +00:00
renovate[bot]
9ce6c69996
Update dependency nanoid to v5.0.9 [SECURITY] ( #100279 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-07 15:25:29 +00:00
Bogdan Matei
be42685852
Dashboards: Add tabs layout ( #100127 )
2025-02-07 16:50:53 +02:00
Andres Martinez Gotor
f607bcd43f
Advisor: Replace Error naming with Failure ( #100262 )
2025-02-07 15:48:18 +01:00
Agnès Toulet
0beb7e668b
E2E: Add PDF/CSV/Image comparison tasks ( #99104 )
...
* E2E: Add tasks for new reporting tests
* try to switch to pdf-parse
* fix pdf comparison
* add log
* increase threshold
* clean up
* apply review feedback
* improve logs + fix local setup for reporting
* format
2025-02-07 15:46:32 +01:00
Bogdan Matei
158c5443b5
Dashboard: Fix for overwriting an edited dashboard in the old architecture ( #100247 )
2025-02-07 16:44:55 +02:00
Alex Khomenko
53030e7960
Card: Render description element based on children type ( #100276 )
2025-02-07 16:39:13 +02:00
Mariell Hoversholm
dfaa12b800
Provisioning: Sync API with current feature branch ( #100252 )
...
* Provisioning: Jobs: Define repository name field
* Provisioning: Jobs: Separate options per job type
* Provisioning: Define a sanitised settings resource
* Provisioning: Jobs: Define a job summary
* Provisioning: Remove linting
* Provisioning: Update docs for a few fields
* Provisioning: Remove HelloWorld
* Provisioning: Replace Repository with Message in job info
* Provisioning: Remove YAML support
* Provisioning: Remove custom folder specification
* Provisioning: Support read-only repositories
* Provisioning: Remove edit options
* Provisioning: Add sync options for repositories
* Provisioning: Add resource statistics
* Provisioning: Make slices atomic lists
* Provisioning: Message list needs to exist even if empty
If we don't do this, we can't clear the messages field, leading to buggy UX.
* Provisioning: Support incremental syncing
* Provisioning: Remove the 'items' subresource workaround
* Provisioning: Add resource list
* Provisioning: Reformat
* Provisioning: Declare new types
* OpenAPI: Generate openapi JSON spec from generated code
* Codegen: Generate OpenAPI spec
* Provisioning: Support generating frontend API
* Codegen: Generate Go code
* Provisioning: Define the base API
* Codegen: Generate frontend endpoints for provisioning
* Refactor: yarn prettier:write
* Provisioning: Tiger team takes ownership
* Chore: Remove dir we haven't added yet
* Provisioning: Remove frontend
* Test: Update example repositories
2025-02-07 15:35:55 +01:00
Torkel Ödegaard
9d7a4a53e4
Themes: Adds 1 more GrafanaCon theme (wip) ( #100228 )
...
* Themes: Gloom theme wip
* Themes: Gloom theme wip
* refactor
* A bit brown maybe?
* Update secondary to also be a bit brownish orangy
* Not super happy
* down a bit
* Progress
* Update
* Update
* orange primary again
2025-02-07 15:27:56 +01:00
Kristina
9fbb0b6636
Panel edit: Remove use of SheetJS ( #100161 )
...
Remove SheetJS
2025-02-07 08:21:14 -06:00
Todd Treece
6af67197a7
Dual Writer: Remove list comparisons in mode 2 & 3 ( #100215 )
2025-02-07 09:17:53 -05:00
Oscar Kilhed
a412394a14
Dashboards: Save rows and responsive grid layouts in v2 ( #100035 )
...
* save rows and responsive grid layouts in v2
* Add back accidentally removed assert
* adress feedback
* use getGridItemKeyForPanel
* Fix import
* fix another import
* Remove RowGridLayout
2025-02-07 14:45:04 +01:00
Alex Khomenko
882b993496
Card: Use div for description ( #100272 )
2025-02-07 15:30:22 +02:00
Georges Chaudy
6e748a9ee7
fix: Ensure we check the user identity for search ( #100190 )
...
Ensure we check the user identity for search
2025-02-07 12:32:45 +01:00
Piotr Jamróz
c43517d278
Explore: Fix resizing split view with Loki query editor ( #100257 )
2025-02-07 12:05:45 +01:00
Mariell Hoversholm
e815a2850e
Provisioning: Integration test that Repository resources work ( #100197 )
...
* Provisioning: Set up server in practice
* Provisioning: Integration test that Repository resources work
2025-02-07 12:04:58 +01:00
Bogdan Matei
a51e785bc1
Dashboards: Finalize refactoring for dynamic dashboards ( #100198 )
2025-02-07 12:57:54 +02:00
Andrej Ocenas
4b9fee61a8
QueryLibrary: Move to enterprise ( #100133 )
2025-02-07 11:09:51 +01:00
Giuseppe Guerra
ccb9cab131
Plugins: Add synchronous CDN plugin loader ( #99096 )
...
* WIP
* Run plugin validations and validation steps sequentially if feature is off
* Remove dependency between sources.Service and pluginscdn.Service
* lint
* Parallelize validation only if class is CDN
* re-generate feature toggles
* remove waitgroup usage
* PR review: Add loader concurrency limit setting
* re-generate feature toggles
* pr review feedback
* fix const name
* Skip module.js validation for cdn plugins
* do not run validation steps in parallel
* lint
* reduce diff
* re-generate feature toggles
* lint
* pr review feedback
* remove leftover config.PluginManagementCfg from sources.Service
2025-02-07 11:07:08 +01:00
Andres Martinez Gotor
e291140be3
Advisor: Run check steps in parallel ( #100200 )
2025-02-07 10:57:26 +01:00
Kyle Brandt
6dc98dbbcc
SQL Expressions: Add str_to_date function and unskip test ( #100226 )
2025-02-07 11:51:55 +02:00
Levente Balogh
9da423045e
Advisor: Enable frontend code generation for the checktype kind ( #100208 )
...
nit: enabling frontend code generation for the `checktype`
2025-02-07 10:49:27 +01:00
Kyle Brandt
d196b789e2
SQL Expressions: Add more SQLNodes and funcs to allow list ( #100227 )
...
sql_expr: Add more Nodes and funcs to allow list
2025-02-07 09:44:17 +00:00
Arati R.
d62c490af5
UniStore Big Objects: Fix spec rebuilding ( #100183 )
...
* Fix big object spec rebuilding and associated test
---------
Co-authored-by: Jean-Philippe Quémémer <jeanphilippe.quemener@grafana.com >
2025-02-07 09:29:25 +01:00
Brendan O'Handley
d16f2315a4
Explore metrics: Always check that custom var is present for otel dep env migration ( #100233 )
2025-02-06 18:26:25 -06:00
Jev Forsberg
74b2b5fb19
Chore: Update drone.yml signature ( #100236 )
...
baldm0mma/update drone signature
2025-02-06 15:58:56 -07:00
Jev Forsberg
8e3327a446
Chore: Update grabpl version to v3.1.2 ( #100157 )
...
baldm0mma/ update grabpl version
2025-02-06 15:23:51 -07:00
Jean-Philippe Quéméner
c8609b8a61
feat(unified-storage): keep tags on reduce of dashboards ( #100230 )
2025-02-06 22:23:00 +01:00
Sam Jewell
f4426e22bf
SQL Expressions: Bump go-mysql-server dependency to main ( #100222 )
...
Bump go-mysql-server dependency to `main`
This is so we receive a few bug fixes - fixes to these issues:
- https://github.com/dolthub/dolt/issues/8807
- https://github.com/dolthub/dolt/issues/8735
- https://github.com/dolthub/dolt/issues/8724
2025-02-06 17:34:35 +00:00
Alexander Akhmetov
a9ce930634
Alerting: Promote alertingSaveStateCompressed flag to public preview ( #99935 )
2025-02-06 18:09:43 +01:00
Victor Marin
2b3ccfe5b9
DynamicDashboards: Revert unnecessary empty page on new layouts ( #100218 )
...
Revert unnecessary empty page on new layouts
2025-02-06 18:37:28 +02:00
Tobias Skarhed
677060862c
Combobox: Fix list not being virtualized initially in some cases ( #100188 )
...
* Combobox: Set arbitrary initial max size
* Remove ?
* Set initial values to 0
2025-02-06 17:34:52 +01:00
Will Assis
1467d4b3e3
[search] Legacy search fallback support legacy query params ( #99765 )
...
* add support for deleted query param
* support tag query param in modes 2 and below
* handle dashboardIds
* hhandle dashboardUIDs
* handle folderUIDs query param
* handle page query param when hitting legacy storage
* handle sort query param
* handle type query param
* re-enable search fallback
* remove folder search workaround and fix /api/search to return both folders and dashboards when no title or type is provided
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-02-06 11:30:47 -05:00
Matthew Jacobson
ccb0e9222a
Alerting: Upgrade grafana/alerting to use EmbeddedContents ( #99983 )
...
* Upgrade grafana/alerting to include EmbeddedContents for email images
2025-02-06 11:29:43 -05:00
Karl Persson
011301f06f
Authz: client cache ( #100195 )
...
* Reduce client permissions cache for authz client
* Adjust server cache ttl
2025-02-06 17:16:30 +01:00
Josh Hunt
f8509273cb
Slider: Fix text input box being too wide ( #100138 )
...
* Fix Input width from className not being respected
* Also use width prop in Slider
2025-02-06 16:14:38 +00:00
Sarah Zinger
0035ed8a5e
Add log line for unexpected queries in ds querier ( #100147 )
2025-02-06 11:05:30 -05:00
Karl Persson
126396399e
Folder+Dashboard: Resolve parent folders as service in search ( #100185 )
...
Resolve parent folders as service to guarantee that we can fetch the title
2025-02-06 16:40:07 +01:00
Haris Rozajac
1bf53e7a5f
Dashboard Schema V2: E2E setup ( #99843 )
...
* basic setup
* update CODEOWNERS
* update name
* add temp test that ensures we are loading schema V2 json in the UI
* update language
* test with yarn cache and combine steps
* revert combine
* remove commented out code
* Run current dashboard suite, make workflow optional
* make job always succeed
* Remove temp v2 suite
* don't run on draft PRs
* command for old arch
2025-02-06 08:33:18 -07:00
Andres Martinez Gotor
05ea450dd2
Drone: Add apps directory for backend tests ( #100204 )
2025-02-06 17:01:50 +02:00
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
Matias Chomicki
ff926c5ac5
Logs Panel: Base elements for the new visualization ( #99084 )
...
* Create base components
* Create measurement service
* Add container for list
* Use measurement to render virtualized log lines
* Match rendered styles in 2d context for measuring
* Improve virtualization initialization and handle resize
* Introduce log line processing
* Virtualization: fix measurement of lines with line endings
* Virtualization: include scrollbar width in calculation
* Remove logs
* Virtualization: optimize text measurement
* Add support for forceEscape
* Log line: properly style wrapped/unwrapped lines
* Virtualization: handle possible overflows
* Improve overflow handling
* LogList: remove scroll position ref
* Remove logs
* Remove log
* Add top/bottom navigation buttons
* Add timestamp to pre-processing
* Add showtime support
* Fix imports
* Chore: simplify dedup
* Show level
* Refactor measurement and measure level and timestamp
* Virtualization: skip unnecessary measurements
* Improve measurements to minimize overflow chance
* Introduce logline colors
* Update palette
* Remove pretiffying
* Add comment
* Remove unused variable
* Add color for info level
* Fix dependencies
* Refactor overflow to account for smaller estimations
* Debounce resizing
* Fix imports
* Further optimize height calculation
* Remove outline
* Unused import
* Use less under/overflow method
* Respond to height changes
* Refactor size adjustment to account for layout changes
* Add Logs Panel support
* Add margin bottom to log lines
* Remove unused option
* LogList: container div should never be null
Bad API design
* Log List: make app not undefined and update containerElement usages
* New Logs Panel: Create as new visualization (#99427 )
* Logs Panel: clean up old panel
* Logs Panel New: create as new visualization
* Plugin: mark as alpha
* Logs panel new: hold container in a state variable
* Logs panel: fix no data state
* Create newLogsPanel feature flag
* Logs: use new feature flag
* Prettier
* Add new panel to code owners
* Logs Navigation: add translations
* Address betterer issues
* Fix import
* Extract translations
* Update virtualization.ts
* Virtualization: add DOM fallback for text measurement
* Run gen-cue
* plugins_integration_test: add logs-new to expected plugins
2025-02-04 18:40:17 +01:00
Sven Grossmann
87bb7c3947
Explore: Fix casing for exploreHideLogsDownload setting ( #100081 )
2025-02-04 18:32:08 +01:00
Todd Treece
3fd1b67381
Dashboards: Apply schemaVersion migration in v2 conversion ( #99973 )
2025-02-04 12:11:08 -05:00
Christopher Lord
e74cf72d99
Plugin Metrics: Eliminate data race in plugin metrics middleware ( #99396 )
...
fix: eliminate data race in plugin metrics middleware
A data race was detected when multiple goroutines accessed the `MetricsMiddleware`
simultaneously. The race occurred because a single `MetricsMiddleware` instance
was being shared across goroutines while its `BaseHandler` field was being
modified during middleware chain setup.
Fix by creating a new `MetricsMiddleware` instance for each middleware chain,
while safely sharing the thread-safe Prometheus metrics and plugin registry.
This maintains proper metrics collection while eliminating the mutable shared
state that caused the race condition.
Original error was detected here:
```
WARNING: DATA RACE
Read at 0x00c0039c0790 by goroutine 4486:
github.com/grafana/grafana-plugin-sdk-go/backend.(*ErrorSourceMiddleware).CallResource()
/Users/clord/src/grafana/irm-devstack/.devenv/state/go/pkg/mod/github.com/grafana/grafana-plugin-sdk-go@v0.261 .0/backend/error_source_middleware.go:93 +0x40
github.com/grafana/grafana-plugin-sdk-go/backend.BaseHandler.CallResource()
...
```
2025-02-04 16:54:27 +00:00
Karl Persson
b16e290444
Auth: Remove feature toggle authAPIAccessTokenAuth ( #100055 )
...
Remove feature toggle
2025-02-04 16:31:24 +01:00
Tom Ratcliffe
bb15f24dcd
Alerting: Update design of rule details tab and add updated by ( #99895 )
2025-02-04 16:56:17 +02:00
Victor Marin
00bcb61382
DynamicDashboards: Open edit overlay on selection if pane is collapsed ( #99885 )
...
* open edit pane on selection
* stuff
* use drawer instead for override panel options
* reverts
* closing edit pane while selection exists should also clear selection
* set width
2025-02-04 16:54:29 +02:00
Sergey Naumov
eb2f8182c0
Dashboards: Allow custom quick time ranges specified in dashboard model ( #93724 )
...
* TimeRangePicker: allow to customize quick ranges per dashboard
* TimeRangePicker: show selected custom time range using its name
* rangeutil: add tests for describeTextRange + quickRanges
* Fix up tests, and add an extra case for hidden time ranges
* Don't construct an object to find options, add findRangeInOptions util
* fix type errors detected by TypeScript
---------
Co-authored-by: joshhunt <josh@trtr.co >
2025-02-04 14:36:28 +00:00
beejeebus
cfae9d20d2
Add errorsource to InfluxDB datasource plugin fixes #1072 ( #99900 )
...
This PR adds `backend.ErrorSourceDownstream` values to all `backend.DataResponse`
values where it's certain that the error wasn't the result of the
InfluxDB datasource plugin.
2025-02-04 09:33:32 -05:00
Todd Treece
1f0ff19471
Dashboards: Fix schemaVersion test order ( #100016 )
2025-02-04 09:16:03 -05:00
Isabel Matwawana
4009433792
Docs: fix link text ( #99932 )
2025-02-04 09:06:39 -05:00
Victor Marin
2efb120737
DynamicDashboards: Fix scroll positioning when returning to dashboard ( #100047 )
...
* fix scroll positioning in new layouts editor
* refactor
2025-02-04 15:51:43 +02:00
Karl Persson
958d6e5e3a
Auth: Update authlib ( #100041 )
...
Bump authlib
2025-02-04 14:36:48 +01:00
Agnès Toulet
cd7c9f8666
Share: Fix short links when root_url is different from the browser URL ( #99950 )
...
Share: Fix short links when appUrl is misconfigured
2025-02-04 14:00:55 +01:00
Ivana Huckova
6e7e389ee2
Report grpc canceled timeouts as cancelled status and not error ( #99981 )
2025-02-04 13:31:03 +01:00
Bogdan Matei
d06d646aa1
DashboardList: Throttle the re-renders ( #99982 )
2025-02-04 14:14:28 +02:00
brendamuir
5d232daf0b
Adds johnny as codeowner for alerting docs ( #99877 )
...
* Adds johnny as codeowner for alerting docs
* changes maintainer
2025-02-04 13:10:57 +01:00
Bogdan Matei
c0f8d58079
Bump Scenes to 5.41.2 ( #100036 )
2025-02-04 13:18:37 +02:00
Alexa V
0fced84796
Dashboards: SchemaV2 - Fix saving dashboards on folder ( #100037 )
...
* Remove folder annotations not relevant to v2 api
* Add unit test for folder annotations
2025-02-04 12:57:38 +02:00
jackyin
73e3b04565
Dashboard: Playlist - Fix issue with back button ( #99401 )
...
* Playlist: Goback not work
* add unit test
* format code
2025-02-04 11:44:52 +01:00
Ashley Harrison
c94b8b78ae
API client generation: Add verify-api-clients step to drone ( #99987 )
...
* add verify-api-clients step to drone
* change to check the verify step fails
* ignore conf dir
* rerun make drone
* undo change to make step fail
2025-02-04 09:13:44 +00:00
Alex Khomenko
443cb092b4
RTK APIs: Support multiple source files ( #100029 )
2025-02-04 10:32:29 +02:00
Stephanie Hingtgen
0fa2d182d6
K8s: Fix dashboard deletion in folders ( #100023 )
2025-02-04 06:38:57 +02:00
Stephanie Hingtgen
8ac9c47222
Folders: Validator: add temporary fix ( #100019 )
2025-02-03 17:08:15 -06:00
Jev Forsberg
88c62cd828
Chore: Manually update versions and update grafana-test-datasource to "workspace:*" ( #99999 )
...
* baldm0mma/ manually update deps and run yarn
* baldm0mma/ update version from workspace to actual version
* baldm0mma/ revert some workspaces
* baldm0mma/ update workspace
* baldm0mma/ update deps
2025-02-03 15:12:05 -07:00
Jev Forsberg
46af49f907
Chore: Update alpine build docker image ( #99998 )
...
baldm0mma/ update alpine build image
2025-02-03 15:06:29 -07:00
Pepe Cano
5fe6479a10
Alerting docs: update screenshot (modify NoData/Error state) ( #99996 )
2025-02-03 22:01:18 +01:00
Scott Lepper
9677f4b692
[search] fix folder sync ( #99913 )
...
[search] fix folder sync
2025-02-03 15:55:22 -05:00
Nick Richmond
29fa6dfc8d
ExploreMetrics: Add toggle to enable routing to externalized Explore Metrics app plugin ( #99481 )
...
* feat: toggle for explore metrics app plugin
* chore: put app navigation settings behind feature toggle
* chore: require restart
* feat: context-driven applinks toggling
* fix: toggle ownership
* docs: note restart requirement
* refactor: prefer global feature toggle check
* chore: undo rm newlines
* fix: minimize changes
* fix: app id, `chromeless`, sidebar ordering
2025-02-03 15:46:54 -05:00
Yuri Tseretyan
ac41c19350
Alerting: Rule version history API ( #99041 )
...
* implement store method to read rule versions
* implement request handler
* declare a new endpoint
* fix fake to return correct response
* add tests
* add integration tests
* rename history to versions
* apply diff from swagger CI step
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-02-03 13:26:18 -05:00
Andreas Christou
8a259ecafa
Graphite: Ensure frames have refId set ( #99911 )
...
Ensure frames have refIDs
- Sanitise the refID
- Alias the query target with the refID
- Set the appropriate refID on the created frames
- Update tests
2025-02-03 17:43:28 +00:00
Matheus Macabu
66aec9ec1f
Docs: Fix typos in Cloud Migration Assistant standalone guide ( #99959 )
...
* Docs: fix typo important admonition in Cloud Migration Assistant page
* Docs: fix typo in feature toggle name in Cloud Migration Assistant page
* Docs: fix bullet point <li> missing in Cloud Migration Assistant page
2025-02-03 17:21:34 +01:00
Matias Chomicki
6805c5283c
LogsPanel: do not re-render while data is loading ( #99882 )
2025-02-03 16:47:26 +01:00
Yuri Tseretyan
807f94b2c7
Alerting: Remove feature toggle alertingNoNormalState ( #99905 )
2025-02-03 17:32:50 +02:00
Ashley Harrison
f728b2df12
API client generation: Dedupe scripts and centralise them ( #99970 )
...
dedupe scripts and centralise them
2025-02-03 15:26:23 +00:00
Victor Marin
d96c1169c2
DashboardLayouts: Multi-select elements ( #99257 )
...
* wip
* refactor to map
Co-authored-by: Sergej-Vlasov <sergej.vlasov@grafana.com >
* refactor + allow selecting any kind of elements
* rename class
* refactor + tests
* cr changes
* fix deselection on shift clicking multiselected objects
* i18n
* fix
* move logic to elementSelection
* lint fix
* unselecting last multiselected item should reopen dashboard options
---------
Co-authored-by: Sergej-Vlasov <sergej.vlasov@grafana.com >
2025-02-03 17:21:38 +02:00
Eric Leijonmarck
62aaec14b6
LBAC for datasources: Enabled by default - expression "true" ( #99971 )
...
* add expression "true"
* update gen json
2025-02-03 14:46:34 +00:00
Alexander Akhmetov
d6c1e3bb45
Alerting: Use org store to read organization IDs ( #99938 )
2025-02-03 15:38:16 +01:00
Joey
a18fa4af8f
Tempo: Fix devenv ( #99750 )
...
Fix Tempo devenv
2025-02-03 15:14:41 +01:00
Joey
302e90b8f8
TraceView: Add class name for Explore Traces to hide span details row ( #98946 )
...
Add class name for Explore Traces to hide span details row
2025-02-03 15:09:51 +01:00
Mitch Seaman
c3a55ab8cb
Docs: Correct license token renewal frequency ( #99969 )
...
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2025-02-03 14:09:36 +00:00
Sonia Aguilar
489c5006b4
Alerting: Update irm links for incident and oncall in case new irm plugin is present ( #99952 )
...
Update irm links for incident and oncall in case new irm plugin is present
2025-02-03 15:00:32 +01:00
jackyin
6496705120
Dashboards: Remove default empty string from variable create view ( #98922 )
...
* default empty string
* optimize
2025-02-03 13:55:41 +00:00
Ashley Harrison
e0151528a4
API client generation: Update iam client ( #99963 )
...
* update generated iam client
* update API
* with meta api
* regenerate client
* with identify ref
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-02-03 13:40:36 +00:00
Ida Štambuk
34b2cb5e02
Features: Remove openSearchBackendFlowEnabled feature toggle ( #99068 )
2025-02-03 14:24:49 +01:00
Marcus Andersson
39605a93ab
E2E: Adding API tests for panel edit settings ( #99038 )
...
* Updating plugin-e2e!
* Added API tests for new panel edit APIs in plugin-e2e
* Added API tests.
* rebased main.
* removed only.
2025-02-03 14:15:29 +01:00
Ashley Harrison
30bf2bcde1
API client generation: create a central getAPIBaseURL function ( #99961 )
...
* create a getAPIBaseURL function
* use base url in iam api
2025-02-03 13:05:47 +00:00
Karl Persson
c85a175212
RBAC: only query folder service when fetching parent folders ( #99893 )
...
* only query folder service when fetching parent folders
* Perform validation and inehrited scopes solvers as service instead of caller
2025-02-03 13:56:25 +01:00
Alex Khomenko
a0901456ae
RTK Clients: Fix namespace filter ( #99949 )
...
* Fix namespace filter
* Update comment
* Update filter
2025-02-03 13:50:15 +02:00
Ryan McKinley
b636b81b16
K8s/IAM: Use raw handler for display (not rest.Connector) ( #99898 )
2025-02-03 14:24:35 +03:00
grafana-delivery-bot[bot]
2aa78139c4
Release: update changelog for 11.5.1 ( #99956 )
...
* Update changelog
* update changelog manually
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co >
2025-02-03 11:15:22 +00:00
Karl Persson
d16374d339
Authz: For list collect all folder permisions into items ( #99955 )
...
* For list collect all folder permisions into items
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2025-02-03 12:14:28 +01:00
Andres Martinez Gotor
4cd2ebe186
Grafana Advisor: Automatically generate frontend types ( #99807 )
...
* Grafana Advisor: Frontend types
* fix bad merge
2025-02-03 11:45:17 +01:00
Laura Fernández
74e3beabd0
MultiCombobox: add CustomValue as an option ( #99815 )
2025-02-03 11:41:54 +01:00
Bogdan Matei
61f5f215ee
Dashboards: Implement rows repeat in rows layout ( #99300 )
2025-02-03 11:46:47 +02:00
Ryan McKinley
8c0b812874
Provisioning: Expose dashboard config within grafana ( #99947 )
2025-02-03 11:44:34 +02:00
Gábor Farkas
295c0afc35
datasources: querier: adjust the query-client ( #99805 )
2025-02-03 09:06:18 +01:00
Alexander Akhmetov
f45265b5f7
Alerting: Read from both proto and simple DB instance stores on startup ( #99855 )
2025-01-31 23:34:00 +01:00
Isabel Matwawana
e03656669a
Docs: Updated Reporting docs ( #99665 )
...
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
2025-01-31 17:08:55 -05:00
renovate[bot]
7d9896d07e
Update dependency fishery to v2.2.3 ( #99914 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 18:33:39 +00:00
renovate[bot]
e7902316a8
Update dependency @playwright/test to v1.50.1 ( #99912 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 17:38:50 +00:00
Dan Cech
481f99b07f
Docker: Use our own glibc 2.40 binaries ( #99903 )
...
* use our own glibc 2.40 binaries
2025-01-31 12:37:20 -05:00
Ashley Harrison
9693212475
API client generation: Create new IAM api client and use in query library ( #99888 )
...
* create new generated iam api client and use in query library
* update betterer
* use new createBaseQuery method
* update CODEOWNERS
* fix unit tests
* use shared type
* update comment
* fix test
2025-01-31 17:12:55 +00:00
Isabel Matwawana
a21265a7ad
Docs: Fix broken link ( #99907 )
2025-01-31 11:25:18 -05:00
Yuri Tseretyan
0be6e1bb86
Alerting: Extra dedup stage in Grafana Alertmanager ( #99825 )
...
* add feature flags
* update alerting module
* update grafana alertmanager to configure the extra dedup stage
---------
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
2025-01-31 11:12:38 -05:00
renovate[bot]
d0703cfdbd
Update dependency @types/swagger-ui-react to v5 ( #99902 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 15:50:19 +00:00
Isabella Siu
a3eebd7157
Elasticsearch: Replace term size dropdown with text input ( #99718 )
2025-01-31 10:20:14 -05:00
renovate[bot]
3d3b781c19
Update dependency @stylistic/eslint-plugin-ts to v3 ( #99897 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 15:16:37 +00:00
renovate[bot]
2e5f0bf77b
Update typescript-eslint monorepo to v8.22.0 ( #99891 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 15:12:33 +01:00
Karl Persson
c3599d9236
Dashboards: Use uid instead of id to determine if dashboard exists or not ( #99890 )
...
Use uid instead of id to determine if dashboard exists or not
2025-01-31 14:46:26 +01:00
Ivana Huckova
7c15d33304
Remove @grafana/experimental in the last various places ( #99875 )
...
* Remove @grafana/experimental in the last various places
* Remove experimental from yarn.lock
* Fix import order
2025-01-31 15:43:58 +02:00
Leonor Oliveira
d699f023c2
Return max depth folder reached instead of a generic error ( #99804 )
...
* Return max depth folder reached instead of a generic error
* Unit test error function
* Lint
* Update pkg/api/apierrors/folder.go
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com >
---------
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com >
2025-01-31 14:36:20 +01:00
renovate[bot]
9ae5552cab
Update testing-library monorepo ( #99889 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 13:30:24 +00:00
renovate[bot]
74b04a237d
Update dependency yaml to v2.7.0 ( #99887 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 15:07:05 +02:00
renovate[bot]
05f039d5ab
Update dependency type-fest to v4.33.0 ( #99883 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 12:49:10 +00:00
Alex Khomenko
f51eacef9a
RTK APIs: Extract base query logic ( #99800 )
...
* RTK APIs: Extract base query function
* Add error handling
* Add return type
* Use createBaseQuery in browseDashboards
* Support custom manageError
* Export getConfigError
* Remove redundant type
* data -> body
2025-01-31 14:25:16 +02:00
renovate[bot]
111f973242
Update dependency react-zoom-pan-pinch to v3.7.0 ( #99879 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 14:05:46 +02:00
renovate[bot]
95a19c21df
Update dependency @grafana/plugin-e2e to v1.17.1 ( #99876 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 11:45:03 +00:00
Santiago
39f212a965
Alerting: Call RLock() before reading sendAlertsTo map ( #99812 )
...
* Alerting: Call RLock() before reading sendAlertsTo map
* defer unlocking
* drive-tru fix for another lock
* less time holding the lock in SyncAndApplyConfigFromDatabase
2025-01-31 12:43:02 +01:00
Josh Hunt
abc76f8aad
Chore: Change jsonMarkup.js to esm ( #99269 )
2025-01-31 11:03:13 +00:00
Ivana Huckova
3372720a52
Tempo, Pyroscope and tracing: Replace deprecated @grafana/experimental with @grafana/plugin-ui ( #99671 )
...
* Tempo: Replace deprecated @grafana/experimental with @grafana/plugin-ui
* Add also pyroscope and tracing features
* align version of package with main
2025-01-31 11:54:28 +01:00
renovate[bot]
71e78b49ab
Update dependency stylelint to v16.14.1 ( #99873 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 10:51:39 +00:00
ismail simsek
d062453c49
Prometheus: Don't show expand rules warning for unique rule ( #99540 )
...
* fix recording rule query hints
* don't show the hint twice in code editor
* provide testing rules
2025-01-31 11:46:38 +01:00
renovate[bot]
a2b1a85dc4
Update dependency @types/diff to v7.0.1 ( #99864 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 11:06:38 +01:00
Tobias Skarhed
7190bfb0ca
DashboardVariables: Use Combobox behind feature flag ( #98261 )
...
* Add feature toggle
* Use feature toggle
* Remove usage of renderWithCombobox
2025-01-31 11:53:13 +02:00
ismail simsek
1458f5d0fb
Prometheus: Use the timerange in languageProvider when it's not provided ( #99699 )
...
use the timerange in languageProvider
2025-01-31 10:39:22 +01:00
ismail simsek
ec836f2760
Chore: Code cleaning with unit tests in promlib ( #99542 )
...
* update request tests
* remove unused functions
* add unit tests
* remove commented code
* fix unit tests
2025-01-31 10:39:08 +01:00
renovate[bot]
3b231c433f
Update dependency semver to v7.7.0 ( #99837 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 09:37:24 +00:00
Dominik Prokop
bfdd00665b
Schema V2: Support v2 custom home dashboards ( #99748 )
2025-01-31 10:36:56 +01:00
Alexa V
bda4deb20c
Dashboards - Schema V2 - Implement move dashboards using v2 api ( #99664 )
...
* Dashboards - Schema V2 - Implement move dashboards using v2 api
* Fix root folder uid not being picked by FolderPicker
2025-01-31 10:30:39 +01:00
owensmallwood
58df80e542
Unified Storage: Fix panic from log ( #99850 )
...
evt.Object can be nil, so use the key instead
2025-01-30 19:29:51 -05:00
Ryan McKinley
e3d9b6cadf
K8s/Unstructured: Avoid panic in DeepCopy ( #99840 )
2025-01-31 00:19:09 +02:00
beejeebus
8ce8c1635f
Escape database names in MSSQL datasource ( #99754 )
...
Valid MSSQL database names can contain characters like `-`, which need
to be escaped when used in queries.
This PR wraps database names in `[]`, and fixes Grafana issue #58757 .
2025-01-30 15:36:45 -05:00
Scott Lepper
ce38eb3398
[search] fix dashboard list default sort ( #99813 )
...
[search] fix dashboard list default sort
2025-01-30 14:22:22 -05:00
Jacob Valdez
8e53e997a0
Docs: Moving migrate to cloud guide from website repo to OSS ( #99829 )
2025-01-30 12:32:31 -06:00
renovate[bot]
c8297599a9
Update dependency rollup to v4.32.1 ( #99820 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 17:27:40 +00:00
github-actions[bot]
415628a2c6
Update make docs procedure ( #99789 )
...
Co-authored-by: grafanabot <bot@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2025-01-30 17:24:02 +00:00
Alexander Zobnin
a95005eab5
Zanzana: Disable broken OpenFGA health check ( #99818 )
...
* Zanzana: Disable broken OpenFGA health check
* simplify return
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2025-01-30 17:42:48 +01:00
Irene Rodríguez
3d19a778ba
Remove old admonition ( #99821 )
2025-01-30 10:26:34 -06:00
ismail simsek
52aeae1342
Prometheus: Implement dispose method ( #99782 )
...
* implement dispose method
* use s instead of i
* add debug log
2025-01-30 16:58:18 +01:00
Ivana Huckova
f92945ac35
Update @grafana/plugin-ui to v0.10.0 (treeshake-able version) ( #99809 )
...
* Update @grafana/plugin-ui to v0.10.0 (treeshake-able version)
* Update to 0.10.1
2025-01-30 16:49:28 +01:00
renovate[bot]
9189feeaf5
Update scenes to v5.41.1 ( #99811 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 15:46:12 +00:00
Andres Martinez Gotor
a066659e11
Frontend Sandbox: Add to statscollector ( #99735 )
2025-01-30 16:17:36 +01:00
Joey
64e9c38b66
Tempo: Show consistently named links for external reference types ( #99008 )
...
* Show consistently named links for external reference types
* Update betterer
2025-01-30 15:14:38 +00:00
Dominik Broj
3589d9192d
chore: use IRM plugin ID instead of OnCall / Incident if it's present… ( #99742 )
...
* chore: use IRM plugin ID instead of OnCall / Incident if it's present in the stack
* minor improvements
* fix unit tests
* Add IRM plugin discovery tests
---------
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
2025-01-30 16:00:23 +01:00
Igor Suleymanov
b683724bec
Upgrade grafana-app-sdk to 0.31.0 ( #99739 )
...
* Upgrade grafana-app-sdk to 0.31.0
What
This commit upgrades the app SDK to 0.31.0 and re-generates codegen files.
It doesn't touch alerting schemas, because those are quite old and
should be upgraded separately.
This commit slightly alters the schemas for the investigations app,
because the codegen is not happy with the current syntax, for some
reason (probably has to do with CUE upgrades in `cog`).
Why
To make sure we use up-to-date SDK version and remove the workaround for
the `defencoding=none` bug that required us to clean up generated CRD
files.
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Revert changes to golden file for store tests
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
2025-01-30 16:10:42 +02:00
renovate[bot]
7e1a8cb984
Update dependency dompurify to v3.2.4 ( #99799 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 13:55:08 +00:00
Andrej Ocenas
86a68627dd
QueryLibrary: Make query library available outside of Explore ( #99319 )
2025-01-30 14:53:01 +01:00
Carl Bergquist
a92c8145f1
TopNav: Move news into profile menu ( #99535 )
...
* remove news icon from topnav
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* TopNav: Move rss feed and kiosk action into profile menu
* Update language keys
* Update
* review fixes
* Update
* Update
---------
Signed-off-by: bergquist <carl.bergquist@gmail.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2025-01-30 14:43:26 +01:00
Gilles De Mey
6392542db4
Alerting: Fix inheritance of the timing options for policy tree ( #99398 )
2025-01-30 15:42:11 +02:00
Oscar Kilhed
800c9fa3e6
SchemaV2: Rows in dashboard schema v2 ( #99239 )
...
* Testing out rows in schemav2
* update schema
* loading sort of works
* descibe position in relation to row
* add row repeats by variable
* explain ts-expect-error
* Save repeats as well
* Update tests for repeat behavior of rows
* Don't add the clones of the repeated rows
* Add row support for response transformer for V2
* Add row actions
* fix panel name
* fix merge issue
* fix tests
* Implement ensureV1
* set key of GridRow
* fix lint issue
* When going from V2 to V1 rows should be assigned unique ids following max panel id
* remove old comment
* Add panel repeats in V2 -> V1 transform
2025-01-30 15:24:37 +02:00
Andres Martinez Gotor
1e3783cc11
Grafana Advisor: Add links to suggested actions ( #99764 )
...
Grafana Advisor: Add links to proposed actions
2025-01-30 13:40:37 +01:00
Ivana Huckova
f637ea225a
Loki: Replace deprecated @grafana/experimental with @grafana/plugin-ui ( #99642 )
...
* Loki: Replace @grafana/experimental with @grafana/plugin-ui
* Fix imports
* Fix incorrect import
2025-01-30 13:13:29 +01:00
renovate[bot]
4aa495fd02
Update dependency centrifuge to v5.3.2 ( #99797 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 10:49:34 +00:00
Laura Fernández
2df05505db
MultiCombobox: Add Clear all button ( #99668 )
2025-01-30 11:44:15 +01:00
renovate[bot]
c2b44a5da1
Update dependency @swc/core to v1.10.12 ( #99796 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 10:26:18 +00:00
Ben Sully
408e3e91a8
Live: make maximum WebSocket message size configurable ( #99770 )
...
Co-authored-by: Chris Marchbanks <chris.marchbanks@grafana.com >
2025-01-30 10:24:29 +00:00
Ryan McKinley
9d5af95565
K8s/OpenAPI: Remove /watch/ from the openapi spec ( #99793 )
2025-01-30 12:51:55 +03:00
renovate[bot]
e61036271a
Update dependency react-select to v5.10.0 ( #99775 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 09:47:58 +00:00
Mariell Hoversholm
0c120db84d
Provisioning: Setup server and storage ( #99757 )
...
feat: setup server and storage
This simply sets up the API server and its storage for `provisioning.grafana.app`.
Features will be added eventually.
2025-01-30 08:11:50 +01:00
Ryan McKinley
3c0383f0d5
K8s/Test: Allow setting license path in test helper ( #99786 )
2025-01-30 08:59:00 +02:00
Stephanie Hingtgen
4b0f8d8363
K8s: Fix search when query is set ( #99787 )
2025-01-30 03:42:06 +02:00
Stephanie Hingtgen
2d491a9367
K8s: Implement folder search ( #99781 )
2025-01-29 17:44:42 -06:00
Yuri Tseretyan
7007342704
Alerting: k8s receivers api encrypt existing unencrypted secureFields on update ( #99784 )
...
* apply security patch: v11.5.x/305-202501232115.patch
commit 874ce8d12caad3742857ca86d2da7d5f81f3f825
Author: Matt Jacobson <matthew.jacobson@grafana.com >
Date: Thu Jan 23 16:14:28 2025 -0500
linting
commit c4b6d9194cc8b79e252e562a27a2d09a42d7a5e8
Author: Matt Jacobson <matthew.jacobson@grafana.com >
Date: Thu Jan 23 14:56:35 2025 -0500
CVE-2024-11741 - victorops url
2025-01-30 00:48:26 +02:00
Scott Lepper
8e9e3b8362
[search] title phrase ( #99753 )
...
[search] rename title_sort to title_phrase
2025-01-29 17:31:59 -05:00
Garret Wyman
cf177776bf
Alerting: Adding color option for slack receiver ( #99615 )
2025-01-30 00:12:16 +02:00
Moustafa Baiou
b820fd6bef
Alerting: Fix Alertmanager configuration updates ( #99610 )
...
* Alerting: Fix Alertmanager configuration updates
Alertmanager configuration updates would behave inconsistently when performing no-op updates with `mysql` as the store.
In particular this bug manifested as a failure to reload the provisioned alertmanager configuration components with no changes to the configuration itself. This would result in a 500 error with mysql store only.
The core issue is that we were relying on the number of rows affected by the update query to determine if the configuration was found in the db or not.
While this behavior works for certain sql dialects, mysql does not return the number of rows matched by the update query but rather the number of rows actually updated.
Also discovered and fixed the mismatched `xorm` tag for the `CreatedAt` field to match the actual column name in the db.
References: https://dev.mysql.com/doc/refman/8.4/en/update.html
2025-01-29 23:00:45 +02:00
Oscar Kilhed
83d4f6e868
Remove e2e benchmark ( #99695 )
2025-01-29 21:36:57 +01:00
Leon Sorokin
3954a1948c
Data links: Remove messaging around deprecating compact Explore URLs ( #99780 )
2025-01-29 13:44:09 -06:00
Kristina
1795a2b4e3
Bar Gauge: Add extra padding for scrollbar ( #99722 )
...
* Add extra padding in bar gauge if scroll exists
* Add thin scroll bars, and fix test
* add comment about height calculation
2025-01-29 13:02:56 -06:00
renovate[bot]
1048e23872
Update dependency react-i18next to v15.4.0 ( #99772 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 17:57:54 +00:00
Gilles De Mey
49bd8a608e
Alerting: Fix fieldSelector encoding ( #99751 )
...
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
2025-01-29 19:54:41 +02:00
Santiago
7d4895c3c9
Alerting: Use exponential backoff in the remote Alertmanager readiness check ( #99756 )
...
* Alerting: Use exponential backoff in the remote Alertmanager readiness check
* fix capitalized error
* remove unnecessary 'for'
* refactor, use time.After() instead of channel
2025-01-29 18:53:30 +01:00
renovate[bot]
243ce03b93
Update dependency @types/babel__preset-env to v7.10.0 ( #99768 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 17:29:43 +00:00
Ashley Harrison
8f60308e73
Chore: centralise getK8sNamespace ( #99767 )
...
* create new public/app/api folder, expose getK8sNamespace
* rename to getAPINamespace
2025-01-29 17:29:16 +00:00
Scott Lepper
07601bee6f
[search] title search wildcard ( #99769 )
2025-01-29 10:48:19 -06:00
renovate[bot]
be9a7ce908
Update dependency knip to v5.43.6 ( #99766 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 16:12:47 +00:00
Alex Khomenko
9f4e8ee206
Query Library: Update API client ( #99382 )
...
* Add process script
* Working version
* Use new types
* Use new types
* Update client
* Tweaks
* Process multiple specs
* Remove 'any' types
* Use BASE_URL
* Update CODEOWNERS
* Fix filename
* add openapi
* update CODEOWNDER
* use JSONeq
* Use existing specs
* Filter ForAllNamespaces
* Add instructions
* Switch to tsx
* Use openapi-types
* Update src path
* Expand docs
* Update docs
* Rename script
* codeowners
* More docs
* Move openapi-types to dev deps
* Update error message
* Update doc
* Fix typo
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-01-29 18:05:40 +02:00
renovate[bot]
0613ed1f11
Update dependency i18next to v24.2.2 ( #99763 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 15:47:25 +00:00
Ashley Harrison
d198fa1dd0
Chore: add lint rule prevent t import from i18next ( #99761 )
...
* also handle i18next import
* fix violations
2025-01-29 15:46:13 +00:00
Joey
7883215c68
Tempo: Support TraceQL instant metrics queries ( #99732 )
...
Support TraceQL instant metrics
2025-01-29 15:40:06 +00:00
Jean-Philippe Quéméner
90c18099a5
fix(unified-storage): return folder title in legacy search ( #99762 )
2025-01-29 16:38:25 +01:00
renovate[bot]
9b37337f7b
Update dependency @types/webpack-env to v1.18.8 ( #99759 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 17:14:41 +02:00
Kevin Minehart
c0600969e0
CI: update changelog generator to use compare API ( #99688 )
...
update changelog generator to use compare API
2025-01-29 09:04:12 -06:00
renovate[bot]
f39517304b
Update dependency @tanstack/react-virtual to v3.11.3 ( #99746 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 14:53:26 +00:00
Dana Axinte
b4802e7116
CloudMigrations: Update Banner on Cloud Stack ( #99741 )
...
* add message with flag
* message only in cloud
2025-01-29 14:11:01 +00:00
Laura Fernández
03f89a1925
MultiCombobox: Show placeholder when there is no options selected ( #99743 )
2025-01-29 15:02:53 +01:00
Mariell Hoversholm
baaff6296f
Logging: Use slog adapter for go-kit/log with App SDK logger ( #99740 )
...
* feat: use slog adapter for go-kit/log
The adapter library is Apache-2.0, which is compatible with AGPL-3.0 as a dependency.
The adapter library outputs a little more info than we'd like, but rather a couple fields too many than it outputting
ERROR logs as INFO.
* feat: update dependencies
* chore: attribute ownership of dependency
* refactor: move require
* chore: make update-workspace
2025-01-29 14:59:37 +01:00
Jean-Philippe Quéméner
1087ed623f
feat(unified-storage): fetch full path if needed ( #99747 )
2025-01-29 14:50:49 +01:00
Jack Westbrook
514da10f46
Revert "Bug: Fix broken ui components when angular is disabled" ( #99730 )
...
Revert "Bug: Fix broken ui components when angular is disabled (#78208 )"
This reverts commit 1112e9006b .
2025-01-29 14:22:23 +01:00
renovate[bot]
eb52af2b14
Update dependency @grafana/plugin-e2e to v1.17.0 ( #99736 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 13:08:19 +00:00
Torkel Ödegaard
ebe2f442bd
Dashboard: Simplify handling of variables that update on time range change when used in repeats ( #99432 )
...
* Dashboard: Simplify handling of variables that update on time range change when used in repeats
* Update
* Update
* Update
* Update
* Update
* Update
2025-01-29 13:32:50 +01:00
Fayzal Ghantiwala
1444051b65
Alerting: Feature flag to fetch rules by passing down RBAC namespaces ( #99738 )
...
New feature flag
2025-01-29 12:17:44 +00:00
renovate[bot]
9b0078326a
Update dependency ol-ext to v4.0.26 ( #99734 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 11:11:23 +00:00
Sven Grossmann
336449c169
Explore: Add hide_logs_download and hide button to download logs ( #99512 )
...
* Explore: Add `disableLogsDownload` and hide button to download logs
* change copy
* Explore: Change `disableLogsDownload` to `hide_logs_download`
* change casing in frontend
* also hide from inspector
* add test
* lint
2025-01-29 11:53:52 +01:00
renovate[bot]
6ea87802ed
Update dependency @types/webpack-env to v1.18.8 ( #99731 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 10:47:15 +00:00
Jean-Philippe Quéméner
e6c2db82e0
fix(search): use the right services when unfied search is enabled for folders ( #99661 )
...
Co-authored-by: Scott Lepper <scott.lepper@gmail.com >
Co-authored-by: joshhunt <josh@trtr.co >
2025-01-29 11:45:24 +01:00
renovate[bot]
a0f27caff2
Update dependency eslint to v9.19.0 ( #99702 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 09:46:59 +00:00
Josh Hunt
978101b7a5
ImportDashboards: Use NestedFolderPicker ( #99696 )
2025-01-29 09:24:41 +00:00
Alexa V
30c8ac7108
Dashboard: Schema V2 - Remove Dashboard id from spec ( #99590 )
...
* Dashboard: Schema V2 - Remove Dashboard id from spec
* Fix issue with dashboard id used in examples and serializers for schema v2
* Fix snapshot test
2025-01-29 10:13:56 +01:00
Jack Baldry
8e5a4560e8
Add workflow that comments when PRs include the add to what's new label ( #99637 )
...
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
2025-01-29 08:36:53 +00:00
Ryan McKinley
8415059290
K8s/OpenAPI: Move openapi snapshots out of the root ( #99728 )
2025-01-29 09:26:17 +02:00
Stephanie Hingtgen
c7f83b7311
K8s: Fix internal id setting in mode4 ( #99720 )
2025-01-29 08:17:17 +03:00
Stephanie Hingtgen
b06f83670e
Cleanup: comment out unreachable code ( #99723 )
2025-01-29 07:00:49 +03:00
maicon
20f02ec12f
Unistore: refactor provisioning to work with folder service ( #99473 )
2025-01-29 05:19:38 +02:00
Stephanie Hingtgen
6908f91428
Search fallback: prevent for now ( #99725 )
2025-01-29 04:57:34 +02:00
Stephanie Hingtgen
745a25ad0a
Folders API: Return orgID in response ( #99724 )
2025-01-28 23:13:26 -03:00
Ryan McKinley
5cd1efb2d1
K8s/Dashboard: Improve legacy error handling ( #99658 )
2025-01-28 18:47:02 -06:00
Stephanie Hingtgen
6ba18d05be
Folders: fix deletion logic that relies on the dashboard store ( #99715 )
2025-01-29 00:06:53 +02:00
Stephanie Hingtgen
d7070d11f6
k8s: Dashboard history: Fix created by ( #99714 )
2025-01-28 18:53:12 -03:00
Stephanie Hingtgen
b4b49fc587
K8s: Dashboards: use title sort field instead ( #99712 )
2025-01-28 23:24:55 +02:00
Isabel Matwawana
055a63873b
Docs: add pan and zoom key combos ( #99523 )
2025-01-28 15:21:41 -05:00
Nikita Pande
046754c3c2
[TLS] Remove the hard-coded TLS ciphers in http.go to fix Pen test findings ( #98749 )
...
Remove the hard-coded TLS ciphers in http.go to fix Pen test findings
Signed-off-by: GitHub <noreply@github.com >
2025-01-28 12:57:53 -07:00
owensmallwood
f55686a0b4
Unified Storage: Adds some more traces to search and the bleve search impl ( #99704 )
...
adds some more traces to search and the bleve search impl
2025-01-28 21:27:01 +02:00
Alexander Akhmetov
a0bf9202f5
Alerting: Clear the state cache when the alert routine stops ( #99681 )
2025-01-28 21:15:19 +02:00
Aleksandar Petrov
97f4a164d1
[DOC] Add connection URL info to Pyroscope datasource doc ( #99605 )
...
* [DOC] Add connection URL info to Pyroscope datasource doc
* Fix wordlist violation
* Apply suggestions from code review
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
---------
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
2025-01-28 15:02:53 -04:00
Stephanie Hingtgen
516bd0fd1c
K8s: Folders: Fix get command ( #99690 )
2025-01-28 13:00:57 -06:00
owensmallwood
3ba0d8d4b5
Unified Storage: Improve observability for indexing latency ( #99700 )
...
* adds extra debug logs and a new metric for poller query latency to help us better understand watch and index latency for write events
* adds trace span to the index for handling index write events
2025-01-28 12:30:20 -06:00
renovate[bot]
dddfce2df7
Update dependency knip to v5.43.6 ( #99698 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 18:21:45 +00:00
grafana-delivery-bot[bot]
721c2b0c7c
Release: update changelog for 11.5.0 ( #99652 )
...
* Update changelog
* baldm0mma/add changelog content
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2025-01-28 11:18:43 -07:00
renovate[bot]
04c84e06e5
Update dependency @types/swagger-ui-react to v4.19.0 ( #99674 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 18:01:00 +00:00
owensmallwood
3228ae727e
wires up dashboards page to be able to sort by usage stats (sprinkles) ( #99479 )
...
* wires up dashboards page to be able to sort by usage stats (sprinkles)
* dont mutate field
* use better type for field
* adds tests. Had to export some types and put the field type back to object.
* frontend asks for sort field in response if needed
* adds some unit tests for getSortOptions
* use Record instead of object
* prettier
* adds ternaries, another unit test
2025-01-28 19:36:26 +02:00
Oscar Kilhed
056b5a7b08
Dashboards: Monitor dashboard loading performance ( #99629 )
...
* WIP benchmark dashboard rendering
* Script
* Benchmark with variable and a panel
* Add one more benchmark
* Explicitely enable profiling
* Playwright tests
* update scenes
* Report measurement to faro when config set
* Let user enable metrics reporting in UI
* Fix logging
* Change how performance metrics is enabled per dashboard, now in config file only
* add benchmark run option
* Fix benchmark runs
* fix description for performance config
* remove console.log
* update codeowners
* add back crashDetection init that was lost in merge
* fix yarn.lock
* restore custom.ini
* fix import
* Make sure we have the echoSrv
* fix config type
* Try to limit changes to e2e runs
* remove benchmark
* Fix lint issue
* fix codeowners
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com >
2025-01-28 18:36:10 +01:00
Ivan Ortega Alba
92d5e82a33
LibraryPanels: Respect model title when adding a library panel ( #99687 )
...
* Revert "Revert "LibraryPanel: Fallback to panel title if library panel title …"
This reverts commit 6e705ee67c .
* LibraryPanels: Respect model title when adding a library panel to a dashboard
* remove debugger
---------
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
2025-01-28 10:19:33 -07:00
Ivan Ortega Alba
abac53bd0a
Revert "Revert "LibraryPanel: Fallback to panel title if library panel title is not set"" ( #99678 )
...
Revert "Revert "LibraryPanel: Fallback to panel title if library panel title …"
This reverts commit 6e705ee67c .
2025-01-28 09:53:19 -07:00
Arati R.
94a844977e
Folders/K8s: Fix createdBy and updatedBy fields in response ( #99569 )
2025-01-28 10:46:07 -06:00
renovate[bot]
d81b1bf803
Update scenes to v5.41.0 ( #99684 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 18:37:22 +02:00
Ashley Harrison
6e8e320ace
Chore: emit event whenever the theme changes ( #99672 )
...
emit event whenever the theme changes
2025-01-28 16:00:54 +00:00
Jacob Valdez
1fb1f8846f
Docs: What's new & Upgrade guide v11.5 ( #99341 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Robby Milo <robbymilo@fastmail.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2025-01-28 09:16:42 -06:00
renovate[bot]
78848095ca
Update dependency swagger-ui-react to v5.18.3 ( #99669 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 17:01:32 +02:00
renovate[bot]
0a805a2314
Update dependency moment-timezone to v0.5.47 ( #99657 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 16:40:21 +02:00
Mitch Seaman
fe49b6279a
docs: update enterprise docs with license token renewal details ( #99662 )
2025-01-28 14:38:17 +00:00
Stephanie Hingtgen
0cef2b9ae7
Dashboard Versions: Make compatible with app platform ( #99327 )
2025-01-28 08:17:52 -06:00
Ashley Harrison
05905a5069
Chore: bracket properly to ensure name is set correctly ( #99660 )
...
bracket properly to ensure name is set
2025-01-28 16:16:36 +02:00
Ivana Huckova
058d3946b7
Zipkin: Remove frontend query running code ( #99557 )
...
* Zipkin: Remove frontend query running code
* Fix lint
2025-01-28 15:11:10 +01:00
Kristina
52a6c27d99
VizTooltip: Check useragent to perform consistently on all mobile devices ( #99655 )
...
* Add useragent check to be comprehensive
* move check outside function and add hopefully clarifying comment
2025-01-28 16:00:15 +02:00
Konrad Lalik
0bf31c14a7
Alerting: Improve default form values handling ( #97564 )
...
This PR refactors how rule form state is managed and relies less on prop drilling and removes dependency on redux store.
2025-01-28 15:49:47 +02:00
renovate[bot]
8b9d4d1358
Update dependency @types/node to v22.12.0 ( #99638 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 13:37:10 +00:00
Josh Hunt
9d635edd0e
MultiCombobox: Async options ( #99469 )
...
* remove managed isOpen state, add hook to abstract away options/async functionality
* split useOptions into new file
* refactor stories
revert combobox stories to what's in main. I screwed up that rebase
* change onChange type, clean up what calls onChange, add debounce and useLatestAsyncCall
* tests (mid trying to figure out the act stuff)
* tests
* debounce-promise doesn't work with rollup?
* just some minor code clean up
* fix type import
2025-01-28 13:36:59 +00:00
grafana-delivery-bot[bot]
af2c7a19d1
Release: update changelog for 11.4.1 ( #99650 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 12:29:59 +00:00
grafana-delivery-bot[bot]
b1f39f4b8b
Release: update changelog for 11.3.3 ( #99647 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 12:06:25 +00:00
Fayzal Ghantiwala
f8e7e9e024
Alerting: Make pagination token empty if an invalid token is passed ( #99644 )
...
Reset token to empty if invalid
2025-01-28 11:54:11 +00:00
grafana-delivery-bot[bot]
1cc9f8f0c2
Release: update changelog for 11.2.6 ( #99645 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 11:46:25 +00:00
Gareth Dawson
ecc9b0c10c
partner data sources: remove experimental imports from datasources ( #99370 )
...
* remove experimental imports from datasources
* add plugin-ui deps
* remove
* trigger workflow
* Make versions of plugin-ui fixed
* Fix import in test
---------
Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com >
2025-01-28 18:44:22 +07:00
grafana-delivery-bot[bot]
d2eac460cf
Release: update changelog for 11.1.11 ( #99639 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 11:25:01 +00:00
renovate[bot]
8e6a868178
Update dependency papaparse to v5.5.2 ( #99635 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 10:56:34 +00:00
grafana-delivery-bot[bot]
a66857dfbe
Release: update changelog for 11.0.10 ( #99636 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 10:54:23 +00:00
Alexander Akhmetov
a28328d764
Alerting: Call the deletion reason provider even if the rule is no longer scheduled ( #99571 )
...
Alerting: Call the deletion reason provider even if the rule is not scheduled anymore
2025-01-28 11:34:26 +01:00
renovate[bot]
f6fc39e71f
Update dependency @types/webpack-env to v1.18.7 ( #99633 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 10:30:33 +00:00
grafana-delivery-bot[bot]
58a279e109
Release: update changelog for 10.4.15 ( #99634 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 10:28:22 +00:00
Tobias Skarhed
8c2824cf3b
MultiCombobox: Autosize ( #99510 )
...
* Add input auto resizing
* Initial auotsize
* Initial implementation
* Remove px
* Remove unused import
* Handle backspace and support the width prop
* Make sizing work with useComboboxFloat
* Remove unused expression
* Add supoport for min and max width
* Change space for clicking
2025-01-28 11:03:08 +01:00
renovate[bot]
a05f539dd2
Update dependency @types/lodash to v4.17.15 ( #99632 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 10:02:23 +00:00
Stephanie Closson
9c7618160d
Update queries-conditions.md ( #99592 )
2025-01-28 10:52:50 +01:00
Ivana Huckova
58a3e0ae86
Remove @grafana/experimental in @grafana/o11y-ds-frontend and @grafana/sql ( #99501 )
...
* Remove @grafana/experimental in @grafana/o11y-ds-frontend
* Remove @grafana/experimental in @grafana/sql
* Fix mock in test
2025-01-28 10:48:19 +01:00
renovate[bot]
ae0de61b92
Update dependency @types/babel__preset-env to v7.10.0 ( #99611 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 09:39:55 +00:00
Stephanie Hingtgen
959a942b5c
K8s: Dashboards: fix in folder count ( #99622 )
2025-01-28 10:28:12 +01:00
Stephanie Hingtgen
9949a56f3b
K8s: Fix legacy stats ( #99623 )
2025-01-28 10:08:48 +01:00
Tom Ratcliffe
3ed138543d
Chore: Fix translation imports from @grafana/ui ( #99614 )
2025-01-28 08:36:31 +00:00
Joey
acbdc1f415
Tempo: Add separate options groups ( #99310 )
...
* Separate options groups
* Editor row for styling
2025-01-28 08:20:23 +00:00
Ryan McKinley
4e703576b0
K8s/OpenAPI: Render openapi into a static file ( #99561 )
2025-01-28 10:30:53 +03:00
Stephanie Hingtgen
61c5b4a25e
Library elements: remove usage of dashboard table on get ( #99619 )
2025-01-27 17:39:18 -06:00
owensmallwood
fd85ddf647
Unified Storage: Fix search case sensitivity ( #99603 )
...
lowercase search query when doing a text query. Doing this makes the NewWildcardQuery be case-insensitive
2025-01-27 20:39:36 +00:00
Stephanie Hingtgen
078ce6a289
Library elements: Delete orphaned connections with the dashboard service ( #99612 )
2025-01-27 22:37:38 +02:00
Moustafa Baiou
82f457495a
Alerting: Correctly escape provisioning API exports ( #99039 )
...
When exporting contact-points, mute-timings, and notification policies in the provisioning API, we need to escape the `$` character which is used in interpolation by file provisioning.
Follow up to #97985
2025-01-27 14:59:50 -05:00
Yuri Tseretyan
d71904cb27
Alerting: Expose updated_by in rules GET APIs ( #99525 )
...
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-01-27 14:31:40 -05:00
renovate[bot]
32ae292334
Update dependency rudder-sdk-js to v2.48.44 ( #99609 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 19:07:34 +00:00
Stephanie Hingtgen
7ebe599389
Library elements: do not error if dashboard is not found ( #99608 )
2025-01-27 20:35:30 +02:00
renovate[bot]
8954800d37
Update dependency react-window-infinite-loader to v1.0.10 ( #99607 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 18:34:18 +00:00
William Assis
be8396cafa
Setup legacy search based on mode ( #98908 )
2025-01-27 12:32:07 -06:00
renovate[bot]
060182a3ba
Update dependency ol-ext to v4.0.25 ( #99606 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 18:07:47 +00:00
Galen Kistler
5c785e6101
LogsPanel: Fix safari text selection bug ( #99522 )
...
* feat: a11y review - remove anchor wrapping LogMessage, instead style expand button focus to wrap row
2025-01-27 12:05:50 -06:00
Alexander Akhmetov
cb43f4b696
Alerting: Add compressed protobuf-based alert state storage ( #99193 )
2025-01-27 18:47:33 +01:00
Josh Hunt
6edd4f5a7c
Combobox: Remove circular dependency caused by ComboboxOption type ( #99601 )
2025-01-27 19:45:09 +02:00
Stephanie Hingtgen
6e705ee67c
Revert "LibraryPanel: Fallback to panel title if library panel title is not set" ( #99602 )
...
Revert "LibraryPanel: Fallback to panel title if library panel title is not s…"
This reverts commit c862aa4d68 .
2025-01-27 10:31:35 -07:00
renovate[bot]
2f2c6360cd
Update dependency knip to v5.43.5 ( #99600 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 17:29:46 +00:00
renovate[bot]
b5ca30c69e
Update dependency i18next to v24.2.2 ( #99593 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 16:59:34 +00:00
Andreas Christou
30ee8b9813
Azure: Correctly set application insights resource values ( #99214 )
...
Correctly set resource values
2025-01-27 16:57:43 +00:00
Ryan McKinley
a5c14db051
Folders: Convert between unstructured and legacy ( #99504 )
2025-01-27 17:37:28 +01:00
renovate[bot]
b4c13defa6
Update dependency eslint-plugin-jsdoc to v50.6.3 ( #99591 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 16:36:36 +00:00
Andreas Christou
763f0bac90
Azure: Support more complex variable interpolation ( #99284 )
...
Support more complex variable interpolation
- Update test
2025-01-27 16:21:24 +00:00
Joey
1f19fc8e0f
Tempo: Limit tags and tag values ( #98306 )
...
* Limit tags and tag values API response
* Add tag limit setting in datasource
* Add docs
* Update limit options
* Update docs
2025-01-27 16:20:51 +00:00
Alex Spencer
9bdeca8d10
ExemplarMarker: Fix exemplar tooltip box shadow ( #99464 )
...
fix: exempla tooltip box shadow
2025-01-27 09:16:31 -07:00
renovate[bot]
1c66e0fe30
Update dependency centrifuge to v5.3.1 ( #99577 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 16:08:05 +00:00
Fayzal Ghantiwala
848ef72100
Alerting: Check if pagination token is greater than or equal to ( #99576 )
...
Use goe for token comparison
2025-01-27 15:56:06 +00:00
Andreas Christou
cc09f38421
MSSQL: Correctly type UDPConnectionLimit ( #99011 )
...
* Correctly type UDPConnectionLimit
* Update tests
* Handle legacy case
2025-01-27 15:53:46 +00:00
Andreas Christou
e01d8ad5b5
Azure: Add support for custom namespace and custom metrics variable queries ( #99279 )
...
* Add custom metric namespace and metric name queries
* Fix outdated type
* Support specifying custom
- Add custom support to getMetricNamespaces
- Ensure the customNamespace is specified in getMetricNames calls
* Update data source tests
* Support custom namespace/metrics variable queries
- Add tests
* Add fields to variable editor
- Update tests
- Update docs
- Update selectors
* Remove unneeded Promise.resolve
* Add comment
* Don't mutate expected path
* Lint
* Update docs/sources/datasources/azure-monitor/template-variables/index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
* Update docs/sources/datasources/azure-monitor/template-variables/index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
* Update docs
* Update conditionals
* Lint
---------
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
2025-01-27 15:53:00 +00:00
renovate[bot]
c6ba0910b4
Update dependency @types/webpack-env to v1.18.6 ( #99575 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 15:47:36 +00:00
Andres Martinez Gotor
b0e74cf737
Grafana Advisor: Plugin checks ( #99502 )
2025-01-27 16:39:46 +01:00
renovate[bot]
50b14c533c
Update dependency @types/node to v22.10.10 ( #99570 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 15:25:51 +00:00
Dominik Prokop
ae62b3817b
Dashboards: Change the way dashboard not found error is handled ( #98950 )
...
* Get rid of _dashboardLoadFailed
* Get rid of dashboardNotFound meta
* Update public dashboards tests
* Fix DashboardPage tests
* DashboardPageProxy tests
* DashboardScenePageStateManager test fix
* Beterer
* Fix merge
* Nits
* Fix test
* remove debugger
* Update get folder to throw
* translate error title
* Update public/app/features/apiserver/types.ts
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com >
* Update public/app/features/dashboard/services/DashboardLoaderSrv.ts
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com >
* Update public/app/features/dashboard/services/DashboardLoaderSrv.ts
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com >
* Update public/app/features/dashboard/services/DashboardLoaderSrv.ts
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com >
* Betterer
* Update test cases
* More test updates
* More translations
---------
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com >
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com >
2025-01-27 15:54:10 +01:00
John Naizer
571f20676d
Azure: Bump grafana-azure-sdk-go to 2.1.6 ( #99524 )
...
* added changes for rebase
* ran go mod tidy and ran a build
* ran a build
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* updated go.work.sum to upstream
* added newline to match upstream
* added more specificity in documentation
* bump grafana-azure-sdk-go to update package for currentuser auth support
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2025-01-27 14:50:31 +00:00
Georges Chaudy
7720f0b64e
folder: allow standalone folder apiserver ( #99508 )
...
* add standalone folders
* add validate
* fix auth
2025-01-27 15:50:06 +01:00
renovate[bot]
a5916116b1
Update dependency @tanstack/react-virtual to v3.11.3 ( #99567 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 14:28:12 +00:00
Stephanie Hingtgen
dde199f684
Unistore: use object from legacy in mode2 ( #99533 )
2025-01-27 08:11:31 -06:00
Konrad Lalik
c5ff5d89df
Alerting: Add GMA action buttons to the new list view ( #98449 )
...
* Add GMA action buttons based on the ruler rule definition
* Improve imports
* Remove rulesSource from Grafana group identifier
* Improve ruler loader error handling
* Clean imports, add details page link
* Remove unnecessary property from the API:
* Change Prometheus page size in the FilterView
* Fix lint errors and tests
* Revert filtered items page size
* Fix cache invalidation for RTKQ ruler requests
* Fix tags ids
* Naming improvements
* Fix lint errors, use util function for pause checking
* Alerting: Add ruleGroupIdentifierV2toV1 function to PR 98449 (#99326 )
* Move params validation to the rulerUrlBuilder, tidy up code
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2025-01-27 15:08:33 +01:00
Isabella Siu
49f8359ce5
Elasticsearch: Fix adhoc filters with number fields ( #99514 )
2025-01-27 09:04:48 -05:00
renovate[bot]
53cc790180
Update dependency @swc/core to v1.10.11 ( #99565 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 13:59:18 +00:00
Leonor Oliveira
abe2a5370d
Use dashboards service to query for dashboard uid when getting library elements ( #99369 )
2025-01-27 14:42:57 +01:00
renovate[bot]
e94c9f733b
Update dependency @reduxjs/toolkit to v2.5.1 ( #99563 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 13:30:24 +00:00
Arati R.
a2097fbc2f
Folders: Add user service to folder service implementation ( #99518 )
...
Add user service to folder service implementation
2025-01-27 14:29:47 +01:00
Haris Rozajac
de1df2f4e9
Dashboard: Add ScopeMeta to DashboardModel ( #99475 )
2025-01-27 06:28:51 -07:00
Karl Persson
d5d8abcd64
Authn: Use authenticator for inproc ( #99550 )
...
Use generic authenticator for inproc
2025-01-27 14:28:46 +01:00
Alexa V
8f3fd8f91d
Schema v2: Write Path Implement saveDashboard in v2 client API ( #98263 )
...
Create new function for save dashboards written in schema v2 and using the v2 api from k8s
2025-01-27 14:14:19 +01:00
renovate[bot]
ead8236cec
Update babel monorepo to v7.26.7 ( #99558 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 13:05:11 +00:00
Scott Lepper
629b20700c
[search] mimic sql search ( #99526 )
2025-01-27 08:03:39 -05:00
Erik Sundell
394d081df2
Selectors: Add selectors for alert rule steps ( #99553 )
...
* add selectors for alert rule steps
* refactor alert rule tests
2025-01-27 13:57:31 +01:00
renovate[bot]
103a8f0793
Update dependency @grafana/plugin-e2e to v1.16.2 ( #99492 )
...
* Update dependency @grafana/plugin-e2e to v1.16.1
* bump plugin-e2e
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
2025-01-27 12:44:19 +01:00
Alexander Akhmetov
12bda63871
Alerting: Optional function to find the rule deletion reason ( #99422 )
2025-01-27 11:35:52 +01:00
Shay Molcho
84da64462e
Added missing period for consistency and readability ( #99549 )
2025-01-27 05:20:24 -05:00
Dominik Prokop
8e078315f0
Schema v2: Reason about new dashboard based on UID ( #98879 )
...
* Schema v2: Reason about new dashboard based on UID
* Fix test
* Alerting: respect isNew dashboard for legacy and new arch
* Translate untranslated strings
* Unify is new checks
* PanelInspectDrawer update
* typo fix
* on close test for panel inspect drawer
* Update public/app/features/alerting/unified/PanelAlertTabContent.tsx
2025-01-27 11:18:06 +01:00
Leonor Oliveira
0003efa285
Library Panels: Remove dashboards table dependency when getting all library panels ( #99160 )
...
* Remove dashboards table dependency when getting all library panels
* Filter library elements a user can see using the folder service
* Stop using folder name as UID in get all elements tests
* Set actual folder name not UID when getting all elements
* Stop selecting folder name in the get all elements sql query
* Introduce a library elements param selector without where clause
* Include empty string as general folder UID when getting all library elements
---------
Co-authored-by: suntala <arati.rana@grafana.com >
2025-01-27 10:51:41 +01:00
Misi
25bb210ca3
Auth: Store array settings from the config UI in JSON array format ( #99454 )
...
* Store array settings in JSON array format
* Align tests
2025-01-26 10:08:07 -05:00
Sven Grossmann
154a57cd30
Explore Metrics: Add panel menu with "Explore" and "Investigations" options ( #98900 )
...
* Explore Metrics: Add panel menu with "Explore" and "Investigations" features
* Explore Metrics: Get better explore link
* hide menu in metricSelect
* Update public/app/features/trails/Breakdown/LabelBreakdownScene.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* Update public/app/features/trails/MetricSelect/MetricSelectScene.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* fix: formatting
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
Co-authored-by: Nick Richmond <nick.richmond@grafana.com >
2025-01-24 22:51:04 +02:00
Alex Spencer
35a581a2ba
GroupingToMatrix: Type fix to resolve localeCompare error ( #98710 )
...
* draft: coerce types to string to prevent localCompare bug
* chore: update with comment for draft
* chore: cleanup and change fix
* fix: instantiate compare outside of functions scope
* chore: update tests!
* fix: make the linter happy again
* fix: remove unnecessary loop to generate array
* chore: revert forEach to for loops, other changes also
* chore: reduce diff
* chore: one more revert
---------
Co-authored-by: drew08t <drew08@gmail.com >
2025-01-24 13:45:20 -07:00
Kristina
d409853683
StatusHistory: Add pagination option ( #99517 )
...
* first pass
* Add to docs
* Move pagination hook and styles to a shared util
* Update docs/sources/panels-visualizations/visualizations/status-history/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2025-01-24 21:52:04 +02:00
Yuri Tseretyan
af663dadc7
Alerting: Refactor integration tests ( #99519 )
...
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-01-24 14:49:05 -05:00
Adam Yeats
4570f7319d
Add E2E smoke tests for Jaeger, PostgreSQL, Zipkin ( #99515 )
2025-01-24 20:21:41 +01:00
Yuri Tseretyan
92d6762a3a
Alerting: Store information about user that created\updated alert rule ( #99395 )
...
* introduce new fields created_by in rule tables
* update domain model and compat layer to support UpdatedBy
* add alert rule generator mutators for UpdatedBy
* ignore UpdatedBy in diff and hash calculation
* Add user context to alert rule insert/update operations
Updated InsertAlertRules and UpdateAlertRules methods to accept a user context parameter. This change ensures auditability and better tracking of user actions when creating or updating alert rules. Adjusted all relevant calls and interfaces to pass the user context accordingly.
* set UpdatedBy in PreSave because this is where Updated is set
* Use nil userID for system-initiated updates
This ensures differentiation between system and user-initiated changes for better traceability and clarity in update origins.
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-01-24 12:09:17 -05:00
lean.dev
b3209b1e01
CloudMigrations: Remove onPremToCloudMigrationsAuthApiMig feature flag ( #99368 )
2025-01-24 13:53:58 -03:00
Sonia Aguilar
63a89afe00
Alerting: Fix silence drawer being re-rendered when the alert list is refreshed ( #99468 )
...
* Fix silence drawer being re-rendered when the alert list is refreshed
* remove unnecessary formValues usage as prop
* remove AlertmanagerProvider in RuleActionsButtonsV2
2025-01-24 17:03:58 +01:00
Sonia Aguilar
888965023c
Alerting: Fix getting targets in dag when using classic condition ( #99503 )
...
* fix getting targets in dag when using classic condition
* remove query fingerprinting
the DAG function is probably fast enough and the fingerprinting function is too complex to make it work for all expression types
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2025-01-24 17:45:46 +02:00
Santiago
361312bbd7
Alerting: Expect 406s from the remote Alertmanager during the readiness check ( #99507 )
...
* Alerting: Expect 406s from the remote Alertmanager during the readiness check
* make it clear in the warning logs that we'll attempt to send the confgiuration/state without comparing in case of error pulling the current state/config
2025-01-24 16:26:57 +01:00
Stephanie Hingtgen
6284dd61ae
K8s: Fix get dashboard by plugin id ( #99509 )
2025-01-24 15:26:42 +00:00
Sofia Papagiannaki
d192a44469
Plugins: Modify interface for plugin validations to allow taking PDC into account ( #96089 )
...
* Request interceptor: Do not block PDC
* Apply change after feedback received
* Add test
* Check if secure socks proxy configured for the instance
* Apply suggestions from code review
* Add dedicated service for datasource request URL validation (#99179 )
---------
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2025-01-24 17:01:46 +02:00
Ieva
33a53d170b
AuthZ service: Add metrics ( #99007 )
...
* add metrics for authZ MT service
* remove metrics that are already tracked by the GRPC server metrics
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* undo unneeded change
* test fix
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2025-01-24 14:03:23 +00:00
Misi
437b7a565d
Auth: Add access token to in-proc communication and ServiceIdentity ( #98926 )
...
Use fake access token for in-proc grpc and add ServiceIdentity
---------
Co-authored-by: gamab <gabriel.mabille@grafana.com >
Co-authored-by: Karl Persson <23356117+kalleep@users.noreply.github.com >
2025-01-24 14:03:23 +01:00
John Naizer
eb2d276a42
OAuth: Add support for new user identity flags for grafana-azure-sdk-go ( #98703 )
...
* added changes for rebase
* ran go mod tidy and ran a build
* ran a build
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* updated go.work.sum to upstream
* added newline to match upstream
* added more specificity in documentation
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2025-01-24 12:48:27 +00:00
Gareth Dawson
33d82c43df
Jaeger: run health check through backend ( #99322 )
...
run health check through backend
2025-01-24 19:37:36 +07:00
Ivana Huckova
e3ba96113c
@grafana/plugin-ui: use fixed version of package ( #99500 )
...
@grafana/plugin-ui: use set version of package
2025-01-24 13:35:55 +01:00
Tobias Skarhed
a9f62953df
Combobox: Add fuzzy search ( #99359 )
...
* Add initial fuzzy match
* Remove unused import
* Fuzzy search for Multi
* Remove old filter function
* Restore changes to Multi while waiting for async
* Add non ascii support and memoize stringified version
* updates
* Add tests
* Add tests for real this time
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2025-01-24 13:31:55 +01:00
Ivana Huckova
2dfb796f21
Prometheus package: Replace deprecated @grafana/experimental with @grafana/plugin-ui and @grafana/llm ( #99385 )
...
* Prometheus package: Replace deprecated @grafana/experimental with @grafana/plugin-ui and @grafana/llm
* Fix @grafana/llm mock in test
* Keep version exact
* Keep version exact
* Update lock
2025-01-24 12:46:31 +01:00
Alex Bikfalvi
b07a39bb46
docs: Fixes broken link in data source LBAC ( #99496 )
...
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2025-01-24 11:28:15 +00:00
Stephanie Hingtgen
c787239252
Folder guardian: fail on empty uid ( #99465 )
2025-01-24 11:26:05 +01:00
Josh Hunt
7cb6845d44
Combobox: refactor stories ( #99482 )
...
refactor stories
2025-01-24 09:57:20 +00:00
Josh Hunt
df024793d8
GrafanaUI: Fix error handling from rejected promises in Combobox ( #99478 )
...
fix error handling not actually catching rejected promises from options fn
2025-01-24 09:55:49 +00:00
renovate[bot]
5da15ccdc4
Update scenes to v5.38.0 ( #99470 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-24 09:37:35 +00:00
Tom Ratcliffe
8c2a74bd74
Chore: Add vscode ESLint debug target ( #98277 )
2025-01-24 09:34:32 +00:00
Gabriel MABILLE
a9f0e15778
AuthZ: Change cache interface ( #99058 )
...
* Authz: Switch to remotecache
* Todos
* lint
* lint test
* test readibility
* Remove ttls
* implement a cache wrap
* Rm unused func
* Comment
* Update workspace:
* Use cache
* Fix comment
2025-01-24 09:51:39 +01:00
Stephanie Hingtgen
6a205af5fe
K8s: Fix GetDashboards ( #99484 )
2025-01-24 00:37:15 +02:00
Alex Spencer
af640e2e50
PanelDataPane: Render bottom border on tabs bar ( #99471 )
...
fix: render bottom border on tabs bar
2025-01-23 14:37:11 -07:00
Ezequiel Victorero
3a94057ec8
PublicDashboards: Delete on folder deletion ( #99040 )
2025-01-23 17:23:59 -03:00
Kristina
fdbac6fb54
State Timeline / Status History / Heatmap: Show vertical lines for regional annotations ( #99480 )
...
* show vertical annotation lines when canvasRegionRendering is not true
* simplify
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2025-01-23 22:20:40 +02:00
Galen Kistler
be40f531e6
Loki: Add fetchDetectedFields to LanguageProvider ( #99394 )
...
* feat: add fetchDetectedFields to loki LanguageProvider
2025-01-23 12:56:37 -06:00
Adela Almasan
572be19f76
DataLinks: Add one-click option ( #98563 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2025-01-23 12:47:42 -06:00
Kristina
e9d9b15295
StateTimeline / StatusHistory: Add axis visibility and width controls ( #98548 )
...
* Allow setting the y axis width
* Add to docs
* Add to status history as well
* Add to status history docs and schema
* Change config to come from generic axis builder
* keep axis
* Change overridden label
* Update docs/sources/panels-visualizations/visualizations/status-history/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Update docs/sources/panels-visualizations/visualizations/state-timeline/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Remove the category/label override
* Move axis to its own section in docs as well
* clean
* rename to addAxisWidth
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Move sections to match UI order
* Update docs/sources/shared/visualizations/axis-options-all.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Change other axis options doc to be consistent.
* Fix linter
* add AxisPlacement
* Add new placement option to docs
* change some wording
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2025-01-23 12:21:24 -06:00
renovate[bot]
d24e7c126d
Update dependency yaml to v2.7.0 ( #99466 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 17:21:11 +00:00
ismail simsek
6b227bb374
Prometheus: Handle non-json errors in a better way ( #99342 )
...
* handle json errors in a better way
* update comments
* update unit tests
* Update pkg/promlib/converter/prom.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/promlib/querydata/response_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/promlib/querydata/response_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/promlib/querydata/response_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* update import
---------
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2025-01-23 18:05:23 +01:00
renovate[bot]
75e7236687
Update dependency type-fest to v4.33.0 ( #99463 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 16:41:27 +00:00
Todd Treece
a4ef1f76e4
Dashboards: Backend schema version migration ( #99392 )
2025-01-23 11:40:22 -05:00
Stephanie Hingtgen
192a81d07f
Folders: Fix guardian to use folder service ( #99339 )
2025-01-23 10:30:14 -06:00
renovate[bot]
59b246dbea
Update dependency stylelint to v16.13.2 ( #99455 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 16:10:59 +00:00
Juan Cabanas
ef3a53f85c
Share: Add tracking to invite user button ( #99376 )
2025-01-23 13:06:48 -03:00
ismail simsek
ec9f59fe9e
Chore: Bump promlib to v.0.0.8 ( #99458 )
...
* bump promlib
* make update-workspace
2025-01-23 18:06:14 +02:00
Andres Martinez Gotor
3993d691f4
Advisor: Implement authorizer ( #99440 )
2025-01-23 18:00:02 +02:00
Josh Hunt
a540c2fe7c
MultiCombobox: Refactor open state ( #99453 )
...
* Make downshift useCombobox own the isOpen state again
* oopsie, removed my console logs
2025-01-23 15:31:34 +00:00
Andres Martinez Gotor
b066a63131
Grafana Advisor: Datasource checks ( #99313 )
2025-01-23 16:19:50 +01:00
renovate[bot]
7d2eb83cbd
Update dependency @playwright/test to v1.50.0 ( #99452 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 15:11:05 +00:00
Gabriel MABILLE
05015a57b3
Chore: Upgrade authlib ( #99447 )
2025-01-23 15:52:03 +01:00
Tobias Skarhed
5ca24fde02
AutoSizeInput: Improve performance when typing ( #99443 )
...
* AutoSizeInput: Fix performance issue
* Add comments
* Fix a little oopsie
2025-01-23 16:48:06 +02:00
renovate[bot]
f6202f59d4
Update dependency rollup to v4.31.0 ( #99449 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 14:38:27 +00:00
Ryan McKinley
a037c6f344
K8s/Folders: Remove kubernetesFolders flag and full path metadata ( #99256 )
...
* remove full path
* remove more
* remove KubernetesFolders tests
* remove feature toggles
* remove feature toggles
* skip permissions test
* skip permissions test
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2025-01-23 17:25:03 +03:00
renovate[bot]
d39e57e836
Update dependency react-i18next to v15.4.0 ( #99444 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 13:42:29 +00:00
Stephanie Hingtgen
89dd54a474
Folder: delete from folder table after children ( #99399 )
...
Co-authored-by: maicon <maiconscosta@gmail.com >
2025-01-23 07:36:07 -06:00
Sonia Aguilar
2716db4270
Alerting: Use stack_id instead of id in cloud failures panel in the Insights page ( #99424 )
...
* Use stack_id instead of id in cloud failures panel in the insights page
* update all the wrong id to stack_id
2025-01-23 14:13:29 +01:00
Andreas Christou
4e740d8410
GCM: Time-range fix ( #98455 )
...
* Include timeRange on all query executors
* Ensure queries run against query specific time range
* Fix lint
* Improve safety of annotations queries
2025-01-23 14:57:00 +02:00
renovate[bot]
e110338dce
Update dependency react-highlight-words to v0.21.0 ( #99442 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 14:51:31 +02:00
renovate[bot]
c62bc501d3
Update dependency @types/node to v22.10.9 ( #99413 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 12:33:13 +00:00
Karl Persson
b79f1b2a29
AuzerAD: Handle empty client_authentication case ( #99437 )
...
AuzerAD: Require client secret when client_authentication is set to empty string
2025-01-23 13:04:51 +01:00
Karl Persson
b0347792cc
Zazana: Fix verb to relation mapping ( #99409 )
2025-01-23 13:04:41 +01:00
Ivan Ortega Alba
83bbdbf8b6
LibraryPanel: Use id and title from panel model ( #99281 )
2025-01-23 13:57:45 +02:00
Anton Engelhardt
750027d0a7
fix(docs): add team call returns uid ( #99425 )
...
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2025-01-23 12:03:56 +01:00
Ryan McKinley
c4c934e0bd
SQL/Storage: Remove SkipDataMigration flag ( #99404 )
2025-01-23 12:34:48 +02:00
Jack Baldry
fc7db91bf1
Use tags for documentation-ci actions ( #99419 )
2025-01-23 10:26:37 +00:00
Ieva
723fa7ddf9
MT AuthZ: Resolve renderer permissions in MT authZ service ( #99362 )
...
* resolve renderer permissions in MT authZ service
* also include DS read perms
* fix tests and linting
2025-01-23 10:21:43 +00:00
Mariell Hoversholm
4fb7b47971
Trivy: Document Vulnerability Observability ( #99414 )
...
We use Vulnerability Observability for Docker images. The current comments say we simply don't scan them at all, so
let's make it clear for future readers that we do, in fact, scan Docker images, too.
2025-01-23 11:02:23 +01:00
Nick Botticelli
d476b65d34
Docs: Fix chmod command for LetsEncrypt cert/key file access ( #98354 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2025-01-23 10:46:32 +01:00
Mariell Hoversholm
25447ea93a
Fix: Update yarn.lock so CI can pass again ( #99416 )
...
Chore: Update yarn.lock
`yarn install && yarn build`
2025-01-23 10:38:43 +01:00
renovate[bot]
db3dcd4f7d
Update dependency knip to v5.43.1 ( #99381 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 09:50:25 +01:00
Ivan Ortega Alba
c862aa4d68
LibraryPanel: Fallback to panel title if library panel title is not set ( #99377 )
2025-01-23 09:46:25 +01:00
Karl Persson
d740f9fc60
Authz: Simplify mapper and only check folders if its supported ( #99357 )
...
* Simplify mapper and only check folders if its supported
2025-01-23 09:23:00 +01:00
Mitch Seaman
36fadf19d1
Docs: add user de-duplication description, update usage billing instructions ( #99333 )
...
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2025-01-23 08:33:26 +01:00
Ida Štambuk
dfc565db8d
Datasources: Replace deprecated @grafana/experimental with @grafana/plugin-ui in Cloudwatch and Elasticsearch ( #99374 )
2025-01-23 03:00:30 +01:00
Brendan O'Handley
1a634b0539
Explore metrics: Add metadata heuristic for native histograms ( #99348 )
2025-01-22 18:09:03 -06:00
Brendan O'Handley
887e9fb5b5
Explore metrics: fix flexGrow issue with native histograms banner ( #99346 )
2025-01-22 18:07:51 -06:00
Ryan McKinley
7564ce8ce1
Chore: update feature toggle git stats ( #99390 )
2025-01-22 14:48:51 -05:00
maicon
8de4b64047
Unistore: get folder by title ( #99391 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-01-22 16:47:46 -03:00
Haris Rozajac
1c8a7d8872
Dashboard Schema V2: Remove type assertions and anys from schemav2 code ( #99222 )
...
* Remove type assertions and anys from schemav2 code
* Handle type conversion
* fix test
* Filter undefined
2025-01-22 09:45:49 -07:00
Alex Spencer
29d9d8cf51
GroupingToMatrix: Defensively guard against null column name ( #99286 )
...
* bugfix: defensive guard against null columnName
* fix: per suggestion limit diff and revert alphabetization of properties
* test: add test for null case
* chore: remove it.only
* test: convert to inline snapshot
2025-01-22 09:37:21 -07:00
Haris Rozajac
a0e7569e4f
Dashboard Schema V2: ResponseTransformers: Transform layout, panels, annotations and variables when ensuring v1 ( #99050 )
...
* wip
* Fix annotationV1
* variables
* tests
* Fix query variable
* Don't need extra chaining arg in maxPerRow
* Logic for libary panels; tests for variables and library panels
* lint
2025-01-22 08:56:20 -07:00
Dominik Prokop
daced46d27
Schema v2: Remove schemaVersion property ( #99375 )
...
* Schema v2: Remove schemaVersion property
* ah snap
2025-01-22 16:52:34 +01:00
ismail simsek
88ab29f6ba
Explore Metrics: Open queries that have utf8 labels in explore properly ( #99117 )
...
* open queries that have utf8 labels in explore properly
* remove unnecessary line
* Revert "open queries that have utf8 labels in explore properly"
This reverts commit 85b81c96
* remove quoting
* support open in explore
2025-01-22 16:41:40 +01:00
renovate[bot]
974cec2936
Update dependency fs-extra to v11.3.0 ( #99378 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 17:05:55 +02:00
renovate[bot]
a05bb05e60
Update dependency eslint-plugin-jest to v28.11.0 ( #99365 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 14:44:52 +00:00
Andres Martinez Gotor
003f0e5918
Plugins: Expose function to retrieve gcom info ( #99372 )
2025-01-22 16:41:34 +02:00
Ivana Huckova
23f495d4cd
Big tent data sources: Replace deprecated @grafana/experimental with @grafana/plugin-ui ( #99331 )
...
* Zipkin: Replace deprecated @grafana/experimental with @grafana/plugin-ui
* Prometheus: Replace deprecated @grafana/experimental with @grafana/plugin-ui
* Mysql: Replace deprecated @grafana/experimental with @grafana/plugin-ui
* Jaeger: Replace deprecated @grafana/experimental with @grafana/plugin-ui
* Postgresql: Replace deprecated @grafana/experimental with @grafana/plugin-ui
* Brin experimental back to main package.json - accidentally removed
* Fix order of imports
2025-01-22 15:18:41 +01:00
Bogdan Matei
d2d6dd2e5f
Dashboards: Prevent rows nesting ( #99246 )
2025-01-22 15:57:45 +02:00
Dominik Prokop
51b4ac50aa
Panel inspect: Fix inspect keyboard shortcut when grafana served from subpath ( #99366 )
...
* Panel inspect: Fix inspect keyboard shortcut when grafana served from a subpath
* Add e2e test
2025-01-22 13:25:10 +01:00
Sven Grossmann
5b8e6f8fa8
Explore: Prevent hidden queries from being run as supplementary query ( #99356 )
...
fix(loki/elasticsearch): prevent hidden queries from being run as supplementary query
2025-01-22 13:13:57 +01:00
Ida Štambuk
149bc74191
ElasticSearch: Parse histogram interval as float instead int ( #99270 )
2025-01-22 12:51:24 +01:00
owensmallwood
dd483fc17f
Unified Storage: Search permissions put behind feature flag ( #99340 )
...
* add feature flag
* puts search permission filtering behind a feature flag
* fixes issue with doc match id. When the match is for an in-memory index, the internal id is a string (this is what we expected). However, when its a file-based index, the internal id is a binary encoded int64 that point to something internally. So to get the id, we need to use ExternalID() instead of relying on the indexInternalID to be the correct format.
* adds debug log
* update comment
* formatting
2025-01-22 05:38:37 -06:00
Torkel Ödegaard
5b5831ae34
Dashboard: Simplify repeating logic and panel menu interaction ( #99352 )
...
* Dashboard: Simplify repeating logic and panel menu interaction
* Update
* Remove unused behavior
2025-01-22 12:25:04 +01:00
Ryan McKinley
9d30911107
SQL/Storage: Use xorm code migration for DeletionMarker ( #99353 )
2025-01-22 14:07:08 +03:00
renovate[bot]
3ae6e09fee
Update scenes to v5.37.1 ( #99364 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 11:01:37 +00:00
dependabot[bot]
2dfa0abfbe
Bump undici from 6.19.8 to 6.21.1 ( #99345 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 6.19.8 to 6.21.1.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v6.19.8...v6.21.1 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 11:59:57 +01:00
Sam Jewell
97db8b19c7
[Prometheus]: Mark ALERTS synthetic metric as a gauge ( #99328 )
...
Mark ALERTS synthetic metric as a gauge
It's not a counter. It can go down in value, but counters cannot
2025-01-22 10:50:33 +00:00
renovate[bot]
4b8e6b3401
Update dependency @grafana/plugin-e2e to v1.16.0 ( #99358 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 10:39:10 +00:00
antonio
88d5ae8153
docs>alert-rules>templates:example-fix ( #99355 )
...
* docs>alert-rules>templates:example-fix
* second-fix
* fixed 2 other label templates
2025-01-22 11:01:11 +01:00
renovate[bot]
5791115b0a
Update dependency centrifuge to v5.3.0 ( #99337 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 09:41:11 +00:00
maicon
28ad61ff6c
Unistore: Get Folder By ID ( #99131 )
...
* Unistore: Get Folder By ID
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-01-22 01:45:59 -03:00
Matthew Jacobson
20d25c6ad9
Alerting: Use rule uid in silenceURL template instead of alertname and folder ( #99221 )
...
* Update grafana/alerting to a5e8136407d4
Includes:
- Alerting: Use rule uid in silenceURL template instead of alertname and folder (#266 )
* Fix tests
2025-01-21 18:11:22 -05:00
Dave Henderson
f1e9c5b1ef
chore: Use non-zero version to reference github.com/grafana/grafana Go module ( #99343 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2025-01-21 23:59:22 +02:00
Todd Treece
2622449718
Dashboards: Use dashboard service in access control ( #99053 )
2025-01-21 22:57:43 +02:00
maicon
45e2f95a41
Unistore: Avoid circular dependency when injecting restcfgprovider into FolderSvc ( #99295 )
...
* Avoid circular dependency when getting a restCfgProvider for Folder Svc
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-01-21 17:42:38 -03:00
Leon Sorokin
1c858caec3
Transformations: Use FrameMultiSelectionEditor in Filter data by refId ( #97212 )
...
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com >
2025-01-21 13:36:34 -06:00
Leon Sorokin
a03f897cd5
Table: Fix viz suggestions ( #99335 )
2025-01-21 13:25:33 -06:00
Matias Chomicki
dccca0729f
Logs Volume: Do not throw when fields are missing ( #99318 )
...
* Logs Volume: Do not throw when fields are missing
* Add removed line back
* Prevent permanent mutations
* Decrease nesting
* Move conditional up
* Update public/app/features/logs/utils.ts
Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com >
* Use dataframe length and remove from function
* Use getFieldDisplayName
* Keep original dependency array
* Keep original dependency array
---------
Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com >
2025-01-21 20:02:07 +01:00
renovate[bot]
ad30ca2ccd
Update dependency @react-types/shared to v3.27.0 ( #99332 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 17:54:06 +00:00
Syerikjan Kh
97d8f68b70
Feat: Data source connections tab in plugin detail page ( #99049 )
...
* feat: datasource connections tab in plugin detail page
* test: no ds defined test added
* feat: configure feature toggle
* chore: i18n extract
* test: added unit tests for page and list
2025-01-21 12:39:48 -05:00
Bogdan Matei
b11d3bc045
Dashboards: Prevent panel selection on drag and items click ( #99190 )
2025-01-21 19:26:06 +02:00
Ashley Harrison
2982d95a74
Chore: Convert query library to use generated RTK query apis ( #99314 )
...
* add generate script and endpoints.gen.ts
* temp state with delete working
* list + save working
* edit working
* starting to clean up
* fix remaining type errors
* remove withNamespace function
* fix richhistory
* clean up some types
* extract query limit to endpoint definition
* extract namespace logic into common util
* update CODEOWNERS
* move script to be nearer generated endpoints
* remove nonexistent script from CODEOWNERS
2025-01-21 17:25:45 +00:00
renovate[bot]
bd84fdad51
Update dependency @swc/core to v1.10.9 ( #99330 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 16:37:29 +00:00
Ryan McKinley
3bc9f10bb3
Dashboards/SQL: Improve SQL query behavior ( #99253 )
...
* update legacy dashboard SQL
* merge main
* trim message
2025-01-21 19:35:33 +03:00
Victor Marin
eaca8e501f
DashboardScenes: Fix issue where timezone was not considered in relative time override ( #99316 )
...
* Fix issue where timezone was not considered in relative time override
* fix
2025-01-21 18:09:23 +02:00
renovate[bot]
5532d7007c
Update dependency @grafana/plugin-e2e to v1.15.0 ( #99320 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 16:01:21 +00:00
ismail simsek
12ae2a520c
Explore Metrics: Remove overview tab in metric select view ( #97118 )
...
* introduce the exploreMetricsRemoveOverviewTab feature toggle
* handle actionView equal to overview in url
* set description in selected metric scene
* fix import
* ExploreMetrics: Disable the Overview tab by default (#98988 )
feat: disable overview tab by default
* fix: remove unnecessary feature toggle
* chore: remove overview
* make i18n-extract
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
Co-authored-by: Nick Richmond <nick.richmond@grafana.com >
2025-01-21 16:51:02 +01:00
owensmallwood
6f12b8e3a4
Unified Storage: Add more debug logs to permission filtering ( #99325 )
...
add more debug logs
2025-01-21 17:34:58 +02:00
Stephanie Hingtgen
2fe510eb6f
Dashboards: set max length of message to 500 ( #99229 )
2025-01-21 08:50:24 -06:00
Ezequiel Victorero
865e911e10
Share: Add analytics to invite user flow ( #99116 )
2025-01-21 11:47:57 -03:00
Pepe Cano
c7edbffd82
Alerting docs: add Admonitions to Link Doc pages with practical Tutorials ( #99317 )
...
Alerting docs: add admonitions to link to practical tutorials
2025-01-21 15:18:57 +01:00
Galen Kistler
ee0129e8cf
Loki datasource: move loki-editor e2e test to playwright ( #99192 )
...
* test: rewrite cypress test in playwright
* Update e2e/plugin-e2e/plugin-e2e-api-tests/as-admin-user/lokiEditor.spec.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com >
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2025-01-21 15:39:33 +02:00
renovate[bot]
5a45f59573
Update dependency @faker-js/faker to v9.4.0 ( #99315 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 13:37:00 +00:00
Tobias Skarhed
36f850601f
MultiCombobox: Extract message rows ( #98614 )
...
* Extract messagerows
* Fix imports
* Fix again
* Remove export
* Fix text color
2025-01-21 14:22:09 +01:00
Yulia Shanyrova
3177e33470
Plugins: Return styles for info section at Plugin details panel ( #99307 )
...
return styles for info section
2025-01-21 14:08:17 +01:00
Ryan McKinley
1740ee82ba
Chore: Avoid authlib/claims in go.mod ( #99311 )
2025-01-21 14:01:21 +01:00
renovate[bot]
c1eac9f997
Update dependency @bsull/augurs to ^0.9.0 ( #99309 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 13:50:06 +02:00
Andres Martinez Gotor
e747350fee
Grafana Advisor: Skeleton app ( #99242 )
2025-01-21 12:31:33 +01:00
renovate[bot]
1b5eaebb6e
Update dependency knip to v5.42.2 ( #99308 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 11:28:24 +00:00
renovate[bot]
83fffe83a2
Update dependency eslint-plugin-jsdoc to v50.6.2 ( #99305 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 11:09:55 +00:00
renovate[bot]
13121ccf23
Update dependency @types/node to v22.10.7 ( #99288 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 12:22:37 +02:00
Ryan McKinley
0f023e7039
FeatureToggles: remove panelTitleSearchInV1 ( #99292 )
...
remove panelTitleSearchInV1
2025-01-21 12:59:32 +03:00
Ryan McKinley
d8b6ded101
K8s: use deprecatedInternalID label rather than SQL annotation ( #99263 )
2025-01-21 12:38:14 +03:00
Pepe Cano
9ce9ad1777
Alerting docs: add instructions to execute notification template examples ( #99275 )
2025-01-21 10:32:04 +01:00
Ryan McKinley
d91d729749
Storage/SQL: Support more filter by namespace/group/resource ( #99249 )
2025-01-21 12:15:08 +03:00
Ryan McKinley
680e6bc1f8
Authlib: Use types package rather than claims ( #99243 )
2025-01-21 12:06:55 +03:00
Ryan McKinley
b2d0359e72
K8s/Folders: Remove slow/redundant folder integration tests ( #99291 )
2025-01-21 11:14:31 +03:00
Victor Marin
bf1a0837af
DashboardScenes: Fix issue where relative time does not pass properly ( #99282 )
...
fix issue where relative time does not pass properly
2025-01-21 09:37:40 +02:00
ismail simsek
d3a27a8c73
Chore: Remove redundant test files ( #99293 )
...
remove redundant test files
2025-01-21 07:17:38 +03:00
owensmallwood
c45aff1251
Unified Storage: Permissions can filter search results ( #99042 )
...
* fix bug when parsing results in search handler
* applies permissions filtering to bleve query
* formatting
* wraps in check for access being present, adds some comments
* update go mod
* fix tests
* add dep owner
* fix go mod
* add space after //
* clean up returns
Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com >
* fixed formatting
* Uses single checker since index is for single resource. Passes folderId using dvReader to checker func. Adds debug logging.
* handles federation with index permission checkers
* formatting
* move import
---------
Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com >
2025-01-20 14:30:09 -06:00
Isabel Matwawana
9801a5a943
Docs: Reporting restructure ( #98913 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
2025-01-20 14:17:54 -05:00
renovate[bot]
8c90f30e68
Update dependency @swc/core to v1.10.8 ( #99287 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 18:57:53 +00:00
Ryan McKinley
2756bc9a87
Zipkin: Fix key order in flaky test ( #99285 )
...
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2025-01-20 20:24:45 +02:00
Tom Ratcliffe
52c95f77cd
Alerting: Include error from current condition when previewing queries ( #98202 )
2025-01-20 17:56:21 +00:00
renovate[bot]
80a2d8ad34
Update dependency @react-types/overlays to v3.8.12 ( #99283 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 17:49:39 +00:00
renovate[bot]
4fb9f0a386
Update dependency @react-types/menu to v3.9.14 ( #99280 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 17:27:44 +00:00
Ryan McKinley
52c1a3dccd
Search: Delete old indexes once not in use ( #99251 )
2025-01-20 20:25:26 +03:00
renovate[bot]
427a601980
Update dependency @react-types/button to v3.10.2 ( #99274 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 17:03:10 +00:00
renovate[bot]
15d0b139c7
Update dependency @grafana/faro-web-tracing to v1.12.3 ( #99272 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 15:49:38 +00:00
Leon Sorokin
863d56b7e1
Prometheus: Sort Table format data frames by first field's values ( #99223 )
2025-01-20 09:42:13 -06:00
renovate[bot]
cc3b3ccdef
Update dependency @grafana/faro-web-sdk to v1.12.3 ( #99268 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 15:27:15 +00:00
Karl Persson
7329d2c34b
Authz: Account for fixed roles when running oss and using authz service ( #99244 )
...
* Extract "PermissionStore" from general store interface
* Add static and union permission stores
* Add GetStaticRoles
* Use accesscontrol.Service for inproc to provide static permissions
2025-01-20 16:00:36 +01:00
renovate[bot]
0baf3a8f95
Update dependency @grafana/faro-web-sdk to v1.12.3 ( #99267 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:47:41 +00:00
Juan Cabanas
37b7776b21
PublicDashboards: HorizontalGroup removal ( #98697 )
2025-01-20 11:41:58 -03:00
renovate[bot]
c241ac57d8
Update dependency @grafana/faro-core to v1.12.3 ( #99265 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 14:26:06 +00:00
Eric Leijonmarck
cf19d6d4b7
Teams: Consistency in save/update on the team settings page ( #99200 )
...
* make team page consistent
* fmt/linting
* fix tests
2025-01-20 14:07:38 +00:00
renovate[bot]
c601d79889
Update dependency @grafana/monaco-logql to ^0.0.8 ( #99226 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 13:58:36 +00:00
Sonia Aguilar
80b8dd3fc8
Alerting: Set alert form simple modes enabled by default ( #99233 )
...
set alert form simple modes enabled by default
2025-01-20 14:55:34 +02:00
Ivan Ortega Alba
95d4f83889
DashboardSchema: Add library panel to v2 ( #98484 )
...
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
2025-01-20 12:44:36 +01:00
Misi
f96a2082d0
Auth: Allow self serve for improved external session handling feature toggles ( #99245 )
...
Auth: Allow self serve for improved external session handling
2025-01-20 12:33:37 +01:00
Alexander Akhmetov
651430e34a
Alerting: Add sync state persister to save entire state of the rule ( #96628 )
2025-01-20 12:12:27 +01:00
Ivana Huckova
63a68f3e99
Zipkin: Fix test file name ( #99238 )
...
Zipkin: Fix test file name
2025-01-20 12:01:17 +01:00
Marc M.
27cdd25917
FlameGraph: Add prop to keep focused items when the profile data changes ( #98356 )
2025-01-20 12:34:48 +02:00
Joao Silva
b3b044b54b
MultiCombobox: Add "All" option ( #98377 )
...
* MultiCombobox: Add All option
* Translate
* Add prop to show All option
* Change variable name
* betterer update
* Extract variable
* Update packages/grafana-ui/src/components/Combobox/MultiCombobox.tsx
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
* Return All item
* Update checkboxes
* Add filtering functionality
* Handle deduplication when selecting already selected items
* Performance improvements when selecting and modifying all items
* Handle bug with isOpen for tests to pass
* Small fixes
* Add filtered phrase
* Address PR feedback
* Reset okg/services from main
* Reset from main
* Restore main
* Add counter to filtered all
* Fix OptionListItem
* Hide all when there are no results
* Refactor to use useMemo instead
* Fix comments
* Remove useEffect
---------
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com >
2025-01-20 12:32:09 +02:00
Andres Martinez Gotor
c1364d6be6
New feature flag grafanaAdvisor ( #99235 )
2025-01-20 11:08:00 +01:00
jackyin
55ec66c416
Datasources: timeEnd not work ( #98375 )
...
* time end not work
2025-01-20 10:04:43 +00:00
Jack Baldry
1f780fdce1
Lint for Writers' Toolkit style ( #99234 )
2025-01-20 09:55:37 +00:00
Jack Baldry
1e53ab609e
Only run documentation linter on branches that target main ( #99163 )
2025-01-20 09:52:39 +00:00
Jack Westbrook
dea2e41e9f
Grafana UI: Use Eslint no-restricted-imports in tests and stories ( #99191 )
...
* style(eslint): remove ignore from grafana/ui-overrides
* style(grafana-ui): update imports for tests
* style(grafana-ui): update imports for stories
* chore(betterer): update results file
* Fix useTheme import
* Change deprecated Horizontal/Vertical group usages
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2025-01-20 09:44:19 +01:00
Stephanie Hingtgen
1a2a284972
K8s: Dashboards: Set message as annotation ( #99230 )
2025-01-20 08:40:23 +03:00
Stephanie Hingtgen
b309c5daed
K8s: Refactor client to be generic ( #99231 )
2025-01-19 16:53:53 -06:00
antonio
d346819d62
add note to part 4 ( #99194 )
2025-01-19 09:37:36 +01:00
Matias Chomicki
a61548c5b9
PreviewLogRow: fix LogRowMessageDisplayedFields being unnecessarily rendered ( #99217 )
2025-01-17 23:40:53 +02:00
Stephanie Hingtgen
e33936398c
Public dashboards: return full list when more than 1000 ( #99216 )
2025-01-17 23:16:30 +02:00
Sonia Aguilar
8fabc66bd2
Alerting: Fix not showing metadata in contact point when rendering an existing alert rule ( #98956 )
...
show metadata in contact point when loading an existing alert rule
2025-01-17 22:02:10 +01:00
Matthew Jacobson
a6dffd7552
Upgrade grafana/alerting to 209e052dba64 ( #99118 )
...
Update grafana/alerting to 209e052dba64
Includes:
- Add NoopDecode function for non-base64-encoded secrets (#264 )
- Log duplicated receivers (#265 )
2025-01-17 21:53:41 +02:00
Stephanie Hingtgen
fb3a858726
Revert "Remove dependency on dashboards table to get library element and library element connection" ( #99213 )
...
Revert "Remove dependency on dashboards table to get library element and libr…"
This reverts commit 32790c6918 .
2025-01-17 21:43:14 +02:00
Andreas Christou
414f8d14f4
Azure: User-auth updates ( #99113 )
...
* Bump Azure sdk
* Minor fix because of credentials update
* Revert "Minor fix because of credentials update"
This reverts commit 1f49949ee3 .
2025-01-17 12:13:34 -06:00
Andreas Christou
f39c5bb45c
Azure: Correctly set instance settings based on new credentials ( #99112 )
...
Correctly set value based on new credentials
2025-01-17 12:13:15 -06:00
Sonia Aguilar
798b32138d
Alerting: Use useProduceNewAlertmanagerConfiguration for notification policies ( #98615 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2025-01-17 20:06:50 +02:00
Ronald McCollam
59184628e1
Add Apache instructions ( #97369 )
...
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com >
2025-01-17 11:53:25 -06:00
Haris Rozajac
4f337b99d4
Dashboards Schema V2: ResponseTransformers: Transform remaining variables when ensuring v2 ( #98777 )
...
* add missing vars
* Don't create undefined variable fields
* tests
* Fix test; remove allValue from groupBy
* Fix tests
* betterer
* Use @ts-expect-error
* betterer
2025-01-17 09:54:42 -07:00
SeamusGrafana
40baca699a
Alerting: Add Missing Quotes to Failed Evaluations Queries ( #99067 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2025-01-17 16:43:33 +00:00
Tom Ratcliffe
55644faa9d
Chore: Remove alerting frontend from app/alerting codeowners ( #99147 )
...
Remove alerting frontend from app/alerting codeowners
2025-01-17 18:06:31 +02:00
Ashley Harrison
7411663b74
Chore: Upgrade to React 18.3 ( #99183 )
...
upgrade to react 18.3
2025-01-17 15:56:44 +00:00
Brendan O'Handley
ac94e81423
Explore metrics: Update copy for missing metrics message when OTel is on ( #99056 )
...
* Update copy for missing metrics when OTel is on
* update message
* Add OTel message in no metrics found message, not the warning banner
* Otel > OTel
2025-01-17 09:32:22 -06:00
Brendan O'Handley
7ccc811203
Explore metrics: Add class to metric prefix dropdown for fullstory ( #99106 )
...
add class to metric prefix dropdown for fullstory
2025-01-17 09:31:30 -06:00
Ivan Ortega Alba
feae06d81c
QueryVariable: Default query is not set when creating a new variable ( #99029 )
...
* QueryVariable: Default query is not set when creating a new variable
* use correct getDefaultQuery
---------
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com >
2025-01-17 15:11:25 +00:00
Arati R.
2bce8c5e29
Folders: Use folder UID instead of folder ID in query for getting library elements ( #99028 )
2025-01-17 16:04:11 +01:00
Isabel Matwawana
348c0319c4
Docs: move DynamoDB to Unsupported list ( #99120 )
2025-01-17 09:52:37 -05:00
Igor Suleymanov
bc6b7a4df6
Update playlists app schemas to work with app SDK v0.29.0 ( #98974 )
...
* Update playlists app schemas to work with app SDK v0.29.0
What
* Added the manifest for the playlists app
* Updated playlist kind definition to match the new format
* Re-generated the files
* Changed Makefile to not use post-processing flag
Why
To make sure the codegen works with the latest version of the app SDK.
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Update app SDK to v0.30.0
* Skip generating custom resource definitions
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Fix SDK not generating the manifest Go file
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
2025-01-17 16:17:31 +02:00
Bogdan Matei
1d7d658934
Dashboard: Show hidden elements ( #99073 )
2025-01-17 15:40:18 +02:00
Ryan McKinley
356b32008b
Storage: Show history+trash using the list command ( #99009 )
...
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-01-17 15:54:25 +03:00
Karl Persson
67252dfa46
Zanzana: Add grpc health and readiness checks for standalone zanzana ( #99176 )
...
Add grpc health and readiness checks for standalone zanzana
2025-01-17 13:39:42 +01:00
Daniel Holmes
032f465ac6
Grafana UI: W/m2 should still support SI prefixes ( #98362 )
...
fix: W/m2 should still support SI prefixes
Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com >
2025-01-17 12:59:21 +01:00
Ryan McKinley
7c04247d6f
K8s/Dashboard: Set generation from version ( #99142 )
2025-01-17 13:52:01 +02:00
Arati R.
a0d1a197e3
Folders: Use folder UID when deleting library elements in folder ( #98967 )
...
* Refactor deleteLibraryElementsInFolderUID to use folder UID only
* Convert dashboard error to folder one when deleting library elements
* Fix incorrectly set folder UID in nested folder test
---------
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com >
2025-01-17 12:04:02 +01:00
Esteban Beltran
f65e9fa9ab
Sandbox: Add SRI validation for CDN assets loaded in the sandbox ( #99023 )
...
Add SRI validation for frontend sandbox
2025-01-17 11:47:36 +01:00
Mariell Hoversholm
f9cc08a42d
Test: Skip loki-editor spec test for being flaky ( #99145 )
...
test: skip loki-editor spec test
This is a flaky test. Examples:
* Failure: https://drone.grafana.net/grafana/grafana/217717/6/21
* Successful: https://drone.grafana.net/grafana/grafana/217748/6/21
* Failure: https://drone.grafana.net/grafana/grafana/217795/6/21
* Successful: https://drone.grafana.net/grafana/grafana/217796/6/21
* Failure: https://drone.grafana.net/grafana/grafana/217826/6/21
* Failure: https://drone.grafana.net/grafana/grafana/217834/6/21
2025-01-17 12:20:47 +02:00
Alexander Zobnin
c5f14407cc
Zanzana: Refactor stores listing ( #99098 )
...
Zanzana: Refactor store loading
2025-01-17 11:10:22 +01:00
Ivana Huckova
5e23b2c07f
Zipkin: Improve error source ( #99099 )
...
* Zipkin: Improve error source
* Revert file name change
2025-01-17 10:04:33 +01:00
renovate[bot]
f9a61e2eb2
Update React Aria ( #99129 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 09:49:39 +01:00
Alexander Zobnin
17a09c28dd
Chore: Upgrade openfga to 1.8.4 ( #99095 )
2025-01-17 09:36:08 +01:00
Mariell Hoversholm
a08f406781
Security: Update to Go 1.23.5 ( #99121 )
...
* feat: update to Go 1.23.5
* chore: make drone
* chore: make update-workspace
* CI: Force re-build
* CI: Force re-build
2025-01-17 09:29:52 +01:00
Stephanie Hingtgen
e019e34eb5
Stats: use dashboard stats rather than list ( #99130 )
2025-01-17 08:19:56 +03:00
Stephanie Hingtgen
5a930e0ec6
K8s search: add legacy id to dashboard response ( #99132 )
2025-01-17 08:16:48 +03:00
ismail simsek
6901bad03b
Chore: Export some more from index for explore metrics ( #99110 )
...
* export some more from index.ts for explore metrics
* lint
* export default member
* update imports in explore metrics
* Update packages/grafana-prometheus/src/index.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* Update public/app/features/trails/helpers/MetricDatasourceHelper.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
2025-01-16 22:38:40 +01:00
Nick Richmond
c63c869bca
ExploreMetrics: Add label cross-reference technique in Related Logs tab ( #98775 )
...
* feat: fetch logs containing active labels
* refactor: simplify & handle unhappy path
* refactor: avoid local plugins
* refactor: simplify, clarify, and add operator flexibility
* fix: messaging for no related logs
* refactor: prefer early return
* refactor: avoid problematic `instanceof` checks
* test: `getDataSources` + `getLokiQueryExpr` functionality
* refactor: add clarity
* refactor: clean up
* refactor: add clarity
* feat: account for known label name differences
* refactor: prefer shared type
* test: label name conversions
* test: update to match refactor
* fix: multi-connector query combination
* perf: prefer labels queries to full Loki queries
* fix: limit number of Loki data sources
* docs: explain purpose of parsing solution
* refactor: simplify logs queries
* docs: add clarity
* fix: handle unhappy path w/variable updates
* fix: handle unhealthy Loki data sources
2025-01-16 14:29:17 -05:00
Andreas Christou
f6194931f5
Azure: Improve resource request error handling ( #99017 )
...
* Improve resource request error handling
- Correctly parse JSON responses
- Log erroneous failures in JSON marshalling/unmarshalling
- Correctly set response status code
- Do not attempt to use the response writer as it will be nil
* Minor change
* Improve type assertion handling
2025-01-16 18:38:20 +00:00
maicon
b4ec11e150
Unistore: Ensure deprecated Folder ID gets stored on all modes ( #99043 )
...
* Unistore: Ensure deprecated Folder ID gets stored on all modes
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-01-16 15:01:00 -03:00
Ashley Harrison
8e59f618c1
CodeEditor: Fix cursor alignment ( #99090 )
...
* remeasure fonts once they've loaded
* add test mock
* fix unit test
* remeasure fonts after the editor has mounted just to be safe
2025-01-16 16:54:16 +00:00
Irene Rodríguez
54440811b3
Add DynamoDB to unconfirmed list ( #99087 )
2025-01-16 17:32:13 +01:00
ismail simsek
e96b5a68c4
Prometheus: Support utf8 metrics and labels in scopes ( #99015 )
...
* support utf8 in scopes
* separate the utf8 tests
* remove redundant test after enabling utf8 validation in prometheus
2025-01-16 18:11:44 +02:00
kay delaney
c0b3932168
Graphite: Fix issue where duplicated panels share same query object ( #99077 )
2025-01-16 16:07:57 +00:00
Brendan O'Handley
1eb45dd0f8
Explore metrics: Do not show otel switch in related metrics tab ( #99054 )
...
do not show otel switch in related metrics tab
2025-01-16 10:00:39 -06:00
Ashley Harrison
cff07c9fb6
Chore: Replace rc-time-picker with rc-picker ( #99022 )
...
* replace rc-time-picker with rc-picker
* remove unnecessary stack
* remove TimePickerInput
* make props stricter
* fix type assertions
* remove outdated comment
* fix types
* fix clear icon
* fix styling
* fix z-index and 6 tests
* fix remaining unit tests
* betterer results
* styling tweaks
* don't show/hide scrollbars on hover
2025-01-16 15:58:02 +00:00
ismail simsek
106af5d0ee
Prometheus: UTF8 support in metrics browser ( #98612 )
...
* utf8 metrics for prometheus devenv
* introduce utf8 support
* completions and suggestions
* don't wrap the utf8 label in quotes
* linting
* support utf8 labels and metrics on visual query builder
* lint
* update raw view for utf8 metric syntax
* betterer
* support utf8 metric names in explore metrics
* utf8 support in grouop by
* utf8 support in label break down
* utf8 metric and label support in metric_find_query for label values
* use the same regex to check label values
* no need to escape
* support series endpoint
* support series endpoint
* support series endpoint
* support series endpoint
* fix tests
* fix extracting labels from labelValuesQuery
* show explanation with right syntax
* support utf8 metrics and labels
2025-01-16 17:50:35 +02:00
ismail simsek
029edcb6be
Prometheus: Render metrics and labels in explanation with right syntax ( #98591 )
...
* utf8 metrics for prometheus devenv
* introduce utf8 support
* completions and suggestions
* don't wrap the utf8 label in quotes
* linting
* support utf8 labels and metrics on visual query builder
* lint
* update raw view for utf8 metric syntax
* betterer
* support utf8 metric names in explore metrics
* utf8 support in grouop by
* utf8 support in label break down
* utf8 metric and label support in metric_find_query for label values
* use the same regex to check label values
* no need to escape
* support series endpoint
* support series endpoint
* support series endpoint
* support series endpoint
* fix tests
* fix extracting labels from labelValuesQuery
* show explanation with right syntax
* betterer
2025-01-16 17:30:29 +02:00
ismail simsek
4386cfc984
Prometheus: Support utf8 metrics and labels in variable editor ( #98345 )
...
* utf8 metrics for prometheus devenv
* introduce utf8 support
* completions and suggestions
* don't wrap the utf8 label in quotes
* linting
* support utf8 labels and metrics on visual query builder
* lint
* update raw view for utf8 metric syntax
* betterer
* support utf8 metric names in explore metrics
* utf8 support in grouop by
* utf8 support in label break down
* utf8 metric and label support in metric_find_query for label values
* use the same regex to check label values
* no need to escape
* support series endpoint
* support series endpoint
* support series endpoint
* support series endpoint
* fix tests
* fix extracting labels from labelValuesQuery
* betterer
2025-01-16 17:10:34 +02:00
Ihor Yeromin
019ee9c2d4
Table: Fix inspect drawer disappears unexpectedly ( #99025 )
...
fix(table): inspect drawer disappears unexpectedly
2025-01-16 15:58:56 +01:00
ismail simsek
b532df36c4
Explore Metrics: Support prometheus utf8 metrics names and labels ( #98285 )
...
* utf8 metrics for prometheus devenv
* introduce utf8 support
* completions and suggestions
* don't wrap the utf8 label in quotes
* linting
* support utf8 labels and metrics on visual query builder
* lint
* update raw view for utf8 metric syntax
* betterer
* support utf8 metric names in explore metrics
* utf8 support in grouop by
* utf8 support in label break down
* support series endpoint
* support series endpoint
* support series endpoint
* Explore metrics: Utf8 support in Explore metrics with OTel experience enabled (#98707 )
* betterer
---------
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com >
2025-01-16 16:49:06 +02:00
Sergej-Vlasov
a32eed1d13
TransformationFilter: Include transformation outputs in transformation filtering options ( #98323 )
...
* wip: include transformation output as filtering option
* add refId to joinByField transformation
* clean up
* add refId to transformations that create new data frames
* adjust duplicate query removal for filtering options
* refactor transformation input/output subscription effect
* adjust input data frame filtering logic to include transformations as input for debug view
* transformation filter can only filter on output of previous transformation
2025-01-16 14:45:23 +00:00
Sergej-Vlasov
3df1fa86ae
setDashboardPanelContext: Allow to add filters from the table with the same key ( #99004 )
...
* always add filters for elastic seach ds when filtering table value
* simplify update filter logic and restore behaviour from old arch
* remove unnecessary modifications
* adjust namig
2025-01-16 14:43:46 +00:00
Ryan McKinley
d95484fba6
K8s/Client: Add watch support ( #99060 )
...
* add watch client
* add watch client
* add support for selectors
* parse labels
* always send watch
* reuse decoder
* Update public/app/features/apiserver/client.ts
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Update public/app/features/apiserver/client.ts
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Update public/app/features/apiserver/client.ts
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2025-01-16 17:41:52 +03:00
ismail simsek
31deddafb6
Prometheus: Support utf8 labels and metrics on visual query builder ( #98274 )
...
* utf8 metrics for prometheus devenv
* introduce utf8 support
* completions and suggestions
* don't wrap the utf8 label in quotes
* linting
* support utf8 labels and metrics on visual query builder
* lint
* update raw view for utf8 metric syntax
* betterer
* support series endpoint
* support series endpoint
* betterer
2025-01-16 16:24:56 +02:00
ismail simsek
4c0fa629da
Prometheus: Support utf8 metric/label/label value suggestions in code mode ( #98253 )
...
* utf8 metrics for prometheus devenv
* introduce utf8 support
* completions and suggestions
* don't wrap the utf8 label in quotes
* linting
* support series endpoint
2025-01-16 15:01:51 +01:00
Tom Ratcliffe
862c0ce9b5
Alerting: Fix check for contact point email in IRM essentials page ( #98977 )
2025-01-16 13:59:32 +00:00
Gabriel MABILLE
70ddf9cb76
Authenticator: Return gRPC errors ( #99000 )
2025-01-16 14:33:57 +01:00
Georges Chaudy
98e9f3a534
[unistore] wire authlib compile ( #99027 )
...
* Wire authz client compile method
* add verb to metric
* remove tipo
2025-01-16 14:11:55 +01:00
Sven Grossmann
4936c53072
chore: upgrade @grafana/lezer-logql and @grafana/monaco-logql ( #99076 )
2025-01-16 15:08:32 +02:00
Arati R.
a3cdad25a3
Docs: Fix broken link to provisioning instructions in elasticsearch doc page ( #98871 )
...
Fix broken link in elasticsearch data source doc page
2025-01-16 13:40:00 +01:00
Karl Persson
2187a66f2b
Zanzana: Split up settings into client and server sections ( #99066 )
...
* Split up zanzana settings into client and server sections
* Update workspace
2025-01-16 13:39:39 +01:00
Gaurav Soni
ee4016f4bc
Docs: add that traces panel works with traceID to show a singular trace ( #98451 )
...
* update that traces panel works with traceID to show a singular trace
* Update docs/sources/panels-visualizations/visualizations/traces/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2025-01-16 13:21:11 +01:00
Kévin Gomez
77f7ab27be
Use cog as a cli tool to generate code for kinds v2 schemas ( #99044 )
...
* Use cog as a cli tool to generate code for kinds v2 schemas
* Update imports to dashboard v2 package in frontend
* Ensure cog is installed before using it
2025-01-16 13:18:47 +01:00
Yaelle Chaudy
4fcd529d0e
Dashboards Versions: Add event to dashboards restore version ( #98855 )
...
* Add event to dashboards restore version
* moved changes to scenes instead
* remove last non-scene change
* Move events to centralised file
* remove ? from properties copy pasta
* Add tests
2025-01-16 12:37:45 +01:00
Brendan O'Handley
76a7987427
Explore metrics: Support native histograms ( #98894 )
...
* identify native histograms by classic histograms
* use trail to expose ds helper
* identify native histograms for preview panel
* refactor ds helper to initialize all native histograms
* remove await
* add info message for native histograms
* hide button on show examples
* show nh in metric scene by passing check for nh and storing in url for url loads, bookmarks and recent explorations
* add badge for native histograms
* click native histogram examples in info message to see them
* add link for learn more
* close banner on select when selecting native histogram in info banner
* show message for newly selected data sources
* capitalize Native Histogram badge
* prettier
* fix badge ui width
* add padding for badge
* add images, styling and tests for native histogram banner
* move images to img folder
* fix store tests
* run i18n
* fix betterer
* fix betterer with translations
* cannot translate interpolated metric in button text
* Fix import
* do not indent the > See examples section
* trans component interferes with text with special chars
* update sm text with 4px padding and 16px spacing between images
* do not show banner after closing then changing data sources
* prettier
* Update public/app/features/trails/helpers/MetricDatasourceHelper.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* Update public/app/features/trails/banners/NativeHistogramBanner.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* Update public/app/features/trails/banners/NativeHistogramBanner.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* update comments
* remove unnecessary code check
* add rudderstack types
* add close example functionality
* prettier
* add t() for betterer
* prettier
* fix betterer and trans issues
* fix test
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
2025-01-16 03:36:10 +02:00
owensmallwood
7da6e48036
Unified Storage: Remove history stub ( #99048 )
...
remove history stub
2025-01-16 03:05:13 +02:00
Matias Chomicki
3641b28e84
Explore: fix logs no results and scanning states ( #98605 )
2025-01-15 22:08:19 +00:00
Yuri Tseretyan
d025523a8b
Alerting: Log reason for taking image. ( #99036 )
2025-01-15 16:11:38 -05:00
Ryan McKinley
cd46f1ddb9
Search: Remove history query ( #99026 )
2025-01-15 12:49:47 -06:00
Andreas Christou
f9f341e9c9
Azure: Fix interface conversion ( #99034 )
2025-01-15 13:28:04 -05:00
Adam Yeats
bab55a4cb8
Elasticsearch: Process ES multisearch JSON response by streaming ( #93689 )
...
Co-authored-by: Isabella Siu <isabella.siu@grafana.com >
2025-01-15 12:05:54 -05:00
Matthew Jacobson
fc90a446c6
Alerting: Ensure long-lived repeat alerts keep images after 24h expiry ( #98993 )
...
Ensures we retake images after expiration on long-lived repeat alerts.
Otherwise, logs would show "Image not found in database" and notifications
would cease to contain an image after 24h of continuous firing.
2025-01-15 11:45:43 -05:00
Gabriel MABILLE
b6fc695598
ExtJwtClient: Use user namespace for k8s allowed namespace ( #93687 )
...
* ExtJwtClient: Use user namespace for k8s allowed namespace
* fix test
2025-01-15 17:38:46 +01:00
Andrej Ocenas
5d45af1110
I18n: Add doc comment for t() ( #99024 )
...
* Add comment doc
* Reorder information
2025-01-15 17:31:06 +01:00
owensmallwood
d00592ffa0
Unified Storage: Make all dashboard fields searchable ( #98899 )
...
* wip. adding sprinkles fields.
* some refactoring. Works with sprinkles now.
* exclude top level dashboard hit fields from hit "fields"
* adds unit test for DecodeCell helper
* test can search for specific dashboard fields on bleve index
* adds search handler tests for the fields and tests for fields when transforming the search req to a bleve search req
* fix panic when calling fields.Set() with int32
* adds regression test
* remove unneeded method on test mock client
* fix linter issues
* updates dashboard test data for bleve tests
* remove DASHBOARD_LEGACY_ID from bleve_tests
* dont cast twice
* updates test to sort by dashboard_views_last_1_days
* declare excludedFields outside of function
* fixes sorting by dashboard fields - prepends "fields." to any dashboard fields we try to sort by
* uses map for excludedFields
* expects fields to be array-style url param
* change method name
* fixes failing tests - needed to add column type to mocks
2025-01-15 10:23:05 -06:00
William Wernert
8415089534
Alerting: Use correct status code for UID conflict in contact point provisionining API ( #98970 )
...
Use correct status code for UID conflict in contact point provisioning API
2025-01-15 11:07:56 -05:00
Misi
125fdc8f21
Auth: Fix AzureAD public client configuration ( #99019 )
...
Auth: Add client auth none as default to ensure public clients can be configured on the UI
2025-01-15 16:49:58 +01:00
Jack Baldry
f142f12887
Ignore spelling errors in bold formatting ( #99006 )
2025-01-15 15:08:20 +00:00
Jean-Philippe Quéméner
c03586dfe8
fix(unified-storage): initialize blob storage when using grpc ( #99020 )
2025-01-15 16:04:41 +01:00
Jean-Philippe Quéméner
38927f0719
fix(indexer): reduce cardinality of indexer metric ( #99018 )
2025-01-15 16:01:31 +01:00
beejeebus
a290db6a7e
Ensure we delete playlists when deleting an org, fixes #98736 ( #98771 )
2025-01-15 08:13:56 -06:00
Josh Hunt
e3e580edfa
Chore: Prevent direct path imports from workspace grafana packages ( #98940 )
...
* restrict imports from @grafana/ui/src paths
* prevent path imports from all grafana packages
* just run on ui, runtime, data packages
* update
2025-01-15 15:47:44 +02:00
antonio
1dcff0a71f
docs/alerting/tutorials/part4 ( #98942 )
...
* docs/alerting/tutorials/part4
* interactives
* refs
* links
* formatting
* links2
* alt text
* steps, new alert configuration sections
* feedback
* bypass spellcheck
* Update docs/sources/tutorials/alerting-get-started-pt4/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started-pt4/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started-pt4/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started-pt4/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* added note and minor formatting
* made links killercoda friendly
* all pretty no pity
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2025-01-15 14:35:51 +01:00
Syerikjan Kh
dfe0712955
feat: pass gcom sso_api_token to repo created from install command ( #98973 )
...
* feat: pass gcom sso_api_token to repo created from install command
* fix
* fix: extract gcom section to a func
* Update pkg/cmd/grafana-cli/utils/command_line.go
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
* fix: only set gcom token when the request is to GCOM
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
2025-01-15 08:15:18 -05:00
ismail simsek
79fc26ea87
Chore: Remove prometheus replace directive ( #98966 )
...
* remove replace directive
* have an adapter
* go mod tidy
* make update-workspace
* make update-workspace
2025-01-15 14:04:14 +01:00
Santiago
ea6cb8f139
Alerting: Panic when rule being evaluated has unexpected key ( #99002 )
2025-01-15 14:59:50 +02:00
Konrad Lalik
5aeaccadff
Alerting: Add read-only GMA rules to the new list view ( #98116 )
...
* Reuse prom groups generator between GMA, external DS and list view
* Improve generators, add initial support for GMA in grouped view components
* Improve handling of GMA rules
* Split componentes into files
* Improve error handling, simplify groups grouping
* Extract grafana rules component
* Reset yarn.lock
* Reset yarn.lock 2
* Update filters, adjust file names, add folder display name to GMA rules
* Re-enable filtering for cloud rules
* Rename AlertRuleLoader
* Add missing translations, fix lint errors
* Remove unused imports, update translations
* Fix responses in BE tests
* Update backend tests
* Update integration test
* Tidy up group page size constants
* Add error throwing to getGroups endpoint to prevent grafana usage
* Refactor FilterView to remove exhaustive check
* Refactor common props for grafana rule rendering
* Unify identifiers' discriminators, add comments, minor refactor
* Update translations
* Remove unnecessary prev page condition, add a few explanations
---------
Co-authored-by: fayzal-g <fayzal.ghantiwala@grafana.com >
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2025-01-15 11:36:32 +01:00
Igor Suleymanov
7f04f66137
Allow listing Dashboards through k8s APIs ( #98997 )
...
What
This PR changes the dashboard authorizer logic to no longer require
requester to be the super admin user in order to list dashboards using
k8s APIs.
Why
We no longer need this precondition - dashboards should be listable
based on the regular authorizer logic.
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
2025-01-15 11:50:28 +02:00
Leonor Oliveira
32790c6918
Remove dependency on dashboards table to get library element and library element connection ( #98941 )
...
* Remove dependency on dashboards table to get library element
* WIP
* Don't use dashboard id when getting library connections
* Lint
* Don;t include folder_uid in library element
2025-01-15 10:32:24 +01:00
Matias Chomicki
bbade6b011
Shard query splitting: run queries through time query splitting ( #98126 )
...
* Query splitting: add skipPartialUpdates option
* Shard query splitting: run queries through time splitting
* Query splitting: delegate error retry to shard splitting
* Shard query splitting: update unit tests
* Shard query splitting: test combined requests
* Formatting
* Query splitting: test new options
* Query splitting: update assertion
* Formatting
2025-01-15 10:26:23 +01:00
Jack Baldry
a6eb8abd05
Simplify language and lint for style ( #98964 )
2025-01-15 08:36:31 +00:00
Karl Persson
3f71a72c1a
Authz: Remove "wrapper" interface and only check feature toggle for grpc mode ( #98933 )
...
* Remove "wrapper" interface and only check feature toggle for grpc and cloud mode
* Only set name for update checks
* Set dashboard permissions for admin user
2025-01-15 09:23:56 +01:00
Ryan McKinley
0d302a161a
BackendSrv: Support streaming chunked responses ( #98691 )
2025-01-15 10:01:22 +03:00
Ryan McKinley
0fce8799eb
Chore: go.mod cleanup ( #98987 )
2025-01-15 08:35:22 +03:00
Stephanie Hingtgen
2a08c9ed82
K8s Dashboards: Fix creating a dashboard inside a folder ( #98982 )
2025-01-15 07:15:58 +02:00
Stephanie Hingtgen
dbfc412ed8
K8s: Fix dashboard search ( #98989 )
2025-01-14 18:45:27 -05:00
Yuri Tseretyan
e15fc984c3
Alerting: Deprecate Alertmanager config and receivers APIs ( #98918 )
2025-01-14 17:22:01 -05:00
jackyin
69da0bb22c
FieldReducers: Fix median ( #98184 )
...
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com >
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2025-01-14 23:38:34 +02:00
Piotr Jamróz
c5111b8132
Explore: Add missing translations ( #98984 )
...
Add missing translation
2025-01-14 21:55:58 +01:00
Scott Lepper
3b8477dcda
Search: fix uid/name filter ( #98981 )
...
[search] fix uid/name filter
2025-01-14 15:48:14 -05:00
Isabel Matwawana
feb334cdbb
Docs: update broken Play link ( #98985 )
2025-01-14 15:47:07 -05:00
Piotr Jamróz
f7e0710f53
Explore: Limit number of columns shown in Explore table ( #98726 )
2025-01-14 17:01:34 +01:00
Edvard Falkskär
e38bab43db
Remove console.log from correlations service ( #98969 )
2025-01-14 16:09:32 +01:00
Gábor Farkas
1ff4053f03
go.mod: updated grafana-plugin-sdk-go from v0.261.0 to v0.262.0 ( #98930 )
2025-01-14 16:06:41 +01:00
Karl Persson
ce0d986673
Zanzana: Use cache for both streamed and non-stream version of list objects ( #98882 )
...
* Add prefix constants and use string builders / string concatinations
* Use cache for both streamed and non-stream versions of list objects
* Remove unused constants
2025-01-14 16:00:59 +01:00
Selene
7151ea6abc
Codegen: Generate Golang code using cog ( #98812 )
...
* Use cog for Go types
* Delete old generation code
* Fix plugins generation
* workspaces update
* Update datasources with new generated code
* More fixes
* Update swagger and openapi specs
* Fixes
* More files...
* Update workspace
* More fixes...
* Remove unused functions
2025-01-14 15:58:38 +01:00
renovate[bot]
b96a752db3
Update dependency rc-tree to v5.13.0 ( #98959 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 14:36:58 +00:00
Haris Rozajac
125a11ca99
Dashboard: Fix snapshots for the old arch ( #98902 )
...
Fix snapshots for the old arch
2025-01-14 07:33:29 -07:00
Jack Baldry
3884c0e896
Replace codespell with Vale spelling check ( #98406 )
2025-01-14 14:08:01 +00:00
Alexander Zobnin
037570b9c8
Chore: Add vscode config for zanzana server ( #98957 )
2025-01-14 15:01:10 +01:00
Leonor Oliveira
7c87ff1b84
Folders: Use folder service to count library panels ( #98802 )
...
* Use folder service to count library panels
---------
Co-authored-by: suntala <arati.rana@grafana.com >
2025-01-14 14:58:36 +01:00
renovate[bot]
2594b4f7af
Update scenes to v5.37.0 ( #98958 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 15:42:21 +02:00
renovate[bot]
0032e839ce
Update dependency rc-tooltip to v6.4.0 ( #98952 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 13:17:49 +00:00
Ashley Harrison
6b5146651f
Select/Combobox: Tweak menu styling so hover states don't overflow ( #98944 )
...
tweak menu styling so hover states don't overflow
2025-01-14 13:16:42 +00:00
Pepe Cano
7771768363
Alerting docs: clarify data source-managed rules for Prometheus ( #98378 )
...
* Clarify DS managed rules support only the creation of Mimir and Loki rules
* additional copy changes
* Extend `Manage alerts via Alerting UI` description
* fix capital letter
* further details for `Manage alerts via Alerting UI`
2025-01-14 13:34:02 +01:00
renovate[bot]
0b5b21548b
Update dependency rc-cascader to v3.33.0 ( #98949 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 14:19:52 +02:00
Will Browne
70fb7b9545
Plugins: Remove bundled plugins feature ( #96490 )
...
* remove bundled plugins
* Add echo to command
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
* remove folder entirely
* remove folder from CODEOWNERS
---------
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
2025-01-14 12:04:01 +00:00
renovate[bot]
ff032a61d5
Update dependency postcss to v8.5.1 ( #98945 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 11:44:11 +00:00
Jack Baldry
5570a7e42e
Fix broken link ( #98947 )
2025-01-14 11:38:32 +00:00
Edvard Falkskär
e45eb95812
Correlations: Expose correlations logic through correlations service ( #98124 )
...
* Correlations: Expose correlations logic through correlations service
* Resolve remaining todos
* Marked new items as @alpha
2025-01-14 13:27:13 +02:00
renovate[bot]
33a91f22c0
Update dependency postcss to v8.5.0 ( #98943 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 13:22:57 +02:00
renovate[bot]
dbd3bb7667
Update dependency papaparse to v5.5.1 ( #98939 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 11:01:57 +00:00
Ashley Harrison
740cd22fe5
Query Library: Add feature toggle for query library in dashboards ( #98938 )
...
add feature toggle for query library in dashboards
2025-01-14 11:01:15 +00:00
renovate[bot]
64617886d9
Update dependency sass to v1.83.4 ( #98936 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 10:30:40 +00:00
renovate[bot]
1281b0f094
Update dependency @types/node to v22.10.6 ( #98934 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 12:09:54 +02:00
renovate[bot]
5c49b6cf73
Update dependency knip to v5.42.0 ( #98892 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 09:46:18 +00:00
Josh Hunt
65f5a176a8
Chore: Import Combobox from main grafana-ui package ( #98897 )
2025-01-14 09:35:27 +00:00
Mariell Hoversholm
36d6fad421
Feat: Setup the App SDK logging module ( #98927 )
...
* Feat: Setup the App SDK logging module
* Build: Depend on logging pkg and update App SDK
* Chore: Assign owner to logging module
2025-01-14 10:34:57 +01:00