Commit Graph

6345 Commits

Author SHA1 Message Date
Michael Mandrus
cf13cb9f70
Cloud Migrations: Create new service for cloud migrations (#80949)
* introduce feature toggle

* create base service structure

* fix sample metric

* register metrics

* add to codeowners

* separate api dtos from service models

* remove leading newline
2024-01-22 11:09:08 -05:00
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
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
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
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
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
renovate[bot]
ef50fe9ebb Update dependency @types/react to v18.2.48 2024-01-22 13:20:41 +00:00
Fabrizio
6cbc3df11e
Add grafana-o11y-ds-frontend workspace package (#80362) 2024-01-22 13:47:50 +01:00
renovate[bot]
60ece3b21b Update dependency ts-jest to v29.1.2 2024-01-22 11:41:38 +00:00
renovate[bot]
401dee7d75 Update dependency core-js to v3.35.1 2024-01-22 10:44:28 +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
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
Adela Almasan
e0d0420990
VizTooltips: Copy to clipboard functionality (#80761) 2024-01-19 07:16:14 -06:00
Alex Khomenko
8c77dd8bb8
Switch: Add line height (#80879) 2024-01-19 14:21:22 +02:00
Kyle Cunningham
4d6069583e
Transformations: Move transformation help to drawer component (#79247)
* Move help to drawer component

* Update component name

* Flip hierarchy of transformation name and help description
2024-01-19 12:47:05 +02:00
renovate[bot]
03ebf0aa4c Update dependency css-loader to v6.9.1 2024-01-19 10:34:24 +00:00
Ashley Harrison
5f2ef36e63
Chore: make baseDir absolute in grafana-plugin-config (#80826)
make baseDir absolute
2024-01-19 09:18:48 +00:00
Haris Rozajac
f285eb6717
Time Range: Copy-paste Time Range (#80107)
* Working copy-paste functionality with validation

* WIP; uses 't c' shortcut to copy time range

* shortcuts working for explore and dashboards

* cleanup

* Don't update url when pasting in explore

* Error handling, sync pane functionality, add to help modal

* cleanup

* add tests

* fix i18n

* Diferrentiate between explore and dashboard paste events; make on error prop generic

* Fix

* extract getting the copied time range logic into a function

* Remove comments

* Make error handling generic; markup for translations

* Additional translation markup

* markup for aria-label

* Fix test

* Replace fireEvent with userEvent

* fix translations to match the standard pattern

* Refactor keybindingSrv and TimeSrv to remove PasteTimeContext

* Fix test

* Remove unneccessary aria labels; update icons; buttons inline
2024-01-18 14:06:27 -07:00
Alexander Weaver
00a260effa
Alerting: Add setting to distribute rule group evaluations over time (#80766)
* Simple, per-base-interval jitter

* Add log just for test purposes

* Add strategy approach, allow choosing between group or rule

* Add flag to jitter rules

* Add second toggle for jittering within a group

* Wire up toggles to strategy

* Slightly improve comment ordering

* Add tests for offset generation

* Rename JitterStrategyFrom

* Improve debug log message

* Use grafana SDK labels rather than prometheus labels
2024-01-18 12:48:11 -06:00
Andrej Ocenas
5b122a25b3
DataFrame: Add optional unique row id definition as frame.meta.uniqueRowIdFields (#80428)
* Define an unique id for a row in dataframe

* Update comment

* Rename attribute

* Add comment about plugin sdk

* Fix comment
2024-01-18 18:51:25 +01:00
Laura Fernández
5800e40fba
ReturnToPrevious: create feature toggle (#80831) 2024-01-18 18:12:14 +01:00
Torkel Ödegaard
2cdf73f584
Visualizations: Hue gradient mode now applies to the line color (#80805) 2024-01-18 18:02:56 +01:00
renovate[bot]
f97cea5522
Update dependency eslint to v8.56.0 (#80825)
* Update dependency eslint to v8.56.0

* update sdk

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-18 18:52:04 +02:00
renovate[bot]
10b1b5da52
Update dependency css-loader to v6.9.0 (#80819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 17:45:05 +02:00
renovate[bot]
596725ac56
Update dependency core-js to v3.35.0 (#80818)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 17:31:17 +02:00
renovate[bot]
dafd7c7920
Update dependency classnames to v2.5.1 (#80814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 14:35:08 +00:00
renovate[bot]
3903d3eb94
Update dependency @types/node to v20.11.5 (#80813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 14:33:36 +00:00
renovate[bot]
6eb51f6367
Update dependency @testing-library/react to v14.1.2 (#80802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 13:40:41 +00:00
renovate[bot]
83c4caebda
Update dependency @testing-library/jest-dom to v6.2.0 (#80799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 13:05:24 +00:00
renovate[bot]
d888358a95
Update dependency @rollup/plugin-json to v6.1.0 (#80798)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 13:04:19 +00:00
Marco Schaefer
fe70a3cf60
Upgrade Faro to v1.3.6 (#80552) 2024-01-18 11:38:30 +01:00
Ryan McKinley
41e523bde7
K8s/FeatureFlags: Add an apiserver to manage feature flags (dev only) (#80501)
* add deployment registry API cloud only

* update versions

* add feature flag endpoints

* use helpers

* merge main

* update AllowSelfServie and re-run code gen

* fix package name

* add allowselfserve flag to payload

* remove config

* update list api to return the full registry including states

* change enabled check

* fix compile error

* add feature toggle and split path in frontend

* changes

* with status

* add more status/state

* add back config thing

* add back config thing

* merge main

* merge main

* now on the /current api endpoint

* now on the /current api endpoint

* drop frontend changes

* change group name to featuretoggle (singular)

* use the same settings

* now with patch

* more common refs

* more common refs

* WIP actually do the webhook

* fix comment

* fewer imports

* registe standalone

* one less file

* fix singular name

---------

Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2024-01-17 21:32:44 -08:00
Ihor Yeromin
cbc84a802d
VizTooltip: Add sizing options (#80306)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-01-17 16:49:09 -06:00
Michael Mandrus
db83eb30a2
Caching: Remove useCachingService feature toggle (#80695)
remove useCachingService feature toggle
2024-01-17 16:53:25 -05:00
Ryan McKinley
f434467ef8
Table: Support showing data links inline. (#80691) 2024-01-17 23:05:25 +02:00
Ivan Ortega Alba
3b401d0d4d
CustomVariable: Be able to edit them using scenes (#80193)
---------
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2024-01-17 19:14:01 +02:00
renovate[bot]
f347de967c
Update React Aria (#80737)
* Update React Aria

* remove unused react-aria packages

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-17 17:35:13 +02:00
renovate[bot]
beb0b82bbd Update dependency uuid to v9.0.1 2024-01-17 14:01:57 +00:00
renovate[bot]
dd7259b77e Update dependency tslib to v2.6.2 2024-01-17 13:41:12 +00:00
renovate[bot]
a103be2285 Update dependency react-virtualized-auto-sizer to v1.0.21 2024-01-17 12:46:57 +00:00
renovate[bot]
2d49fb6a7a Update dependency ts-node to v10.9.2 2024-01-17 12:16:33 +00:00
renovate[bot]
f8056a3e56
Update dependency react-virtualized-auto-sizer to v1.0.20 (#80596)
* Update dependency react-virtualized-auto-sizer to v1.0.20

* Update dependency react-virtualized-auto-sizer to v1.0.20

* update types

* mock in a few more tests

* fix InspectDataTab test

* fix test

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-17 12:13:14 +00:00
renovate[bot]
472f450333 Update dependency systemjs to v6.14.3 2024-01-17 11:39:29 +00:00
renovate[bot]
7a9f907882 Update dependency style-loader to v3.3.4 2024-01-17 10:39:36 +00:00
renovate[bot]
89089efc98 Update dependency rimraf to v5.0.5 2024-01-17 09:21:35 +00:00
renovate[bot]
ec1d4274ed
Update dependency regenerator-runtime to v0.14.1 (#80696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 09:03:21 +00:00
Joey
6796e66fb8
Pyroscope: Add standalone build (#80222)
* Pyroscope standalone build

* Fix for tests

* Add missing packages

* Remove import

* Update trace to profiles

* Update test
2024-01-16 12:46:15 +00:00