Commit Graph

48316 Commits

Author SHA1 Message Date
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
Alyssa Bull
2d432d6ff3
Plugins: Externalize Cloud Monitoring data source (#80181) 2024-01-29 09:24:23 -07:00
William Wernert
de662810cf
Alerting: Create instance of alert rule generator in historian annotation tests (#81394)
* Create generator variable to ensure closures have correct context
2024-01-29 11:22:43 -05:00
renovate[bot]
09a78a0ae9
Update dependency ansicolor to v2 (#81493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 16:19:29 +00:00
Matias Chomicki
5486a111e6
parseSupportingQueryType: add missing case for infinite scroll (#81492) 2024-01-29 18:12:03 +02:00
Alexa V
e3a648e107
Dashboard: Migration - EditVariable Settings: Implement Interval Variable (#81259)
* Extract logic from core IntervalEditor and create a new Form to be shared between scenes and core
* Implement IntervalVariableEditor and refactor some utils functions
* Add unit test
2024-01-29 16:53:09 +01:00
Sonia Aguilar
da1538ba82
Alerting: Update docs after moving action buttons im the alert list, and move t… (#81375)
Update docs after moving action buttons im the alert list, and move the loading spinner
2024-01-29 16:52:34 +01:00
renovate[bot]
1ef46440b8
Update dependency @welldone-software/why-did-you-render to v8 (#81479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 15:50:52 +00:00
Haris Rozajac
fc82b0286f
Dashboard-Scene: Add and remove Panel Editor queries and expressions (#81027)
* wip

* Functionality for adding and deleting queries and expressions

* Remove console.log

* handle counter updates

* revert unintended change

* Revert tsconfig.json

* revert
2024-01-29 08:13:51 -07:00
Konrad Lalik
26e71953a4
Alerting: Improve integration with dashboards (#80201)
* Add filtering by dashboard UID annotation

* Update the inline doc for search

* Add AlertRulesDrawer to the dashboards toolbar

* Use DashboardPicker as a filter on the alert rules page

* Fix accessibility errors

* Update drawer subtitle

* Display Alerting toolbar button only if there are linked alert rules

* Change toolbar rendering method, prevent displaying when no linked rules

* Improve text

* Use React.lazy to load the Alert rule toolbar button and drawer when needed
2024-01-29 16:09:10 +01:00
Alex Khomenko
75e1f7aa5e
Grafana/ui: Add deprecation notices to the legacy layout components (#81328) 2024-01-29 16:54:50 +02:00
Josh Hunt
8f0ae76afe
Chore: Use yarn node-modules linker (#79947)
* Chore: Use yarn node-modules linker

* fix react-router types resolution

* temp skip failing tests

* remove yarn-links for internal path aliases to fix some webpack errors

* transpile all .ts files, even those in node_modules (usually our internal workspace packages

* fix transformers mock

* import react router type directly

* remove old resolution

* more cleanup

* remove preserveSymlinks: true from tsconfig to make Go To Definition resolve grafana ui to the original location

* developer guide

* update dev guide

* remove sdks

* reenable tests

* fix tsconfig trailing commas (where did they come from)
2024-01-29 14:27:35 +00:00
Brendan O'Handley
b625d60aa9
Prometheus: Only use the series endpoint in the metrics browser (#81419)
* only use the series endpoint in the metrics browser

* Update public/app/plugins/datasource/prometheus/components/PrometheusMetricsBrowser.test.tsx

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-01-29 07:56:45 -06:00
Darren Janeczek
329440cb1e
fix: datatrails: hide graphs when previews disabled (#81423)
fix: datatrails: hide graph when previews disabled
2024-01-29 08:41:53 -05:00
renovate[bot]
811ce04390
Update dependency esbuild-plugin-browserslist to ^0.11.0 (#81474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 13:09:36 +00:00
renovate[bot]
01d043b6fb Update dependency rc-tree to v5.8.3 2024-01-29 12:30:55 +00:00
Mihai Doarna
6b28669e1f
Send empty http response when body is nil (#80196)
* build empty response if body is nil

* fix test
2024-01-29 14:17:56 +02:00
renovate[bot]
67feb0bba1 Update dependency ol-ext to v4.0.14 2024-01-29 12:03:47 +00:00
Konrad Lalik
2ab832e025
Alerting: Use only the alert condition query as the graph threshold (#81228)
Use only the alert condition query as the graph threshold
2024-01-29 13:02:04 +01:00
Torkel Ödegaard
1d5edb2a18
DashboardScene: Saving (#81163)
* DashboardScene: First save works

* Updates

* version mismatch works

* Error handling

* save current time range working

* Progress on save as

* Save as works

* Progress

* First tests

* Add unit tests

* Minor tweak

* Update

* Update isDirty state when saving
2024-01-29 12:04:45 +01:00
Misi
bcc2409564
Auth: Add validation to Generic OAuth API and UI (#81345)
* wip

* Update validation

* Chore: Remove InputControl usage

* Fixes, validation

* Remove empty option

* Validation changes

* Add tests, rename

* lint

---------

Co-authored-by: Clarity-89 <homes89@ukr.net>
2024-01-29 12:04:22 +01:00
Misi
7e96a2be56
Auth: Reload OAuth provider after deletion of the current settings (#81374)
* Reload after deletion of the current settings

* Add grafana_ssosettings_setting_reload_failure_total counter

* Returns successfully if data reload failed
2024-01-29 12:02:04 +01:00
ismail simsek
a3fda08d4e
Datasources: Add concurrency number to the settings (#81212)
add concurrency to the settings
2024-01-29 11:47:28 +01:00
Sven Grossmann
ca5c297bfa
Loki/Elastic: Assert queryfix value to always be string (#81349)
Fix `value` can be `string` or `number`
2024-01-29 11:46:40 +01:00
renovate[bot]
2b59db7b41 Update dependency browserslist to v4.22.3 2024-01-29 10:40:34 +00:00
Matias Chomicki
df05c79d91
Infinite scrolling: Add X-Query-Tag header (#81089) 2024-01-29 11:24:05 +01:00
Ivana Huckova
a83e01918a
Loki: Remove dependecy on core and move to @grafana/o11y-ds-frontend (#81284)
* Loki: Remove dependecy on core and move to o11y-ds-frontend

* Fix ctr -> ctrl

* Remove test helpers
2024-01-29 11:19:34 +01:00
renovate[bot]
34e88077aa Update dependency @types/node to v20.11.10 2024-01-29 10:19:19 +00:00
Fabrizio
20e2f3006b
Add test for TemporaryAlert (#81416) 2024-01-29 11:00:11 +01:00
renovate[bot]
26fa921547 Update dependency @swc/core to v1.3.107 2024-01-29 09:52:24 +00:00
Sonia Aguilar
2e1229b908
Alerting: Fix child provisioned polices not being rendered as provisioned (#81449)
Fix child provisioned polices not being rendered as provisioned
2024-01-29 10:51:00 +01:00
Giedrius Statkevičius
6f245121d0
Plugins: Fix colon in CallResource URL returning an error when creating plugin resource request (#79746)
* Plugin: handle colon character in path

url.Parse() does not handle the given input correctly when the input
contains a colon character. The user will see the following error
message when trying to use remote cluster in Elasticsearch:

```
level=warn msg="Failed for create plugin resource request" error="parse \"foo-*,*:foo-*/_mapping\": first path segment in URL cannot contain colon" traceID=
```

As far as I can tell, we only want to set the path here + rawquery so
avoid url.Parse() altogether.

* Add more tests

---------

Co-authored-by: Giuseppe Guerra <giuseppe@guerra.in>
2024-01-29 10:31:49 +01:00
renovate[bot]
34eb50dab3
Update dependency @floating-ui/react to v0.26.8 (#81435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 09:27:35 +00:00
Oscar Kilhed
9a4534a17c
Transformations: Use the display name of the original y field for the predicted field of the regression analysis transformation. (#81332)
Fix name of regression transformation field
2024-01-29 10:22:17 +01:00
Joey
d8d9121b6d
Tempo: Clean up older styles (#81247)
* Clean up uber styles

* Use theme spacing
2024-01-29 09:12:49 +00:00
Zoltán Bedi
61934588c5
E2E: Skip flaky mysql test (#81388) 2024-01-29 08:22:07 +01:00
Leon Sorokin
6a61c3da2e
TooltipPlugin2: Improve containment inside ancestors that hide overflow (#81442) 2024-01-29 06:36:28 +02:00
Leon Sorokin
d34bd1dc90
Chore: uPlot v1.6.29 (#81441) 2024-01-28 21:45:28 -06:00
Leon Sorokin
835ded5eec
Histogram: Fix x-axis going past +Inf when rendering heatmap-rows frames (#81438) 2024-01-28 21:33:34 -06:00
Ryan McKinley
1fab107e79
FeatureFlags: Avoid using cfg.IsFeatureToggleEnabled (#81407) 2024-01-28 15:22:45 -08:00
Nathan Marrs
1a1531ca5e
Chore: Remove isEqual mock from field state test (#81019) 2024-01-27 01:49:14 +02:00
Fabrizio
80ac0cc9f6
Tempo: Fix durations in TraceQL (#81418) 2024-01-26 23:47:42 +00:00
Andrew Hackmann
b411aa7266
Azure Monitor: use NewLoggerWith func instead of backend.Logger (#81124)
using NewLoggerWith
2024-01-26 22:53:55 +00:00
Leon Sorokin
0530021396
Field: Fix perf regression in getUniqueFieldName() (#81323)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-01-27 00:32:12 +02:00
Summer
ad1c4b726b
Grafana Build: fix release process not publishing latest storybook (#81412)
Bugfix: release process not publishing latest storybook
2024-01-26 15:22:05 -07:00
Isabel
1213b66188
Docs: time range copy paste (#81408)
Added new entry and deleted internal enablement video notes
2024-01-26 16:39:37 -05:00
Isabel
42c9b582e0
Docs: add saved dashboard guidance (#81406)
* Added saved dashboard guidance

* Ran prettier
2024-01-26 16:26:58 -05:00
Fabrizio
77b0369fdb
Fix TemporaryAlert (#81384) 2024-01-26 21:46:52 +01:00