Commit Graph

48193 Commits

Author SHA1 Message Date
renovate[bot]
625ac98ee0
Update dependency tslib to v2.6.2 (#80997)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 15:42:32 +00:00
Darren Janeczek
fcc11c9290
fix: datatrails: setRecentTrail: remove equivalent entries to new recent trail (#80932)
* fix: datatrails: setRecentTrail: remove equivalent entries

* fix: use lodash to simplify code
2024-01-22 10:07:47 -05:00
Joey
6d15e16d2e
Pyroscope: Fix stale value for query in query editor (#80753)
* Fix stale value for query in query editor

* Separate out onLabelSelectorChange into its own hook

* Move queryRef inside hook
2024-01-22 15:02:55 +00:00
Brendan O'Handley
3409e0ea5a
Prometheus: Invest in tests and docs for min interval or min step explanation (#80165)
* add clearer comment for function def

* update test to reflect change in range for 1w step

* clarify docs

* add more clarity

* add explanation to query options min interval and link to min step

* Update docs/sources/panels-visualizations/query-transform-data/_index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2024-01-22 08:44:46 -06:00
Brendan O'Handley
639bf3036d
Prometheus: Add e2e tests for decoupling (#80333)
* update selectors for prom

* add selector to switch component, needs id instead of testid

* add testid and ids to Prom settings

* add e2e tests for prom config

* add config to editor test

* export select function

* start query editor spec

* clean up describe

* add selectors for general query editor

* add selectors to components in options in best locations

* wrap header switch in id because component doesn't accept testid nor id

* add id to wrap legend components in one selector

* update selector in shared folder component, note to change in shared library

* update selector in shared folder component, note to change in shared library

* add notes for selectors in shared folder

* add tests and file for query editor

* add selectors for metrics browser in code editor

* add selector to component to open metrics browser

* add selectors to components within the metrics browser

* add tests for metrics browser and stub resource calls

* add selectors to query builder components

* add e2e tests for query builder

* generic query builder test with hints

* add selectors for more code editor parts

* add test for code and update selector

* fix tests with selector

* remove shared folder changes and use data-testid where possible

* remove unused import

* share getResources

* create variable query editor selectors

* add selectors to the variable query editor

* add e2e tests for the Prometheus variable query editor

* fix test function

* refactor add data source method

* add annotation selectors

* add selectors to annotation components

* add annotation e2e tests

* commit for yarn i18n:extract error in drone
2024-01-22 08:42:24 -06:00
Darren Janeczek
2210ed50b4
fix: data-trails get data source name for display (#80922) 2024-01-22 09:42:07 -05:00
Gábor Farkas
279aa4863b
Postgres: Handle single quotes in table names in the query editor (#80951)
postgres: handle single quotes in table names
2024-01-22 15:36:45 +01:00
renovate[bot]
2be8211555
Update dependency ts-node to v10.9.2 (#80989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 16:30:21 +02:00
Laura Fernández
a0e7aef840
ReturnToPrevious: create DismissableButton and ReturnToPrevious components (#80878) 2024-01-22 15:28:11 +01:00
Santiago
d4e831b051
Alerting: Use mimir:r274-1780c50 in CI (#80985)
* Alerting: Use new mimir image in CI

* add image to blocks, enable experimental routes
2024-01-22 16:25:50 +02:00
Will Browne
2a0f1900d5
Datasources: Add wireset for datasource.DataSourceAPIBuilder (#80914)
tidy up
2024-01-22 15:21:27 +01:00
Joey
f3c64a7337
Tempo: Remove profiling toggles (#80792)
* Remove traceToProfiles toggle

* Remove tracesEmbeddedFlameGraph toggle

* Remove superfluous import

* Update ConfigDescriptionLink

* Update getting of profiles from standalone build PR
2024-01-22 14:21:14 +00:00
renovate[bot]
0df63e7375
Update dependency ts-jest to v29.1.2 (#80988)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 16:16:11 +02:00
Pier
a8dec1916b
Security: Fix vulnerability GHSA-9763-4f94-gfch (#80952)
chore: upgrade cloudfare circl dependency

Signed-off-by: Pier <53210578+pie-r@users.noreply.github.com>
2024-01-22 15:13:31 +01:00
Tobias Skarhed
dad5c9af8f
LDAP: Fix routing error (#80984)
* Reorder auth routes

* Fix lockfile
2024-01-22 15:59:16 +02:00
Misi
20bb0a3ab1
AuthN: Support reloading SSO config after the sso settings have changed (#80734)
* Add AuthNSvc reload handling

* Working, need to add test

* Remove commented out code

* Add Reload implementation to connectors

* Align and add tests, refactor

* Add more tests, linting

* Add extra checks + tests to oauth client

* Clean up based on reviews

* Move config instantiation into newSocialBase

* Use specific error
2024-01-22 14:54:48 +01:00
renovate[bot]
1f4a520b9d
Update dependency @grafana/experimental to v1.7.6 (#80981)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 15:52:43 +02:00
tonypowa
3a7b745278
fixed py code indentation pt.2 (#80975)
* fixed py code indentation

* pretty

* 2nd code snippet update

* pretty

* pretty
2024-01-22 14:22:33 +01:00
renovate[bot]
ef50fe9ebb Update dependency @types/react to v18.2.48 2024-01-22 13:20:41 +00:00
Gábor Farkas
e6f8176674
postgres: test: switch to numbers that are represented well in floating point (#80722) 2024-01-22 14:14:40 +01:00
Ashley Harrison
1cb3cc4ad1
Navigation: handle cloud id when modifying connections url (#80965)
cloud id is different than onprem... who knew?
2024-01-22 13:02:47 +00:00
renovate[bot]
113746ee0f
Update dependency i18next-browser-languagedetector to v7.2.0 (#80976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 13:02:14 +00:00
renovate[bot]
085054095f
Update dependency html-webpack-plugin to v5.6.0 (#80973)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 13:01:45 +00:00
Fabrizio
6cbc3df11e
Add grafana-o11y-ds-frontend workspace package (#80362) 2024-01-22 13:47:50 +01:00
renovate[bot]
3a10e480ba
Update dependency eslint-plugin-jsx-a11y to v6.8.0 (#80968)
* Update dependency eslint-plugin-jsx-a11y to v6.8.0

* this shouldn't be a label methinks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-22 14:18:21 +02:00
Jean-Philippe Quéméner
eb7e1216a1
feat(alerting): add async state persister (#80763) 2024-01-22 13:07:11 +01:00
tonypowa
a7e9408433
fixed py code indentation (#80966)
* fixed py code indentation

* pretty
2024-01-22 12:55:28 +01:00
Matias Chomicki
0c9265f59b
Infinite scroll: update deduplication method and only run log queries when scrolling (#80821)
* Logs deduplication: replace array lookup with map

* runLoadMoreLogs: only execute log queries

* Formatting

* Rename variable
2024-01-22 13:42:18 +02:00
renovate[bot]
60ece3b21b Update dependency ts-jest to v29.1.2 2024-01-22 11:41:38 +00:00
Sven Grossmann
61ed0ef73f
Tests: Update geomap golden json (#80964)
update geomap golden json
2024-01-22 13:25:51 +02:00
Sonia Aguilar
a07d2120f8
Alerting: Update text, link and aria-label in contact points link for simplified routing. (#80950)
Update link to contact points using TextLink component, and fix its alignment
2024-01-22 12:17:54 +01:00
renovate[bot]
401dee7d75 Update dependency core-js to v3.35.1 2024-01-22 10:44:28 +00:00
renovate[bot]
0fc6cfb433 Update dependency @swc/core to v1.3.105 2024-01-22 10:43:57 +00:00
Ashley Harrison
b29748ac59
Chore: remove autoFocus from time range filter input (#80961)
remove autoFocus from time range filter input
2024-01-22 10:42:59 +00:00
renovate[bot]
5c7d97cbe0
Update react monorepo (#80736)
* Update react monorepo

* type fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-22 10:02:57 +00:00
renovate[bot]
0930156d15
Update dependency @grafana/experimental to v1.7.6 (#80601)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 11:49:20 +02:00
Piotr Jamróz
98e3a01aff
Correlations: Enable correlations feature toggle by default (#80881)
* Enable correlations by default

* Update docs
2024-01-22 09:27:11 +01:00
fowindee
1f840600b6
Grafana/ui: Enable removing values in multiselect opened state (#78662)
GrafabaUI: enabling remove values in opened state
2024-01-22 09:22:49 +01:00
fowindee
d7af7d01c8
Stat: Support no value in spark line (#78986) 2024-01-19 17:40:43 -08:00
Drew Slobodnjak
378c863616
Geomap: Support geojson styling properties (#80272)
* Geomap: Support geojson styling properties

* Add enum for geojson styles

* Move styleStrings outside of style function

* Add styling note to geoJSON docs

* Clean up geomap docs

* Add support for points

* Add simple example

* Add support for all geojson types and update example

* Update colors

* Update docs

* Remove old TODO

* Update geojson name

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-01-20 02:55:17 +02:00
andrea denisse
9b9d91e7ae
Packaging: Use the GRAFANA_HOME variable in postinst script on Debian (#80853)
This commit addresses the issue where the postinst script was not using
the GRAFANA_HOME variable from the /etc/default/grafana-server
configuration file on Debian systems. Instead, it was relying on a
hardcoded home directory.

Fixes #80852
2024-01-19 18:10:40 -05:00
ismail simsek
777b9bdc49
Prometheus: minStep value is affecting $__interval value (#80904)
* minStep value is affecting $__interval value

* rename
2024-01-19 21:55:27 +01:00
Isabel
9fc789d901
Docs: restructure Configure data links page (#80100)
* Moved content under Data links heading to intro of page and deleted heading

* Made headings for data link variable types H3s nesting under Data link variables

* Removed unecessary update and delete data links sections

* Made old intro sentence part of new intro

* Made Add a data link section an H2

* Removed unecessary typeahead suggestions section

* Moved variables into tables and capitalized first word of descriptions

* Docs: Edit Configure data links page (#80101)

* Added content update notes

* Rewrote Add a data link section per style guidelines

* Copy edits

* Copy edits

* Copy edits

* Copy edited intro text, removed instances of e.g., and replaced OSS links with Cloud links

* Standardized the format of variables in tables

* Added images (locally) and clarified context menu behaviour

* Removed working notes

* Fixed typo

* Removed images from local and updated image pathways
2024-01-19 15:49:03 -05:00
colin-stuart
e241188f00
Auth: Implement the SSO Settings List endpoint (#80769)
* add list endpoint & initial tests

* add tests and ETag

* format service_test.go

* add list swagger param, generate openAPI, remove ETag, use RedactedPassword

* correct swagger param name

* Align tests to latest changes

* use setting.RedactedValue()

* add string assertion

* lint & require no error on res.Body.Close()

* add custom response type

---------

Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
2024-01-19 14:39:09 -05:00
Julien Duchesne
40312c527b
ngalert openapi: Fix ObjectMatchers definition (#79477)
These don't get marshalled and unmarshalled in the same way as they are represented in Go
This PR changes the OpenAPI spec to reflect what the API accepts and sends back
2024-01-19 14:37:11 -05:00
Drew Slobodnjak
91e747d8ab
XYChart: Fix data filter change bug (#80849)
* XYChart: Fix data filter change bug

* If no xAxis set, populate from dims
2024-01-19 09:43:05 -08:00
Dimitris Sotirakis
65104a7efa
ImagePullSecrets: Add GAR secret to image_pull_secret in .drone.yml (#80912)
* Add GAR secret to image_pull_secret

* Fix starlark fmt
2024-01-19 19:29:49 +02:00
Dominik Prokop
361c49233d
DashboardScenePageStateManager: Do not initialise dashboard meta after fetch (#80875) 2024-01-19 16:46:10 +00:00
Haris Rozajac
85d633f1b9
Dashboards-Scenes: ability to edit and save JSON model (#80757)
* View JSON Model tab

* Use correct translation field

* saving functionality

* Remove TODO

* Update button tittle
2024-01-19 09:25:56 -07:00
Will Browne
d5bec225ed
Plugins: Fix Plugin Context method docs (#80906)
* fix method docs

* add docs for new method
2024-01-19 16:22:17 +01:00