Commit Graph

52070 Commits

Author SHA1 Message Date
Jake Leahy
2bd95b2eb5
Prometheus: Fix quote stripping in parser (#87675)
* Prometheus: Fix quote stripping in parser

Currently only double quotes are stripped from the end, while single quotes are left. Moreover, double quotes are stripped even when part of the value

* Prometheus: Double escape the string, apply linting fixes for files that I touched
2024-06-25 17:39:32 +02:00
Bogdan Matei
0ea2d6972f
Scopes: Allow navigating to inner containers (#89676)
Scopes: Allow navigating to inner levels after selecting a scope
2024-06-25 18:31:31 +03:00
Laura Fernández
a3879e02bb
RestoreDashboards: Create FE feature toggle (#89655) 2024-06-25 16:43:13 +02:00
ismail simsek
a3a6d01529
Update codeowners (#89672)
* Update codeowners of /public/app/features/trails/

* revert unrelated changes
2024-06-25 16:39:30 +02:00
Ashley Harrison
7b88de9946
Chore: Move font-awesome styles back to SCSS (#89687)
move font-awesome styles back to scss for performance reasons
2024-06-25 15:28:24 +01:00
William Wernert
fcfa89f864
Alerting: Implement Prometheus remote write for recording rules (#89189)
* Fix timestamp recorded by rule

* Implement prometheus remote write

* Create http client instead of transport

* Address PR comments

* Remove status code label
2024-06-25 17:23:42 +03:00
Bogdan Matei
e4b9f356bc
Scopes: Implement radio buttons for containers with single node selection (#89674) 2024-06-25 17:10:36 +03:00
Todd Treece
71270f3203
Storage: Avoid relying on RequestInfo (#89635) 2024-06-25 10:06:03 -04:00
Isabel Matwawana
4cf3ebbb3d
Docs: Manage playlists updates (#89573)
* Made updates to add dashboard controls changes; also fixed styling issues and consolidated some tasks

* Made minor edits

* Committed suggestion from review

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>

* Update docs/sources/dashboards/create-manage-playlists/index.md

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

* Apply suggestions from code review

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

---------

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2024-06-25 13:51:39 +00:00
Yuri Tseretyan
4a5aab54a5
Alerting: Add max limit for Loki query size in state history API (#89646)
* add setting for query limit

* update BuildLogQuery to return error if limit is exceeded

* move tests for BuildLogQuery to separate suite
2024-06-25 09:20:38 -04:00
Kristin Laemmert
9a3477dd11
Chore: removing (more) redundant transactions (#89373)
* remove redundant transactions from single-statement sql methods
2024-06-25 09:19:49 -04:00
Joey
66dc20f46f
Tempo: Upgrade interpolation for Tempo (#89664)
Upgrade interpolation for Tempo
2024-06-25 14:06:51 +01:00
Laura Benz
5da94bb669
RestoreDashboards: Add an empty state (#89662)
* feat: add empty state

* fix: flickering

* Update public/app/features/browse-dashboards/RecentlyDeletedPage.tsx

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

---------

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2024-06-25 16:04:20 +03:00
grafana-delivery-bot[bot]
13a4a46cc1
Changelog: Updated changelog for 10.4.5 (#89681)
Co-authored-by: grafanabot <bot@grafana.com>
2024-06-25 12:24:15 +00:00
Bogdan Matei
09ec999862
Scopes: Implement clear search for dashboards list (#89657) 2024-06-25 15:22:02 +03:00
Ivan Ortega Alba
6773f7f4ce
Scenes: Repeat horizontally set the width to 24 even if repeat variable is not set (#89658) 2024-06-25 14:10:00 +02:00
Javier Ruiz
df4b280134
Trace View: Add Session for this span button (#89656)
* Add ability to show Session for this span button in trace view

* Add session link when fe o11y ids are available

* Add tests for creating session links

* Also check for session id written following otel semantic convention
2024-06-25 13:48:06 +02:00
Chris Hodges
0759c98504
Tempo: Fix user facing typo in pipeline operator error message (#89638)
Tempo: Fix user facing typo in TraceQL pipeline operator error message
2024-06-25 12:45:16 +01:00
Ashley Harrison
47f8717149
React: Use new JSX transform (#88802)
* update eslint, tsconfig + esbuild to handle new jsx transform

* remove thing that breaks the new jsx transform

* remove react imports

* adjust grafana-icons build

* is this the correct syntax?

* try this

* well this was much easier than expected...

* change grafana-plugin-configs webpack config

* fixes

* fix lockfile

* fix 2 more violations

* use path.resolve instead of require.resolve

* remove react import

* fix react imports

* more fixes

* remove React import

* remove import React from docs

* remove another react import
2024-06-25 12:43:47 +01:00
Beto Muniz
d7c33db7db
GOps: Add Grafana SLO steps to IRM configuration tracker (#88098) 2024-06-25 08:39:03 -03:00
Alex Khomenko
a9aba2b42f
TimeRangePicker: Add weekStart prop (#89650)
* TimeRangePicker: Add weekStart prop

* Set week start from config

* Use week start from dashboard

* Revert

* Add comment

* Tweak comment

* Add WeekStart type
2024-06-25 14:22:55 +03:00
Gilles De Mey
87b8da1719
Alerting: Limit instances on alert detail view unless in instances tab (#89368) 2024-06-25 13:19:43 +02:00
Ashley Harrison
b59ebf85bc
Chore: Attempt to make keybinds e2e test more stable (#89663)
* attempt to make test more stable

* split everything instead
2024-06-25 12:18:45 +01:00
grafana-delivery-bot[bot]
a7dd94b788
Changelog: Updated changelog for 11.0.1 (#89673)
Co-authored-by: grafanabot <bot@grafana.com>
2024-06-25 12:58:04 +02:00
linoman
ccb22e5b24
SAML: graph api follow up (#89389)
* add new graph api variables to saml strategy

* add  config variable
2024-06-25 12:19:47 +02:00
grafana-delivery-bot[bot]
91628158f2
Changelog: Updated changelog for 11.1.0 (#89659)
* Changelog: Updated changelog for 11.1.0

* Linting

---------

Co-authored-by: grafanabot <bot@grafana.com>
Co-authored-by: Fabrizio <fabrizio.casati@grafana.com>
2024-06-25 11:36:54 +02:00
Dominik Prokop
216ec7cbdf
Scopes: Fix free text input crash (#89652) 2024-06-25 12:18:30 +03:00
Karl Persson
eea7319a67
Zanzana: sqlite data store (#89486)
* Zanzana: Add sqlite3 store

* Zanzana: Initilize sqlite store with migrations
2024-06-25 09:52:33 +02:00
Laura Fernández
fd96edaef7
POC: Disable ConfirmButton (#89539) 2024-06-25 09:42:18 +02:00
Alexander Akhmetov
2035814059
Alerting: fix updating error in the alert rule state during error to error transitions and restarts (#89557)
Alerting: fix preserving errors in the alert rule state during error to error transitions

Alert state transition from one error to another did not update state.Error correctly.
The error in state.Error remained as the initial error encountered.
This led to another issue, where after a Grafana restart, the error was lost because
the state of the alert rule did not change, but the Error is not preserved in the database
between restarts.

This could happen if the expression service returned an error or the alert routine panicked
during querying.
2024-06-25 09:42:00 +02:00
brendamuir
3a29f68d0c
Alerting docs: vale fixes (#89604)
* Alerting docs: vale fixes

* fix numbering

* Alerting docs: monitor errors

* takes out will

* Update docs/sources/alerting/configure-notifications/template-notifications/images-in-notifications.md

* Update docs/sources/alerting/configure-notifications/template-notifications/images-in-notifications.md

* Update docs/sources/alerting/configure-notifications/template-notifications/images-in-notifications.md

* Update docs/sources/alerting/configure-notifications/template-notifications/images-in-notifications.md

* Update docs/sources/alerting/configure-notifications/template-notifications/images-in-notifications.md
2024-06-25 08:14:16 +02:00
Michael Mandrus
4d69213829
CloudMigrations: Break snapshot resources out into their own table (#89575)
* create a new table for migration resources

* remove raw result bytes from db

* more snapshot resource management stuff

* integrate new table with snapshots

* pass in result limit and offset as params

* combine create and update

* set up xorm store test

* add unit tests

* save some cpu

* remove unneeded arg

* regen swagger

* fix bug with result processing

* fix update create logic so that uid isn't required for lookup

* change offset to page

* regen swagger

* revert accidental changes to file

* curl command page should be 1 indexed
2024-06-24 23:50:07 -04:00
Isabel Matwawana
dfee2720cc
Docs: What’s new & Upgrade guide v11.1 (#89075)
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-06-24 16:38:41 -04:00
Juan Cabanas
d07dc3bf40
ShareDrawer: Share Internally (#89315) 2024-06-24 16:31:42 -03:00
Chirag Gomber
ca1afff886
Chore: Remove deprecated Layout components (#89376)
* Removed depricated HorizontalLayout from PrometheusMetricsBrowser

* Removed commented import

* typo fix

* Removed depricated HorizontalLayout from RawInfluxQLEditor

* Replaced InlineFormLabel to InlineField in RawInlfuxEditor.tsx

* Removed depricated HorizontalLayout from GraphiteFunctionEditor

* Changed div to instead use stack

* Changed htmlFor attribute from selectElementId to aliasElementId

* Updated the betterer results

* Updated prettier write to the updated files

* Changed htmlFor label to fix the text
2024-06-24 20:59:41 +02:00
Kevin Minehart
07389d1030
CI: auto-milestone needs repo write access (#89633)
auto-milestone needs repo write access
2024-06-24 21:09:05 +03:00
Darren Janeczek
f5d9c247d9
fix: pyroscope datasource remove link extension (#89512)
It has been decided that we will not be using this moving forward.
2024-06-24 13:11:03 -04:00
Ashley Harrison
7d8afd9578
Tab: Improve accessible name (#89602)
* replace aria-label selector with data-testid

* fix unit tests

* fix e2e selectors

* fix last unit test

* fix e2e tests

* fix casing

* fix e2e test

* fix casing
2024-06-24 17:48:26 +01:00
Andrew Hackmann
5a8eff096a
Update CODEOWNERS (#89629)
* Update CODEOWNERS

Partner datasources taking over opentsdb, graphite, and influxdb

* updating backend and frontend code owner to partner
2024-06-24 11:40:49 -05:00
Ashley Harrison
1e51557edc
PageLoader: Fix scrollbar appearing on page loader (#89627)
fix scrollbar appearing on page loader
2024-06-24 19:26:50 +03:00
Haris Rozajac
e9ee65924b
Chore: Remove explore content outline feature toggle (#89277)
Remove explore content outline feature toggle
2024-06-24 09:45:42 -06:00
Isabel Matwawana
164bd86982
Docs: Edit mode updates 3 (#89565)
* Made edit mode updates in Manage library panels

* Made edit mode updates to Manage library panels

* Made edit mode updates to Inspect variables and fixed formatting

* Wording and formatting edits

* Added note about shortning process

* Reverted change to remove this file from the PR

* Made small fixes

* Fixed wording and formatting
2024-06-24 17:37:01 +02:00
Ryan McKinley
579bfa477e
K8s: improve frontend resource client (#89621) 2024-06-24 18:25:04 +03:00
Sergej-Vlasov
4e0c3555df
DashboardScene: Include scenes e2e in pr checks (#89297)
* adjust drone to run scenes e2e alongside

* adjust typo in scenes e2e folder name for consistency

* fix select options selector inssue with scenes bump

* skip tests in old arch that result in race conditions

* skip more flaky tests due to race conditions

* skip scenes e2e instead of old arch in case of race condition

* update to latest scenes version

* skip test due to race conditions

* skip flaky race condition test

* modify and sign drone pipeline

* remove unnecessary edits

* resolve merge conflicts and regenerate drone.yml
2024-06-24 17:57:50 +03:00
Christopher Lord
d701c181e1
chore: rename 'Incidents' sidebar to 'Incident' (the product name) (#87396)
* chore: rename 'Incidents' sidebar to 'Incident' (the product name)

* run make i18n-extract
2024-06-24 17:55:53 +03:00
Rajguru
1b2f110664
Users: Add config option to control how often last_seen is updated (#88721)
Users: Add config option to control how often last_seen is updated

Co-authored-by: Karl Persson <kalle.persson92@gmail.com>
2024-06-24 16:54:56 +02:00
Juan Cabanas
399651b9ad
ShareDrawer: Share snapshot (#89195) 2024-06-24 10:26:06 -03:00
ismail simsek
946545cfc5
Chore: Move LocalStorageValueProvider under @grafana/data pacakge (#89580)
Rehome LocalStorageValueProvider
2024-06-24 15:06:49 +02:00
Gilles De Mey
e84e0c9f08
Alerting: Make alert group editing safer (#88627) 2024-06-24 16:04:43 +03:00
Marcus Andersson
04f39457cf
Chore: Remove sensitive information from presigned URLs prior to logging (#87035)
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Dan Cech <dcech@grafana.com>
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
2024-06-24 14:53:42 +02:00