Commit Graph

47637 Commits

Author SHA1 Message Date
Victor Marin
35e3988d4a
Add versions tab in dashboard settings (#80190) 2024-01-09 17:26:46 +02:00
Sven Grossmann
df204a9563
Loki: Add documentation for label derived field (#80218) 2024-01-09 16:07:04 +01:00
Gábor Farkas
ecc667c9a5
postgres: add snapshot tests (#79794)
* postgres: add snapshot tests

* fixed wrong comment

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>

---------

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2024-01-09 16:54:21 +02:00
Mihai Doarna
3332562900
Auth: use Empty() for sending empty http responses in SSO Settings API (#80200)
use Empty() for sending empty http response
2024-01-09 15:27:55 +02:00
Giuseppe Guerra
c045a9f395
Plugins: Fix symlinks inside plugins path not being followed (#80205)
* Plugins: Loader: Fix symlinks not followed when loading external plugins

* Add test case
2024-01-09 14:23:03 +01:00
Joey
314cdaf618
Pyroscope: Decouple frontend (#80066)
* Decouple query options

* Decouple Variable support

* Fix after merge
2024-01-09 11:40:39 +00:00
Ashley Harrison
58f4533382
Chore: Better renovate config (#80202)
* better config

* allow react-hook-form updates
2024-01-09 13:00:46 +02:00
Sven Grossmann
0f8d4db934
Log Context: Add highlighted words to log rows (#80119)
* Log Context: Add highlighted words to log rows

* Update public/app/features/logs/components/log-context/LogRowContextModal.tsx

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2024-01-09 12:56:48 +02:00
Ezequiel Victorero
40e4d3deb5
UI: Hide additional separator when time picker is hidden (#80168)
UI: Hide additional separator when time range is hidden
2024-01-09 07:43:31 -03:00
Ashley Harrison
76ca1c6379
Chore: Update lockfile resolution to newer version of follow-redirects (#80199)
update lockfile resolution to newer version of follow-redirects
2024-01-09 12:35:16 +02:00
Mihai Doarna
adb7295bab
Auth: Send an empty http response without the json header in SSO Settings API (#80197)
send an empty http response without the json header
2024-01-09 12:14:39 +02:00
Konrad Lalik
229c1f417f
Alerting: Disable export all rules button when no GMA rules (#80126)
Disable export button when no GMA rules
2024-01-09 11:08:28 +01:00
Ashley Harrison
cb43246fcb
Chore: update renovate config to automerge >v1 patch updates (#80092)
update renovate config to automerge >v1 patch updates
2024-01-09 10:06:57 +00:00
Ashley Harrison
68ba6cc67b
Chore: some type fixes (#80094)
* some type fixes

* few more fixes

* more

* fix unit test
2024-01-09 10:00:00 +00:00
Matias Chomicki
fb34916d1e
Logs navigation: derive current page index (#80167)
* Logs navigation: derive current page index

* Formatting
2024-01-09 11:49:27 +02:00
Sonia Aguilar
6f8ddac4eb
Alerting: Simplified routing part3 (#79941)
* Update alert rule model in FE following BE design doc

* Remove unnecessary conditional rendering

* Update styles for optional route settings: add indentation

* Update test

* Add validation for  grouBy to include grafana_folder and alertname

* Split conversions between FEdataModel/ DTO, in separate functions

* Update texts following Brenda's suggestions

* Update text
2024-01-09 08:39:43 +01:00
Charandas
48612063dd
Grafana app platform: an aggregator cmd and package (#79948) 2024-01-08 22:33:42 +02:00
Adela Almasan
26f54a2fc7
VizTooltips: Add wrapper shadow (#80164) 2024-01-08 13:36:48 -06:00
Lucy Chen
49af992661
Task: Add i18n support for public dashboards (#79659)
* feat(public-dashboards): add i18n support

* fix(public-dashboard): correct name convention for i18n

* fix(public-dashboard): correct i18n key convention + extraction

* feat(public-dashboard): mark up i18n for remaining cfg modal

* fix(public-dashboard): de-dynamicize ack comps for i18n + markup i18n for missing parts

* feat(public-dashboard): mark up i18n for DeletePubDashModal

* feat(public-dashboard): mark up i18n for ShareModal public dashboard

* chore(i18n): run yarn i18n:extract

* update naming cconvention

* add mark up phrases

* update json file

* fix import

* fix title

* fix url

* Copy button translation

* Update user admin page

* escape char

* interpolation

* fix escape

* prettier space

* update naming

* update setting keys

* standardize key naming convention

* fix radiobutton

* Fix naming convention as recommended by frontend team

* Prettier and fix naming

* fix variables that cannot be translated

* prettier check

---------

Co-authored-by: hainenber <dotronghai96@gmail.com>
2024-01-08 13:30:01 -05:00
Ivana Huckova
df8624c8cd
Loki: Remove imports from core in various files (#79990)
* Remove imports from core in tracking.ts

* Remove imports from core in tracking.test.ts

* Remove imports from core in querySplitting.test.ts
2024-01-08 18:43:59 +01:00
Ivana Huckova
6fbd6e3d31
ConfigDescriptionLink: Replace with component from @grafana/experimental (#80144)
ConfigDescriptionLink: Replace with component from grafana/experimental
2024-01-08 18:34:49 +01:00
Ivana Huckova
3dc7cfdc18
Loki: Implement error source (#80143) 2024-01-08 18:32:16 +01:00
Matias Chomicki
4950935401
Loki Query Builder: Add parsing support for aggregations with grouping (#80145)
Loki Query Builder: Add parsing support for aggregations with grouping arguments
2024-01-08 17:17:19 +01:00
Jo
c60a1dddc2
Analytics: Fix metanalytics sending 'undefined' to backend (#80127)
* fix metanalytics sending 'undefined'

* revert panelId defined

* Update public/app/features/query/state/queryAnalytics.ts

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

* finish fix

---------

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2024-01-08 17:06:06 +01:00
Matias Chomicki
cff1ad4922
Logs popover: enabled by default (#80146) 2024-01-08 17:03:39 +01:00
Jo
c3d8c6e0ea
JWT: Fallthrough to fetch keyset in case of cache error (#80081)
fallthrough to fetch keyset in case of cache error. Fixes #67582
2024-01-08 16:02:31 +01:00
Gilles De Mey
d2b023076b
Alerting: Add support for TTL for pushover for Mimir Alertmanager (#78687) 2024-01-08 15:48:36 +01:00
Darren Janeczek
890d6a960f
refactor: data-trails auto query logic (#79435)
* refactor: data-trails auto query logic for most currently identified metric suffixes (excluding `_bucket`)
2024-01-08 09:48:08 -05:00
colin-stuart
062e772bb2
Auth: Implement the SSO Settings GET endpoint (#79144)
* Return data in camelCase from the OAuth fb strategy

* changes

* wip

* Add defaults for oauth fb strategy

* revert other changes

* basic includeDefaults query param implementation

* basic secret removal and etag implementation

* correct imports

* rebase

* move default settings filter to models

* only replace ClientSecret value if set

* first GetForProvider test & use FNV for ETag to avoid Blocklisted import error

* add tests

* add annotation for the openapi spec & generate spec

* remove TODO

* use IsSecret, improve tests, remove DefaultOAuthSettings

* add comment explaining generateFNVETag

* add error handling for generateFNVETag

* run go generate

* Update pkg/services/ssosettings/api/api.go

Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com>

* move isSecret to service, create GetForProviderWithRedactedSecrets func

* add unit test for GetForProviderWithRedactedSecrets & remove duplicated code

* regen openapi/swagger

* revert dependency bumps

---------

Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com>
2024-01-08 09:35:14 -05:00
Adam Bannach
505196bcd5
Chore: Remove costManagementUi toggle (#80098)
* chore: remove cost management ff; fallback to adding AM and LVE to apps drawer

* chore: revert fallback app drawer placement
2024-01-08 14:25:11 +00:00
Giordano Ricci
21e9c01fc1
Chore: Fix some Explore deprecations (#80076) 2024-01-08 14:11:05 +00:00
Ezequiel Victorero
25ff4baa76
UI: New share button and toolbar reorganize (#77563) 2024-01-08 10:42:24 -03:00
Misi
eae6adf002
Auth: Use cfg.Raw in OAuthStrategy for loading settings (#80136)
Use cfg.Raw in OAuthStrategy, remove unnecessary tests
2024-01-08 15:36:15 +02:00
Timur Olzhabayev
6438523b41
Chore: Switching some go dependencie to the correct owner - partner-datasources squad (#77776)
* Switching dependencie to the correct owner

* switching storrage-blog-go back to backend platform

* reverting some of the mod assignements

* reverting some of the changes

* not sure how it got changed, but switching this one back
2024-01-08 14:32:46 +01:00
Joey
81f8c022a0
Pyroscope: Decouple backend from infra imports (#80018)
Decouple backend from infra imports
2024-01-08 13:11:46 +00:00
Kévin Gomez
6c8e30c96a
Kinds: publish grafana-schema/common to the kind-registry (#78728) 2024-01-08 14:05:26 +01:00
Kévin Gomez
9d31720db5
Chore: set @grafana/platform-cat as owner of kind-registry related scripts (#79304)
Chore: set ownership of kind-registry release actions to @grafana/platform-cat
2024-01-08 14:00:30 +01:00
Sven Grossmann
d1b0e9082d
Loki: Fix metric time splitting to split starting with the start time (#80085)
* Loki: Fix metric time splitting to split starting with the start time

* add test case to gdev-dashboard

* fix splitting test
2024-01-08 13:26:16 +01:00
Joey
f0cb88e3b5
Pyroscope: Add Span ID to options collapsed info (#79981)
* Pyroscope: Add Span ID to options collapsed info

* Update for multiple

* Update public/app/plugins/datasource/grafana-pyroscope-datasource/QueryEditor/QueryOptions.tsx

Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com>

---------

Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com>
2024-01-08 12:07:19 +00:00
Will Browne
78ae795e06
Plugins: Fix loading of dist folders (#80015)
* end to end

* tidy

* fix whitespace

* remove unused code

* fix linter

* fix gosec + add sort

* fix test

* apply cr feedback
2024-01-08 11:45:03 +01:00
Ivana Huckova
0440b29ebf
Chore: Bump @grafana/experimental from 1.7.4 to 1.7.5 (#80074)
* For LLM, replace enabled() with health()

* For LLM, replace enabled() with health()

* Update experimental in azueremonitor and testdata plugins
2024-01-08 10:29:08 +01:00
Konrad Lalik
6fd0ae0474
Alerting: Fix alertmanager query param when returning to silences list (#80021)
* Add alertmanager query param when returning to silences list. Sync query and storage alertmanager param

* Remove unused imports
2024-01-08 10:16:37 +01:00
Ivana Huckova
9cdd519e53
Loki: Use localStorage to set and get showExplain (#80069)
* Loki: Use localStorage to set and get showExplain

* Move hooks outside of shared folder
2024-01-07 12:51:21 +01:00
Nathan Marrs
2ff1e40a7f
chore: Update DataViz feature toggles related to 10.3 release to be public preview (#80109)
Update feature toggles for tooltips / canvas to be public preview
2024-01-05 17:40:11 -08:00
Matthew Jacobson
aa03b8f8a7
Alerting: Guided legacy alerting upgrade dry-run (#80071)
This PR has two steps that together create a functional dry-run capability for the migration.

By enabling the feature flag alertingPreviewUpgrade when on legacy alerting it will:
    a. Allow all Grafana Alerting background services except for the scheduler to start (multiorg alertmanager, state manager, routes, …).
    b. Allow the UI to show Grafana Alerting pages alongside legacy ones (with appropriate in-app warnings that UA is not actually running).
    c. Show a new “Alerting Upgrade” page and register associated /api/v1/upgrade endpoints that will allow the user to upgrade their organization live without restart and present a summary of the upgrade in a table.
2024-01-05 18:19:12 -05:00
Yuri Tseretyan
72182e02a4
Alerting: Mute timing service tests (#79817)
split tests for mute timing service to functions for each method this makes it clear the scope of tests
2024-01-06 00:26:15 +02:00
Leon Sorokin
200c71f5d6
VizTooltips: Optimize performance (#80102) 2024-01-05 16:07:04 -06:00
Arati R
90fb6a0122
Update unified storage readme (#79934)
* Update unified storage readme

Co-authored-by: Dan Cech <dcech@grafana.com>
2024-01-05 23:44:34 +02:00
Yuri Tseretyan
494f36e0bd
Alerting: Update provisioning services that handle Alertmanager configuraiton to access config via storage (#79814)
* extract get and save operations to a alertmanagerConfigStore. this removes duplicated code in service (currently only mute timings) and improves testing
* replace generic errors with errutils one with better messages.
* update provisioning services to use new store

---------

Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com>
2024-01-05 16:15:18 -05:00
Isabella Siu
8dc04ea63a
AWS Datasources: Enable awsAsyncQueryCaching by default (#80045) 2024-01-05 14:56:30 -05:00