Commit Graph

52478 Commits

Author SHA1 Message Date
Alexander Weaver
0e269db8a9
Alerting: Expose recordingWriter on ngalert (#90573)
Expose recordingWriter on ngalert
2024-07-18 13:24:06 -05:00
Michael Mandrus
71a97b925a
CloudMigrations: Add and fix logging (#90616)
* add logs so we can see how long async processes take

* fix a bunch of error logs:

* fix logs again
2024-07-18 21:16:56 +03:00
Isabel Matwawana
e3150b4eb8
Docs: Refactor time series page - part 1 (#90098)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-07-18 13:19:06 -04:00
renovate[bot]
4de007d7b8 Update dependency @cypress/webpack-preprocessor to v6.0.2 2024-07-18 16:58:22 +00:00
Michael Mandrus
17228e5794
CloudMigrations: Handle cancelation during snapshot building and upload (#90612)
implement cancelation during upload and building
2024-07-18 12:55:27 -04:00
Adela Almasan
61d8910a5b
Transformations: Fix filterByValue being applied to the wrong series (#90512) 2024-07-18 11:03:41 -05:00
Kevin Minehart
6a2a6b0fbc
CI: replace publish image step with a much simpler one that supports LATEST (#90498)
* replace publish image step with a much simpler one that supports LATEST
2024-07-18 10:53:47 -05:00
Michael Mandrus
a43a538976
CloudMigrations: Fix issues discovered during end to end testing (#90562)
* improve error handling a retries during async operations

* fix use of contexts

* updates to how we call the folder api

* fix urls for gms

* more progress on the folder issue

* fix folders

* refactor for readability
2024-07-18 18:34:28 +03:00
Hugo Kiyodi Oshiro
5c966fd400
Plugins: Add logs to for plugin management actions (#90587)
* Plugins: Add logs to for plugin management actions

---------

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2024-07-18 17:19:36 +02:00
Georges Chaudy
08c611c68b
ResourceServer: Resource store sql backend (#90170) 2024-07-18 08:03:18 -07:00
Ryan McKinley
bb40fb342a
Chore: go mod tidy + sum cleanup (#90576) 2024-07-18 07:48:21 -07:00
Ryan McKinley
6e39f24588
Storage: Update storage.Interface for backend (#90382) 2024-07-18 07:47:47 -07:00
Yuri Tseretyan
09e10ae9e0
Alerting: Update State history API Open API documentation (#89795) 2024-07-18 10:37:05 -04:00
Ivan Ortega Alba
f4c8a9ac1f
QueryEditor: Break with Scenes because the default query is not empty string (#90583)
* Scenes: Upgrade to v5.4.1

- QueryVariable: Query is empty string by default [#837](https://github.com/grafana/scenes/pull/837) ([@ivanortegaalba](https://github.com/ivanortegaalba))
- fix(lazyloader): fix trying to run inexistent callbacks [#833](https://github.com/grafana/scenes/pull/833) ([@svennergr](https://github.com/svennergr))

* Adapt tests
2024-07-18 16:29:50 +03:00
kay delaney
5afb1c6ce0
Scenes: Save height as itemHeight for repeat panels (#90487) 2024-07-18 14:01:50 +01:00
Señor Performo - Leandro Melendez
19706bab61
docs: added video to gauge panel doc (#90484)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-07-18 08:39:47 -04:00
Kristin Laemmert
27b52b1507
ReplStore: Add support for round robin load balancing between multiple read replicas (#90530)
* ReplStore: Add support for multiple replicas and round-robin load balancing

* add check for zero-length repls list
2024-07-18 08:20:28 -04:00
Isabel Matwawana
2d152b7ec1
Docs: replace broken link (#90570) 2024-07-18 08:09:53 -04:00
renovate[bot]
d61dbae7fe Update babel monorepo 2024-07-18 12:01:07 +00:00
Josh Hunt
0a6f9aa3cb
Chore: Remove Chore issue template (#90592) 2024-07-18 14:58:11 +03:00
Josh Hunt
9a06510490
E2C: Delete cloud migration token (#90548) 2024-07-18 12:38:20 +01:00
ismail simsek
f8645f73ea
Prometheus: Improve expanding ruleIs with identifier label checking (#90336)
* define rule mapping type

* introduce a new mapping type

* add type comments

* add identifier check

* remove tests from wrong file

* add tests to the right file

* define function body

* unit tests and logic for getQueryLabelsForRuleName

* update logic of getRecordingRuleIdentifierIdx

* update logic and tests getRecordingRuleIdentifierIdx

* fix unit tests

* fix tests

* update how we return the options

* update message

* update type

* update expandRecordingRules unit tests

* remove identifier from end result

* fix unit tests once more

* remove fix action from expand rules warning

* remove generic type

* update warning text

* betterer
2024-07-18 13:17:33 +02:00
Josh Hunt
32232e44d2
E2C: Get Cloud Token status (#90525)
* E2C: Get Cloud Token status

* remove console.log
2024-07-18 09:48:06 +01:00
Josh Hunt
fefd3faef4
Chore: Remove unnecessary issue templates (#90482) 2024-07-18 08:35:32 +00:00
Andrew Hackmann
41ae376aa4
Influxdb: Fix toMetricFindValue function (#90514)
Improved toMetricFindValue to be quicker
2024-07-18 01:16:07 +03:00
Alexander Weaver
88ed77e7e8
Alerting: More graceful handling of NoData in recording rules (#90312)
* Handle NoData as its own case

* Debug

* Scalars parseable by CollectionReader

* fix linter

* Orgit add pkg/*git add pkg/* not and
2024-07-17 15:24:03 -05:00
Yuri Tseretyan
c3b9c9b239
Alerting: Send information about alert rule to data source in headers (#90344)
* add support of metadata to condition and adding it to request headers
* support for additional metadata when condition is built
* add additionall context to conditions: source and folder title
* add version
* use percent-encoding for header values
2024-07-17 22:55:12 +03:00
Ryan McKinley
b825700343
Chore: Skip flakey search test (#90553) 2024-07-17 21:14:59 +03:00
Kristina
044380493e
Revert "Explore: Pass the dataframes along with the time range of the data" (#90551)
Revert "Explore: Pass the dataframes along with the time range of the data (#…"

This reverts commit 58285e37a2.
2024-07-17 12:58:07 -05:00
Ryan McKinley
f409f8c169
K8s/Dashboards: Implement dashboards as StorageBackend (#90295) 2024-07-17 10:49:23 -07:00
Artur Wierzbicki
9459e29775
Chore: change owner for pkg/services/queryhistory (#90550)
change owner for query history
2024-07-17 20:47:08 +03:00
Kristina
6eb695b258
Explore: Add setting for default time offset (#90401)
* Add setting for explore for a different time offset

* fix linter

* Add validation for duration value
2024-07-17 11:47:49 -05:00
Drew Slobodnjak
1fc57d8fd5
Transformations: Fix null for reduceSeriesToRows (#90508)
* Transformations: Fix null for reduceSeriesToRows

* Add tests with null data frames
2024-07-17 09:25:46 -07:00
Ivan Ortega Alba
bc2cdd82dc
DataSourcePicker: Create new data source does not work for subpath (#90536) 2024-07-17 19:23:08 +03:00
Jean-Philippe Quéméner
283280f329
fix(querier): use most specific timerange available (#90540)
* fix(querier): use most specific timerange available

* return zero values
2024-07-17 20:22:45 +04:00
Michael Mandrus
9b7e9d992b
CloudMigrations: Query GMS for a presigned upload url at upload time (#90505)
query GMS for an upload url at upload time
2024-07-17 11:53:21 -04:00
Yuri Tseretyan
970cafa20f
Alerting: Time interval Delete API to check for usages in alert rules (#90500)
* Check if a time interval is used in alert rules before deleting it
* Add time interval to parameters of ListAlertRulesQuery and ListNotificationSettings of DbStore

== Refacorings == 
* refactor isMuteTimeInUse to accept a single route
* update getMuteTiming to not return err
* update delete to get the mute timing from config first
2024-07-17 10:53:54 -04:00
Tom Ratcliffe
79df1b1e10
Alerting: Remove some unused mock server methods (#90432)
Remove some unused mock server methods
2024-07-17 16:50:25 +02:00
Tom Ratcliffe
919bc47dba
Alerting: Move alertmanager warning to consistent place within notification policies (#90521)
Move alertmanager warning to consistent place within notification policies
2024-07-17 16:46:00 +02:00
Sonia Aguilar
42c29cac0b
Alerting: Use Runbook URL label everywhere and add validation in the alert rule… (#90523)
* Use Runbook URL label everywhere and add validation in the alert rule form for it

* remove validation in alert rule form and render link on detail view only when its a valid url
2024-07-17 16:40:17 +02:00
Ryan McKinley
07c2d886fa
Storage: prepare in resource bytes in storage.Interface, not the backend (#90513)
* prepare in k8s

* prepare in k8s

* prepare in k8s

* simplify event creation

* decode the inputs
2024-07-17 07:40:03 -07:00
Andreas Christou
2616366a0a
Prometheus: Reintroduce Azure audience override feature flag (#90339)
* Re-add feature flag with deprecation note

* Hide the field in frontend if ff disabled

* Block scope overriding if ff is disabled in backend

- Update promlib to forward logger to extendOptions
- Add warning
- Update tests

* Default toggle to true for now

* Update description

* Update prom tests

* Fix lint
2024-07-17 15:09:55 +01:00
lean.dev
7839903fef
CloudMigrations: Sets default grafana domain to prod (#90526) 2024-07-17 10:48:23 -03:00
Ashley Harrison
334657e1cb
Navigation: Move scroll behaviour to body (#89921)
* initial attempt at body scrolling

* fix login layout

* minor fixes

* "fix" some fixed position stuff

* remember scroll position in dashboard page

* fix unit tests

* expose chrome header height in runtime and fix connections sticky header

* fix panel edit in scenes

* fix unit tests

* make useChromeHeaderHeight backwards compatible, fix plugin details double scrollbar

* fix sticky behaviour in explore metrics

* handle when undefined

* deprecate scrollRef/scrollTop

* fix extra overflow on firefox
2024-07-17 13:48:47 +01:00
Alex Khomenko
ad6cf2ce4d
Restore dashboards: Design review (#90468)
* Update singular case

* More copy & count fixes

* Translate success messages

* Update message

* Split no-deleted message
2024-07-17 15:00:46 +03:00
Ivan Ortega Alba
3559c5c297
Revert "Frontend: Use safe stringifier in parseBody" (#90522)
Revert "Frontend: Use safe stringifier in parseBody (#90047)"

This reverts commit 434f386982.
2024-07-17 14:00:01 +03:00
Joanna
8f376a302b
UI: Align the icon in the Alert (#90461)
* UI: Align the `icon` in the `Alert`

* feat: align icon with one line text

* chore: prettier imports fix

* chore: revert imports

* feat: remove alignSelf & position the icon

* chore: clean up
2024-07-17 11:48:57 +01:00
Esteban Beltran
fa2506300f
Plugins: Update plugin.json schema to correctly validate version ranges and single digit versions (#90517) 2024-07-17 11:20:25 +02:00
Piotr Jamróz
58285e37a2
Explore: Pass the dataframes along with the time range of the data (#90259)
* Use data time range for rendering instead of selected range from the picker

* Update CustomContainer to use data time range

* Update test
2024-07-17 11:05:09 +02:00
Edvard Falkskär
c41f3394a4
InteractiveTable: Add initial sort prop (#89937) 2024-07-17 09:37:30 +01:00