Commit Graph

45023 Commits

Author SHA1 Message Date
Gilles De Mey
6a4ba13b44
Alerting: Fix default policy timing summary (#74549) 2023-09-11 18:06:08 +02:00
Yuri Tseretyan
dce492642a
Alerting: Export of alert rules in HCL format (#73166)
* import hashicopr/hcl/v2
* add hcl package and export to HCL
* annotate export structs
---------

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2023-09-11 11:48:23 -04:00
Melori Arellano
5d89c15851
Alerting with Loki tutorial (#72704)
* Add new tutorial for alerting with Logs

* Begin formatting the tutorial

* Formatted the tutorial with markdown

* Small edits

* Updating for version 10

* Edits for Grafana 10 & formatting

* Deleted rough draft that I accidentally added.

* Update docs/sources/tutorials/create-alerts-with-logs/index.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

* Update docs/sources/tutorials/create-alerts-with-logs/index.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

* Apply suggestions from code review

Commit suggestions from reviewer

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

* Updated to use instant query

---------

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
2023-09-11 18:14:14 +03:00
Andre Pereira
485208c8e3
Plugins: Fix streaming support (#74680)
Fix streaming support in backend
2023-09-11 17:59:29 +03:00
Torkel Ödegaard
73a675af02
DashboardScene: Inspect panel data tab (#74646)
* Refactor data tab to be usable from scenes

* DashboardScene: Inspect data tab

* Everything seem to work now

* don't change drawer size in this PR

* Remove uncommented code

* Fix layout issues for data actions

* Added comment explaining retry
2023-09-11 16:11:22 +02:00
Andrew Hackmann
c8a0ebe0e8
Azure Monitor/body close logs an error bug (#74632)
on body close causes logs an error even if no error. also changed to warning similar to the rest of grafana
2023-09-11 09:02:44 -05:00
Isabel
a90e3f67e4
Doc: Remove Cloud Pro and Advanced references (#74050)
Removed Cloud plan references
2023-09-11 09:34:46 -04:00
Adela Almasan
89127d5ec9
Canvas: Button API - Add support for GET requests (#74566) 2023-09-11 08:03:52 -05:00
Gilles De Mey
3487e89492
Alerting: Update query options layout (#74660) 2023-09-11 15:45:46 +03:00
Gilles De Mey
1fa6623e1c
Alerting: Fix flakey test for rule group export (#74665) 2023-09-11 14:35:23 +02:00
Fabrizio
a939dfadf2
Improve check on Tempo version (#74547) 2023-09-11 14:34:05 +02:00
lean.dev
5e0b20266e
Licensing: Pass func to update env variables when starting plugin (#74620) 2023-09-11 09:33:10 -03:00
Will Browne
e855efb13d
Plugins: Move store and plugin dto to pluginsintegration (#74655)
move store and plugin dto
2023-09-11 13:59:24 +02:00
Torkel Ödegaard
499b02b3c6
DashboardScene: Panel edit route basics (#74081)
* DashboardScene: Panel edit route basics

* remove unused file

* Removed some comments

* Minor fix

* Update

* example of apply changes implementation

* SceneObjectRef: Testing scene object ref

* Rename to ref suffix

* Update

* Fix url sync in panel edit

* Update

* Update

* simplify logic when committing change

* remove import

* Another fix for committing change
2023-09-11 13:51:05 +02:00
Esteban Beltran
b9c681e1a7
Sandbox: Fix panel custom editors not working inside the sandbox (#74589)
* Sandbox: Fix panel custom editors not working inside the sandbox

* Use the plugin-id in the specific rendering category
2023-09-11 13:43:57 +02:00
Marcus Efraimsson
edc34fc836
Instrumentation: Improve instrumentation for database migrations (#74659) 2023-09-11 14:10:21 +03:00
Ashley Harrison
247d91be2b
Chore: remove wrapping of cy in the e2e object (#74650)
* remove cy. wrapping as e2e().

* make trace-view-scrolling more stable and remove waits

* improve stability more
2023-09-11 11:20:54 +01:00
Torkel Ödegaard
7718a67b77
DashboardScene: Use TimeRangeTransformerBase in PanelTimeRange (#74647) 2023-09-11 12:18:10 +02:00
Marcus Efraimsson
8ee43f3705
Instrumentation: Add status_source label to request metrics/logs (#74114)
Ref #68480

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2023-09-11 12:13:13 +02:00
Torkel Ödegaard
97d568e60a
DashbboardScene: RowRepeaterBehavior (#74505)
* Repeating rows start

* working

* Progress

* Progress

* Update

* up scenes lib

* Update

* Progress

* restore url sync

* Progress

* Fixes and tests

* Update

* Adds tests and code to remove repeats from save model

* Update

* Fix test
2023-09-11 12:02:04 +02:00
Ashley Harrison
fb367bf91d
Chore: fix build (#74651)
put ts-expect-error in the right place
2023-09-11 12:07:05 +03:00
Jo
77e4d477e5
Auth: Optimize auth token operations (#74602)
* add token count

* wip

* user count method for tag reporting

* remove non functioning mysql clientFoundRows check

* Update pkg/services/auth/authtest/testing.go

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

* add user ID guard

---------

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2023-09-11 10:24:57 +02:00
Jennifer Villa
09137da78c
Update metamonitoring docs for alerting (#74559)
* Update _index.md

Update to metamonitoring docs

* Update _index.md
2023-09-11 09:59:37 +02:00
Gábor Farkas
6e75c5d182
postgres/sql: fix imports (#74535)
* postgres/sql: fix imports

* nicer import

Co-authored-by: Adam Yeats <16296989+adamyeats@users.noreply.github.com>

---------

Co-authored-by: Adam Yeats <16296989+adamyeats@users.noreply.github.com>
2023-09-11 09:48:55 +02:00
Torkel Ödegaard
349408d78c
DashboardMigrator: Add migration that removes repeats (#74296)
* DashboardMigrator: Add migration that removes repeats

* Update
2023-09-11 08:34:13 +02:00
Fabrizio
3bb4e24458
Dashboards: Escape tags (#74437) 2023-09-09 14:11:36 +02:00
Ryan McKinley
85e629dc7d
Chore: make GPRCServerService private (#74612) 2023-09-08 12:44:18 -07:00
Ezequiel Victorero
a4c8f04565
PublicDashboards: Create initial API docs (#74424) 2023-09-08 16:10:44 -03:00
Yuri Tseretyan
99fd7b8141
Alerting: Update provisioning to validate user-defined UID on create (#73793)
* add ValidateUID to util
* provisioning to validate UID on rule creation

---------

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com>
2023-09-08 15:09:35 -04:00
ismail simsek
9c50296a07
InfluxDB: Fix multiple tag selection (#74205)
Return all tag keys
2023-09-08 20:57:11 +02:00
ismail simsek
3107459e57
Prometheus: Handle the response with different field key order (#74567)
* Handle the response with different field key order

* More unit tests to cover edge cases

* Cover more edge cases

* make it simpler

* Better test inputs
2023-09-08 19:58:05 +02:00
Ashley Harrison
0f2f25c5d9
Chore: Move to Cypress 12 and decouple cypress from @grafana/e2e (#74084)
* update drone to use cypress 12 image

* upgrade cypress to 12 in core

* cypress config actually valid

* update @grafana/e2e imports and add lint rule

* ignore grafana-e2e from betterer now it's deprecated

* fix remaining type errors

* fix failing tests

* remove unnecessary tsconfig

* remove unnecessary comment

* update enterprise suite commands to work

* add cypress config to CODEOWNERS

* export setTimeRange in utils

* remove @grafana/e2e from core deps

* try running the command through yarn

* move CMD to scripts

* Update cloud-data-sources e2e image

* Update paths

---------

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2023-09-08 16:51:59 +01:00
Konrad Lalik
e7a2c95586
Alerting: Add Grafana-managed groups and rules export (#74522) 2023-09-08 16:26:54 +02:00
Todd Treece
699c5c1e2e
Chore: Fix grafana-apiserver config (#74608) 2023-09-08 17:12:12 +03:00
Isabella Siu
270ef4412d
CloudWatch and Redshift: update toggles to public preview (#74577) 2023-09-08 10:11:37 -04:00
Ashley Harrison
a31b02035a
Browse Dashboards: fix viewer permissions check (#74604)
fix permissions check
2023-09-08 15:07:00 +01:00
kay delaney
cca2905ddf
usePanelSave: Fix success/error notifications (#74454) 2023-09-08 16:57:07 +03:00
Josh Hunt
315a43da93
Dashlist: Fix panel not showing for Viewer users (#74596)
* Dashlist: Fix migration failing when API fails

* don't hit api to migrate general folder

* comment
2023-09-08 13:43:15 +00:00
Sonia Aguilar
cad39b7397
Alerting: Revert "Alerting: Show annotations markers in TimeSeries panel when u… (#74576)
Revert "Alerting: Show annotations markers in TimeSeries panel when using Loki as … (#72084)"

This reverts commit de6ef53c8a.
2023-09-08 10:57:31 +02:00
Sofia Papagiannaki
9fcee9b206
Nested folders: Fix folder hierarchy in folder responses (#74516)
Nested folders: Fix hierarchy in folder response
2023-09-08 10:43:41 +03:00
Eric Leijonmarck
394976bb6e
Service accounts: Fix mouse leave event by hide scrollbar in firefox and chrome (#74266)
fix: hide scrollbar in firefox and chrome for menu, due to mouse leave event
2023-09-08 07:40:18 +01:00
Ashley Harrison
a7425f875e
Browse Dashboards: Update docs to remove reference to General folder (#74528)
* update documentation to remove mention of General folder

* update swagger-tags
2023-09-08 03:57:16 +01:00
Yuri Tseretyan
0df3647367
Alerting: extend rules export API to filter by folder and group (#74423)
update endpoint `GET /api/v1/provisioning/alert-rules/export` to accept query parameters `folderUid` and `group`
2023-09-07 17:34:32 -04:00
Kyle Brandt
5cc737bb24
SSE: Put data source query grouping behind feature flag (#74551)
change was originally merged in commit: 720d716 via PR: https://github.com/grafana/grafana/pull/72935 with no flag
flag is: sseGroupByDatasource
2023-09-07 23:02:07 +03:00
Leanna Shippy
ebdd2a72a8
Loki: Fix typo in Loki logger error message (#73860)
Fix  loki logger error message
2023-09-07 15:06:49 -04:00
Kim Nylander
62badf0e7d
[DOC] Update filter tag doc (#74452)
* Update filter tag doc

* Update docs/sources/shared/datasources/tempo-search-traceql.md

Co-authored-by: Jennifer Villa <jvilla2013@gmail.com>

---------

Co-authored-by: Jennifer Villa <jvilla2013@gmail.com>
2023-09-07 12:46:43 -05:00
Jennifer Villa
2fbc752003
Update the What's new next template (#74494)
* Update README.md

* Apply suggestions from code review

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

* Update README.md

added link to reference

* Update docs/sources/whatsnew/whats-new-next/README.md

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

* Fixed prettier linting errors

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2023-09-07 12:52:00 -04:00
Julien Duchesne
566215c22c
CI: Get Github Token and Docker username/password from Vault (#74555)
CI: Get Docker username/password from Vault
Not Drone secrets
2023-09-07 12:26:43 -04:00
Ivana Huckova
49bd93aa2b
Elasticsearch: Adjust logging to follow convention (#74554)
* Elasticsearch: Adjust naming in logging according to convention

* Log response parsing per response

* Update

* Fix logging of errors when no response

* Add path to error loggigng

* Update pkg/tsdb/elasticsearch/response_parser.go
2023-09-07 18:15:24 +02:00
Eric Leijonmarck
61e96f8412
Auth: Move apikey service from userSignedIn to identity.Requester interface (#74323)
change from userSignedIn to identity.Requester interface
2023-09-07 16:54:38 +01:00