Commit Graph

23682 Commits

Author SHA1 Message Date
renovate[bot]
095be20f8e
Update dependency react-select to v5.8.3 (#96302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 14:30:09 +00:00
Kristina
06f2f62223
Annotations: Hide edit/delete if annotations are from loki (#96141)
add in logic to hide edit/delete on annotations from loki
2024-11-12 07:38:33 -06:00
Eric Leijonmarck
6fa06a1406
Serviceaccounts: FIX nul for field for toString (#96267)
Switch to uid for profilerow
2024-11-12 11:10:37 +00:00
Torkel Ödegaard
8a1bbe7517
PanelEdit: Fixes issue with repeat options (#96260) 2024-11-12 12:01:08 +01:00
Younjin Song
44d206c272
Azure: Unify credentials in frontend (#95354)
* init

* fix lint

* fix lint

* lint

* update version

* fix
2024-11-12 10:36:48 +00:00
Sonia Aguilar
2f58311eea
Alerting: Fix setting datasource uid, when datasource is string in old version (#96085)
fix setting datasource uid, when datasource is string in old versions rules
2024-11-12 11:35:01 +01:00
MAFLO321
ab813cb601
Postgresql: Support tables from non-default schema (#95636)
* Postgresql: Support tables from non-default schema

- Add support for schema-qualified table names.
- Partially resolve an issue where the column type of a table from the
  wrong schema with the same table name was incorrectly used. Now
  limited to tables of schemas within the search_path.

* Support schema in raw query editor

---------

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2024-11-12 09:18:29 +00:00
Erik Sundell
4c0dde6f2f
Plugin Extensions: Streamline log messages (#95943)
* streamline log messages

* cleanup

* fix tests

* only log errors to the console

* more cleanup again

* cleanup

* Update public/app/features/plugins/extensions/errors.ts

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* pr feedback

* remove white space

* Update public/app/features/plugins/extensions/registry/ExposedComponentsRegistry.ts

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* revert touched file

* revert touched file

* fix tests

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2024-11-12 08:55:04 +01:00
Adela Almasan
754351273b
Actions: Fix interpolation (#96161) 2024-11-11 11:08:15 -06:00
renovate[bot]
2799e5aa75
Update dependency @types/lodash to v4.17.13 (#96159)
* Update dependency @types/lodash to v4.17.13

* fix types

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-11-11 18:16:20 +02:00
Tom Ratcliffe
cbe8b8a290
Alerting: Lint and remove unused object properties (#92996) 2024-11-11 13:02:46 +00:00
Ivana Huckova
e5519161f2
Zipkin: Run resource calls through backend with feature toggle enabled (#96139)
* Zipkin: Run resource calls througgh backend with feature toggle enabled

* Update

* Don't return early in createZipkinURL and add tests

* Update pkg/tsdb/zipkin/client.go

Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>

* Update pkg/tsdb/zipkin/client.go

Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>

* Update pkg/tsdb/zipkin/client.go

Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>

* Update pkg/tsdb/zipkin/client_test.go

Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>

* Update pkg/tsdb/zipkin/client_test.go

Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>

* Update pkg/tsdb/zipkin/client_test.go

Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>

* Update pkg/tsdb/zipkin/client_test.go

Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>

* Fix lint

* Fix tests

---------

Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>
2024-11-11 13:04:22 +01:00
Erik Sundell
8148f0c3bb
Plugin extensions: Make description optional (#95555)
make description optional
2024-11-11 12:22:57 +01:00
grafana-pr-automation[bot]
5bce96e8e7
I18n: Download translations from Crowdin (#96142)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-11 13:19:50 +02:00
Pepe Cano
7112a79b35
Alerting UI: Update help button and descriptions for recording rules (#96047)
* Hide `Instances` field in RuleDetails view for recording rules

* Alerting UI: add `helpLink` to Recording Rules docs

* Make the Metric input placeholder more explicit for recording rules
2024-11-11 11:59:53 +01:00
Ashley Harrison
ee7f521c08
ScrollContainer: Use ScrollContainer in some dashboard components (#95668)
* use ScrollContainer in some dashboard components

* remove unnecessary wrapper

* remove unnecessary minHeight
2024-11-11 09:50:35 +00:00
Elliot Kirk
e22deeac04
Frontend Monitoring: adding ignoreUrls param to EchoSrvTransport (#95801)
* adding ignoreUrls param to EchoSrvTransport

* adding test for ignore urls

* linting

* cleaning up

* adding a new error message to the list of ignored errors
2024-11-11 09:15:24 +01:00
Ben Sully
b4644580cf
chore: bump @bsull/augurs to v0.6.0 (#96119) 2024-11-08 22:35:22 +00:00
renovate[bot]
8d3faabc90
Update dependency @lezer/lr to v1.4.2 (#87522)
* Update dependency @lezer/lr to v1.4.2

* Fix: Update dependency @lezer/lr to v1.4.2 (#94818)

* Update dependency @lezer/lr to v1.4.2

* Tempo: Update error detection shift in error lookup

Since lezer 1.3.8 the position seems to be shifted + 1

* Add back looking for errors behind the cursor

* Post-merge fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix the resolvers for loki situation

* grammar

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-11-08 23:09:52 +01:00
Scott Lepper
f93fd77c9c
search: list and filter tags (#96130)
search: list and filter tags on the dashboard list
2024-11-08 16:39:08 -05:00
Ashley Harrison
2458329f4f
ScrollContainer: use in Explore pages (#95830)
use ScrollContainer in explore pages
2024-11-08 16:46:07 +00:00
Ashley Harrison
4a362d41a6
Chore: Remove/replace CustomScrollbar in alerting (#96102)
remove/replace CustomScrollbar in alerting code
2024-11-08 16:45:30 +00:00
Sonia Aguilar
d92e17ee55
Alerting: Create reusable components for threshold (#94045)
* Create reusable components for threshold

* update translations

* do not use capital letters for keys in translations
2024-11-08 18:15:29 +02:00
Marc M.
9525891455
Pyroscope: Add limit number of series returned by the data source (#95780) 2024-11-08 17:22:29 +02:00
Sonia Aguilar
ea0a6a1f7f
Alerting: Force refetch prom rules when refreshing panel (#96120)
Force refetch prom rules when refreshing panel
2024-11-08 17:07:43 +02:00
ismail simsek
c972ec9737
Explore Metrics: Persist otel experience toggle state in local storage (#96057)
persist otel experience toggle state in local storage
2024-11-08 15:39:46 +01:00
Victor Marin
d9dfa3ece3
DashboardScenes: Fix queryOptions interval not resetting on empty minInterval (#95659)
* Fix queryOptions interval not resetting on empty minInterval

* fix

* refactor + tests
2024-11-08 16:22:20 +02:00
Eric Leijonmarck
e86283e8b1
LBAC for datasources: Adds teamUID to lbac rules for terraform resource consumption (#96048)
Add teamUID to lbac rules swagger
2024-11-08 08:53:38 +00:00
Kristina
ac88461fe6
Canvas: Fix references for ResourcePicker (#95580)
* useRef instead of create ref for functional components, pass function to close popper if needed

* Cleanup, hide on save as well

* add comment about when hidePopper is available to content
2024-11-07 11:37:49 -06:00
Ivana Huckova
4d0a7637b2
Zipkin: Run health check through backend (#96031)
* Zipkin: Run health check through backend

* Mark some errors as downstream

* Update pkg/tsdb/zipkin/zipkin.go

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>

* Use errors.New where error formatting is not needed

* Remove executable in plugin.json

* Fix joining the path

* Keep logger as global and then create from context

* Close the res body

---------

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2024-11-07 16:48:00 +01:00
Jack Westbrook
8c41137bcf
Frontend: Update to Eslint 9 (#94823)
* chore(eslint): bump all eslint related packages to latest

* chore(eslint): update linting scripts work with v9

* chore(eslint): introduce flat config

* chore(eslint): delete legacy configs

* feat(grafana-eslint-rules): update rules to use eslint 9 APIs

* chore(eslint): migrate all nested eslintrc files over to root config

* chore(packages): bump eslint dependencies

* feat(betterer): make it work with eslint 9

* style(grafana-data): remove non-existant ban-types rule from disable declarations

* chore(wip): [wip] link eslint-config-grafana

* chore(packages): add @eslint/compat

* chore(eslint): add compat to testing library and fix alerting rules

* chore(eslint): bump grafana eslint-config to v8

* chore(explore): delete legacy eslint config

* chore: clean codeowners file, remove grafana/eslint-config from e2e plugins

* test(eslint-rules): fix no-border-radius-literal and no-aria-label-e2e-selectors rule tests

* Add .js to prettier checks so new eslint.config.js file isn't missed

* chore(eslint): move emotion/syntax-preference to grafana/defaults

* test(eslint): use core-js structured-clone

* revert(services): undo merge backend-format githook changes

* test(eslint-rules): remove structured-clone polyfill from tests

* chore(eslint): add back public/lib/monaco to ignore list, sort alphabetically

* chore(e2e-plugins): remove eslint config 7 from plugins package.json

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2024-11-07 16:31:06 +01:00
ismail simsek
8956400498
Explore Metrics: Fix showing related logs scene (#96036)
remove related logs scene from label breakdown
2024-11-07 17:30:01 +02:00
Alex Khomenko
6bfb24c7b0
BrowseDashboards: Append orgId to folder URL (#96029)
* BrowseDashboards: Append orgId to folder URL

* Extract folder URL creation logic
2024-11-07 17:12:45 +02:00
jackyin
1e58747a39
trend: choose trend crash (#95451)
* fix bug

* optimise warning return
2024-11-07 07:48:50 -06:00
Ryan McKinley
6c9afba607
Reporting: update swagger with deprecations (#96008) 2024-11-07 15:08:03 +03:00
Andrej Ocenas
bee29c14c6
Sidecar: Make header consistently 100% width so the X button is visible (#95982)
Make a wrapper overflow so that header can stay 100%
2024-11-07 11:33:07 +01:00
Marcus Andersson
df4a5aeaf1
PluginExtensions: Logs panel takes full height/width (#95825)
Making the log panel taking full space of page.
2024-11-07 09:54:50 +01:00
renovate[bot]
70c21a2e4d
Update scenes to v5.23.1 (#95951)
* Update scenes to v5.23.1

* Fix e2e tests

* Fix unit tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com>
2024-11-06 19:20:27 +02:00
grafana-pr-automation[bot]
c565e9869e
I18n: Download translations from Crowdin (#95975) 2024-11-06 17:23:14 +01:00
Ashley Harrison
b85b18288a
Chore: Fix some theme nits (#95887)
fix some theme nits
2024-11-06 16:03:45 +00:00
Tobias Skarhed
0629a34ae4
Combobox: Add no options message and aria live region (#95938)
* Add no options message and aria live region

* Add i18n

* Extract message layout and use Trans component

* Fix unused imports
2024-11-06 17:10:06 +02:00
kay delaney
26b0e8f105
Dashboard datasource: Return annotations as series when query topic is "annotations" (#95965) 2024-11-06 15:03:06 +00:00
Bogdan Matei
52f4bd64e0
Dashboard: Append orgId to URL (#95960) 2024-11-06 16:01:55 +02:00
kay delaney
9d4a087d77
Dashboard datasource: Include source panel annotations (#95958) 2024-11-06 15:52:54 +02:00
Sergej-Vlasov
d225e0a95c
DiffViewer: update to newer react-diff-viewer-continued for performance improvements (#95729)
update to newer react-diff-viewer-continued for performance improvements
2024-11-06 13:36:12 +00:00
Bogdan Matei
a80517d6fe
Scopes: Add scopes to metrics explore (#94802) 2024-11-06 15:11:33 +02:00
Sonia Aguilar
3c1a5ab439
Alerting: Handle regex matchers with flags (#95883)
* handle regex matchers with flags

* add test in alertmanager.test.ts

* refactor to use the same matching functions

* lint

* lint again

* move matchers functions to matchers.ts

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-11-06 13:40:55 +02:00
Ashley Harrison
f8ae71e458
Frontend: Replace deprecated meta tag with correct version (#95939)
replace deprecated meta tag with correct version
2024-11-06 10:34:14 +00:00
grafana-pr-automation[bot]
0007ede9de
I18n: Download translations from Crowdin (#95942) 2024-11-06 12:20:22 +02:00
grafana-pr-automation[bot]
228bf711f9
I18n: Download translations from Crowdin (#95891)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-06 10:39:59 +01:00