Commit Graph

45043 Commits

Author SHA1 Message Date
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
Sven Grossmann
d14851c877
Loki: Adjust to logging convention (#74531)
* adjust Loki to logging convention

* Fix call resource logging

* Update dataquery

* Update

* Remove redundant logging

* Fix TODO

* Rename action to stage and use variables

* `resp` might be `nil`

* `resp` might be `nil` here as well

* change to `statusCode`

* use correct logger

* also here

* add query information to logging

---------

Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com>
2023-09-07 17:09:24 +02:00
Will Browne
8d04f1daea
Chore: Bump grafana azure sdk to latest (1.8.1) (#74529)
bump grafana azure sdk to latest
2023-09-07 16:55:23 +02:00
ypnos
1f543425fc
Internationalization: Adapt document language (#74513)
Adapt document language

HTML "lang" attribute should reflect the actual language used in texts. Important for accessibility functions (screen readers), but also usable in CSS.
2023-09-07 14:33:42 +00:00
Fabrizio
d19f75d499
Fix regex for Tempo version (#74541) 2023-09-07 16:53:33 +03:00
Jack Westbrook
1c0797f559
Chore: Bump systemjs-cjs-extra to 0.1.1 (#74540)
chore(npm): bump systemjs-cjs-extra to 0.1.1
2023-09-07 15:40:57 +02:00
Kim Nylander
ee8b79a68f
[DOC] Share query editor doc for traces (#74239)
* Share query editor doc for traces

* Updates to included content

* Update docs/sources/datasources/tempo/query-editor/index.md

* Update docs/sources/datasources/tempo/query-editor/index.md

* Update docs/sources/datasources/tempo/query-editor/index.md

* Fixed duplicate text
2023-09-07 08:26:18 -05:00
brendamuir
b22cfcd336
Docs alerting: meta monitoring topics (#74440)
* Docs alerting: adds insights logs and updates metamonitoring topic

* updates meta monitoring

* Update docs/sources/alerting/monitor/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/alerting/monitor/meta-monitoring/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* removes alias

* Update docs/sources/alerting/monitor/meta-monitoring/_index.md

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

* Update docs/sources/alerting/monitor/meta-monitoring/_index.md

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

* Update docs/sources/alerting/monitor/meta-monitoring/_index.md

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

* Update docs/sources/alerting/monitor/meta-monitoring/_index.md

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

* updates numbering

* adds codeblock

* updates

* Update docs/sources/alerting/monitor/meta-monitoring/_index.md

Co-authored-by: George Robinson <george.robinson@grafana.com>

* Update docs/sources/alerting/monitor/meta-monitoring/_index.md

Co-authored-by: George Robinson <george.robinson@grafana.com>

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Jennifer Villa <jvilla2013@gmail.com>
Co-authored-by: George Robinson <george.robinson@grafana.com>
2023-09-07 15:08:11 +02:00
Jack Westbrook
0d1845f857
Plugins: Fix applying default extension and AMD detection (#74471)
* fix(plugins): support edge cases where default extension was not added

* fix(plugins): only apply AMD wrapper to AMD format plugins

* refactor(plugins): update regex for codeql warnings

* refactor(plugins): remove check for commented out dependency strings in AMD regex

* test(plugins): add tests for systemjs hook amd detection
2023-09-07 14:30:35 +02:00
Christopher Moyer
272398f26c
Docs: updates ambiguous link (#74496)
updates ambiguous link
2023-09-07 07:05:37 -05:00
Ivana Huckova
408d0265ce
Elasticsearch: Improve backend instrumentation of CallResource calls (#74530)
Elasticsearch: Improve backend instrumentation of  calls
2023-09-07 13:54:31 +02:00
Ivana Huckova
51391a762b
Elasticsearch: Improve backend instrumentation of QueryData calls (#74172)
* Elasticsearch: Improve backend instrumentation of QueryData calls

* Add fromAlert

* Fix tests, move logger and context to struct

* Add instrumentation for processing response

* Move log for sending request closer to sending request

* Update

* Fix logging, improved messages, fix printing of queries

* Update log text

* Fix tests

* Fix lint

* Update logging to follow our guidelines

* Remove key-value pairs from logs that are going to be passed from instrumentation

* Update pkg/tsdb/elasticsearch/elasticsearch.go
2023-09-07 13:54:16 +02:00
Sven Grossmann
7e01dde762
Logging: Add WithContextualAttributes to pass log params based on the given context (#74428)
* suggestion to use `RegisterContextualLogProvider`

* add `pluginId`

* change to `WithContextualAttributes`

* move approach to instrumentation.go

* improve `WithContextualAttributes`

* unexport consts

* typo

* remove comment

* add `nil` check
2023-09-07 13:13:34 +02:00
Josh Hunt
44e51ffe8b
Dashlist: Use new nested folder picker (#74011)
* Add new folderUID property

* Add nested folder picker + migration to UID

* fix folderUID

* comment
2023-09-07 13:57:31 +03:00
Ashley Harrison
ebe13a53f7
Browse Dashboards: Split new browse UI from nested folders backend (#74435)
* create new feature toggle + start to put stuff behind it

* block move, tidy up interfaces

* fix new/folder actions buttons

* show warning when deleting library panels/alert rules + run i18n:extract

* pseudo

* update unit tests

* pass alert in description
2023-09-07 11:41:00 +01:00
Fabrizio
96facbdfa2
Tempo: Improve autocompletion and syntax highlighting for TraceQL tab (#73707) 2023-09-07 12:36:23 +02:00
Horst Gutmann
94c9bee181
CI: Run auto-milestone workflow also on reopened pull-requests (#74390) 2023-09-07 13:32:22 +03:00
Alex Khomenko
a14af5e680
Share link: Use panel relative time for direct link rendered image (#74438)
* Use relative timerange for share link

* Fix time range
2023-09-07 12:41:21 +03:00
Konrad Lalik
8b00d7d7af
Alerting: Fix contact points url field validation (#74510) 2023-09-07 10:58:47 +02:00
Jo
a6aa8f46d1
Auth: Silence no permissions warning (#74477)
* silence no permissions warning

* change warning to debug
2023-09-07 10:22:31 +02:00
Neo Jiang
1ed6071f95
Docs: Fix a typo issue (#74498)
Update _index.md

Fix typo issue
2023-09-07 10:13:34 +02:00
Kim Nylander
ad63400a54
[DOC] Restructure Tempo data source doc (#74291)
Restructure Tempo data source doc
2023-09-06 19:42:23 -05:00
jordanefillatre
b8b5d2fed8
CloudWatch: Add AWS/S3 replication metrics (#74416) (#74418)
Co-authored-by: Isabella Siu <sakurablossom@blueblueworld.com>
2023-09-06 15:10:17 -04:00
David Allen
b0715816d8
Documentation linting on library_element docs (#74407)
* vale lint documentation changes

* run prettier

---------

Co-authored-by: unknown <antonio.caleromerello@grafana.com>
2023-09-06 20:49:05 +03:00
Kristin Laemmert
496cf3d0da
server target command (#74408)
feat: add grafana server target command
2023-09-06 13:11:57 -04:00
Oscar Kilhed
579709c7a6
MSSQL: Add support for MI authentication to MSSQL (#73597)
* Add support for MI authentication to MSSQL

This adds support for managed identity authentication for MSSQL managed
instances running in Azure.

Co-authored-by: baldm0mma <jev.forsberg@grafana.com>
2023-09-06 18:27:19 +02:00
Fabrizio
3ccfa5620f
Tempo: Fix flaky test (#74169) 2023-09-06 18:08:24 +02:00
Ieva
f52936a604
Chore: remove legacy ac fallback from the route registration (#74464)
remove legacy ac fallback from the routes
2023-09-06 16:57:22 +01:00
Christopher Moyer
e027f1ef10
Docs: adjustments to Ubuntu install based on user feedback (#74406)
* adjustments based on user feedback

* makes prettier

* Apply suggestions from code review

* Update docs/sources/setup-grafana/installation/debian/index.md

* Update docs/sources/setup-grafana/installation/debian/index.md
2023-09-06 10:55:53 -05:00
Kristin Laemmert
6ce4af7840
chore: remove unused feature flag (#74460)
This commit removes the validateDashboardsOnSave feature flag that is currently not in use.
Closes #70022
2023-09-06 11:25:44 -04:00
Fabrizio
34a867b8dc
Docs: Add entry for Tempo query-type template variables (#74392) 2023-09-06 17:22:55 +02:00