Commit Graph

48363 Commits

Author SHA1 Message Date
Victor Marin
63c7096d32
Scenes: List annotations in dashboard settings (#80995)
* wip listing/viewing annotations

* list annotations in settings

* fix tests

* PR mods
2024-01-30 18:38:26 +02:00
renovate[bot]
ce39af21a2 Update dependency @grafana/scenes to v2.2.1 2024-01-30 16:27:54 +00:00
Sofia Papagiannaki
89d3b55bec
Folders: Reduce DB queries when counting and deleting resources under folders (#81153)
* Add folder store method for fetching all folder descendants

* Modify GetDescendantCounts() to fetch folder descendants at once

* Reduce DB calls when counting library panels under dashboard

* Reduce DB calls when counting dashboards under folder

* Reduce DB calls during folder delete

* Modify folder registry to count/delete entities under multiple folders

* Reduce DB calls when counting

* Reduce DB calls when deleting
2024-01-30 18:26:34 +02:00
ismail simsek
0139ac205d
Chore: Remove disablePrometheusExemplarSampling feature toggle (#81579)
remove disablePrometheusExemplarSampling ft
2024-01-30 17:00:04 +01:00
Jack Westbrook
6d582858f7
Webpack: Allow watching workspaces (#81569)
* build(webpack): remove symlinks:false to enable watching packages with yarn start

* build(webpack): add resolve node_modules for enterprise to resolve packages

* add comment

---------

Co-authored-by: joshhunt <josh@trtr.co>
2024-01-30 16:59:18 +01:00
Tania
b84dde7b4a
Chore: Change response status for dashboard import with invalid input (#81521)
* Return BadRequest when dashboard import failed due to invalid input
2024-01-30 16:57:01 +01:00
renovate[bot]
27f3cec094
Update Yarn to v4 (#81575)
update yarn version

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-30 17:46:36 +02:00
Misi
69a1e7b510
Auth: Remove unnecessary field from Generic OAuth UI (#81565)
* Remove unnecessary field

* Update interaction event key
2024-01-30 16:17:38 +01:00
Torkel Ödegaard
b48e1f897e
Dashboard: Improve diff styling (#81509)
* Dashboard: Improve diff styling

* Update public/app/features/dashboard-scene/settings/version-history/DiffGroup.tsx

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Fix

* Update

* Update

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-01-30 16:07:24 +01:00
renovate[bot]
4cf5059599
Update typescript-eslint monorepo to v6.20.0 (#81572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 16:38:50 +02:00
renovate[bot]
7af58bab02
Update dependency react-use to v17.5.0 (#81570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 14:15:36 +00:00
Andre Pereira
8440eadec2
Data trails: Homepage redesign (#81496)
* Rename trails and tweak styles in homepage

* Use design system card and update layout. Add createdAt date to trail

* Small style tweaks

* Move queryDef state to metricScene

* Date format update

* More style tweaks

* betterer update

* Use smaller padding on Card and use Badge istead of Tag

* Increase badge max width

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-01-30 13:51:31 +00:00
renovate[bot]
ced0cca27a
Update dependency @testing-library/jest-dom to v6.4.0 (#81564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 15:48:19 +02:00
Arati R
77775d548a
Chore: Add some tests for the Create method (#81364)
* Add test for create method
    Co-authored-by: Tania B <10127682+undef1nd@users.noreply.github.com>
* Change structure of entity package to break import cycle
* Update wire file

---------

Co-authored-by: Tania B <10127682+undef1nd@users.noreply.github.com>
2024-01-30 14:15:12 +01:00
Giuseppe Guerra
41cd0ab12a
Chore: Bump github.com/grafana/grafana-plugin-sdk-go to v0.203.0 (#81557) 2024-01-30 13:49:58 +01:00
renovate[bot]
544740dc5e
Update dependency tslib to v2.6.2 (#81561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 12:48:04 +00:00
Laura Fernández
8ee7b1e00c
ReturnToPrevious : Add logic to show the new component in AppChrome behind the new toggle (#81035) 2024-01-30 13:34:59 +01:00
renovate[bot]
b7517330ee Update dependency rc-tree to v5.8.5 2024-01-30 12:12:41 +00:00
Nathan Vērzemnieks
ec4fafa08f
Cloudwatch: Deprecate cloudwatchNewRegionsHandler feature toggle and remove core imports from featuremgmt (#81310)
* Remove core imports from grafana/pkg/services/featuremgmt in CloudWatch
2024-01-30 13:11:52 +01:00
Sven Grossmann
cc56e0e75c
Logs Panel: Fix scrolling with permalinks (#81558) 2024-01-30 13:11:12 +01:00
Matias Chomicki
5c3e211777
combineFrames: add support to merge transformed data frames (#81554)
* combineResponses: account for disordered frames

* tempo: undo change

* Formatting
2024-01-30 14:02:15 +02:00
Josh Hunt
147bee4831
Fix alerting i18n keys (#81555) 2024-01-30 13:41:20 +02:00
Ida Štambuk
6e8495822a
Feature Management: Move awsDatasourcesNewFormStyling to Public Preview (#81257) 2024-01-30 12:25:16 +01:00
renovate[bot]
aaa839e120 Update dependency @grafana/faro-web-sdk to v1.3.7 2024-01-30 10:57:28 +00:00
Kim Nylander
da8eb8faa5
[DOC] Fix style issues and add videos to tracing and profiling shared files (#81215)
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Ryan Perry <Rperry2174@gmail.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
2024-01-30 10:41:33 +00:00
Matias Chomicki
2a734a9e3f
Supplementary queries: allow plugin decoupling by allowing providers to return a request instance (#80281)
* Supplementary queries: add support for providers returning a request instance

* Formatting

* DataSourceWithSupplementaryQueriesSupport: update getDataProvider signature

* getLogLevelFromLabels: fix buggy implementation

* getLogLevelFromKey: fix key type

Why number??

* Revert "getLogLevelFromKey: fix key type"

This reverts commit 14a95298a6f803cc3270e0421b2e04dd0d65f131.

* getSupplementaryQueryProvider: remove observable support

* Datasources: remove unnecessary check

The switch is doing the same job

* Supplementary queries: update unit test

* datasource_srv: sync mock with real api

* Formatting

* Supplementary queries: pass targets from getSupplementaryQueryProvider

* LogsVolumeQueryOptions: remove range and make extract level optional

* logsModel: add missing range to test data

* query: sync tests with changes

* Formatting

* DataSourceWithSupplementaryQueriesSupport: update interface with deprecated and new methods

* DataSourceWithSupplementaryQueriesSupport: sync Loki and Elasticsearch

* queryLogsVolume: extractLevel no longer customizable

* Loki: update test

* Supplementary queries: add support for the new method

* hasSupplementaryQuerySupport: update signature

* Formatting

* Betterer

* Query: update test

* Supplementary queries: add test for the legacy API

* Update public/app/features/explore/utils/supplementaryQueries.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2024-01-30 12:36:20 +02:00
renovate[bot]
ecf0c2c1c9 Update dependency @grafana/faro-core to v1.3.7 2024-01-30 12:23:48 +02:00
Misi
8ffcf32f83
Auth: Add interaction tracking to SSO settings UI (#81497)
Add interaction tracking
2024-01-30 11:04:55 +01:00
renovate[bot]
89e64b8f68
Update dependency immer to v10.0.3 (#81545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 12:04:20 +02:00
renovate[bot]
253f797146
Update dependency @types/react-test-renderer to v18.0.7 (#81525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 09:43:07 +00:00
Dominik Prokop
9d21bac45e
Scenes: Bump to 2.2.0 (#81536) 2024-01-30 09:38:49 +00:00
Gabriel MABILLE
08f305797f
RBAC: Add metric to count search user permissions cache hits (#81451) 2024-01-30 10:37:47 +01:00
Oscar Kilhed
d12493d654
Dashboard scenes: Display alerts in scenes dashboard (#81260)
Display alerts in scenes dashboard
2024-01-30 10:30:35 +01:00
Dominik Prokop
9982830bd7
DashboardScene: Do not hide variables on save (#81501) 2024-01-30 10:28:17 +01:00
Dominik Prokop
f77c831e3f
Data query: Allow logging panel plugin id when executing queries (#81164)
* Data query: Allo logging panel plugin id when executing queries

* Update tracing header middleware

* Test fix

* Add panelPluginType to query analytics

* Cleanup
2024-01-30 00:06:31 -08:00
Adela Almasan
5ab75410e9
VizTooltip: Scrollable content for long lists (#81524)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-01-29 17:38:25 -06:00
Simon Podlipsky
464a61352c
Docs: Add HAProxy rewrite information considering serve_from_sub_path setting (#80062)
* docs: specify HAProxy rewrite considering `serve_from_sub_path` setting

* Update docs/sources/tutorials/run-grafana-behind-a-proxy/index.md

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>

* Update docs/sources/tutorials/run-grafana-behind-a-proxy/index.md

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>

* Update docs/sources/tutorials/run-grafana-behind-a-proxy/index.md

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>

* Update docs/sources/tutorials/run-grafana-behind-a-proxy/index.md

* Update docs/sources/tutorials/run-grafana-behind-a-proxy/index.md

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

---------

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2024-01-30 01:30:57 +02:00
renovate[bot]
574fae3f01
Update dependency @types/node to v20.11.10 (#81516)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 22:24:03 +00:00
Darren Janeczek
24a6e6a1b4
fix: datatrails: show a warning when search yields empty results (#81444)
* fix: datatrails: show a warning when search yields empty results
2024-01-29 16:54:56 -05:00
Leon Sorokin
226c76dc93
TimeSeries: Simplify hover proximity code (#81518) 2024-01-29 23:34:43 +02:00
renovate[bot]
12e691831d
Update dependency @types/debounce-promise to v3.1.9 (#81514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 22:31:34 +02:00
Kyle Brandt
43d0664340
Prometheus: (Experimental) Inject label matchers into queries (also change drone to fix ARM rpm build and Update Swagger) (#81396)
- Feature Toggle is `promQLScope`.
 - Query property is:

"scope": {
  "matchers": "{job=~\".*\"}"
 }

Misc:
 - Also updates drone GO version to address ARM bug https://github.com/golang/go/issues/58425
 - Also updates Swagger defs that were causing builds to fail

---------

Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2024-01-29 22:22:17 +02:00
renovate[bot]
c2b64c6739
Update dependency @grafana/google-sdk to v0.1.2 (#81507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 20:06:51 +00:00
Torkel Ödegaard
715143d4ed
DashboardScene: Saving updates (provisioned dashboard and fixes) (#81471)
* Save provisioned dashboard

* Update

* fixes
2024-01-29 20:03:57 +01:00
ismail simsek
02acbd795d
Plugins: Update grafana-plugin-sdk-go to v0.202.0 (#81489)
* update the version

* Fixup (#81503)

fixup

---------

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2024-01-29 18:44:53 +01:00
renovate[bot]
02db6d0f3c
Update dependency @grafana/experimental to v1.7.8 (#81502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 19:25:38 +02:00
renovate[bot]
630897b941
Update dependency centrifuge to v5 (#81498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 17:02:32 +00:00
Torkel Ödegaard
2ce81c1a52
DashboardScene: Support detecting and ignoring variable value changes (#81448)
* DashboardScene: Saving and ignoring variable value changes

* Update
2024-01-29 17:45:18 +01:00
Kyle Brandt
1b155a02fd
Prometheus: (Dataplane) Set FrameTypeVersion on Scalar type responses (#81491)
So expressions (SSE) and recorded queries (RQ) detect the response correctly
2024-01-29 11:39:23 -05:00
Gábor Farkas
ba544e5b33
postgres: tests: improved number->timestamp tests (#81495)
* postgres: tests: nicer values

* postgres: tests: add float-to-timestamp tests
2024-01-29 18:27:15 +02:00