Ezequiel Victorero
860380d893
PublicDashboards: refactor following naming convention for services ( #57625 )
2022-10-25 21:40:42 -03:00
Michael Mandrus
5879805e4b
PublicDashboards: Fix unsafe code snippets ( #57641 )
...
* return an error if we can't extract queries from a panel
* check for null or undefined
2022-10-25 20:16:10 -04:00
Ryan McKinley
e6575bab76
Playlist: allow using object store as the backend ( #57467 )
2022-10-25 16:51:01 -07:00
Artur Wierzbicki
6abd4cd8e8
Chore: pointerify dummy server ( #57640 )
2022-10-25 19:27:31 -04:00
owensmallwood
b5f1876ba3
PublicDashboards: Update docs with supported datasources ( #57629 )
...
Updates public dashboards docs with compatible datasources
2022-10-25 17:06:02 -06:00
kay delaney
b49713d323
Chore: Remove unused files ( #57515 )
2022-10-25 23:34:53 +01:00
Beto Muniz
069a4cb21b
Fix orderFieldsTransformer sorting ( #57635 )
2022-10-25 17:48:14 -03:00
Ezequiel Victorero
c5e420a94c
PublicDashboards: move methods from store to service ( #57599 )
2022-10-25 16:29:18 -03:00
Galen Kistler
c27aac0d38
Prometheus query builder: Replace select with AsyncSelect to support high cardinality prometheus instances ( #57300 )
...
* Replace current select with AsyncSelect component to facilitate autocomplete via prometheus server instead of client application
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2022-10-25 13:05:21 -05:00
Andrej Ocenas
82d79780d8
Flamegraph: Fix vertical offset ( #57618 )
2022-10-25 17:55:49 +02:00
Gilles De Mey
8788f7d2d8
Alerting: Always allow configuring AM configuration ( #57522 )
2022-10-25 16:52:11 +02:00
Gilles De Mey
7414ba7279
Expressions: make reduce inputs compacter ( #56404 )
2022-10-25 16:28:11 +02:00
Shirley
76a3a1eda7
CloudWatch: migrate tests to metrics data query request parsing level, add tests ( #57431 )
2022-10-25 15:53:54 +02:00
Virginia Cepeda
9eae793b5d
Alerting: Remove the alert manager selection from the data source configuration ( #57369 )
...
* Remove alertmanager dropdown from datasource config
* Avoid sending alertmanagers from loki/prom config editors
* Add test
* Remove unneeded param
2022-10-25 10:53:20 -03:00
Artur Wierzbicki
a63c529ad1
Chore: add query_retries=3
to querylibrary_integration_test.go
( #57607 )
2022-10-25 09:52:56 -04:00
Matias Chomicki
cc820062c6
Chore: update latest.json to 9.2.2 ( #57608 )
2022-10-25 13:39:23 +00:00
brendamuir
58b15f3e54
Adds information on what's new label to PR template ( #57594 )
2022-10-25 14:25:41 +01:00
Kristin Laemmert
225ed4cc0a
GRN parsing service ( #56750 )
...
* GRN parsing service
* move GRN package into infra and update fields
* remove orgID from GRNs (collapse into tenantID)
2022-10-25 09:07:24 -04:00
Erik Sundell
5daa87d7a1
Cloudwatch: Remove unused code ( #57593 )
...
* remove not used code and refactor check health
* fix broken test
* remove not used variable
2022-10-25 15:03:51 +02:00
Esteban Beltran
8d42e1b169
Toolkit: Deprecate node-version-check command ( #57591 )
...
* Toolkit: Deprecate node-version-check command
* Do not check for nodejs version on frontend-test
2022-10-25 14:53:53 +02:00
Grot (@grafanabot)
f64b0e1fae
Changelog: Updated changelog for 9.2.2 ( #57601 )
2022-10-25 14:36:46 +02:00
Erik Sundell
4c654ddb76
Cloudwatch: Refactor metrics resource request ( #57424 )
...
* refactor metrics request
* Update pkg/tsdb/cloudwatch/routes/dimension_keys_test.go
Co-authored-by: Shirley <4163034+fridgepoet@users.noreply.github.com>
* return metric struct value intead of pointer
* make it possible to test hard coded metrics service
* test all paths in route
* fix broken test
* fix one more broken test
* add integration test
Co-authored-by: Shirley <4163034+fridgepoet@users.noreply.github.com>
2022-10-25 14:00:54 +02:00
Todd Treece
53d7404e2b
Chore: Add appcontext.WithUser and appcontext.User ( #57534 )
2022-10-25 07:51:24 -04:00
sh0rez
beaaabd770
live: explicitely reply with http 200 ( #57428 )
...
`pkg/web` triggers a panic when a http handler chain does not return any
response to the client.
This has been put in place, because it usually means a middleware along
the way did not call the next one.
In this specific case however, the handlers meant to return 200, but did
not do so explicitely, instead relying on the default behavior of `net/http`
2022-10-25 11:45:54 +02:00
Jack Westbrook
588e64d9f5
Chore: Fix vulnerabilities in webpack loader-utils ( #57533 )
...
* chore: remove unused webpack loaders from core and toolkit
* chore: refresh yarn.lock file
* chore(yarn): refresh lock file for loader-utils update to 2.0.3
* chore: force ngtemplate-loader to use loader-utils@2.0.3
* chore(e2e): bump ts-loader@8.4.0 for loader-utils@2.0.3
* chore(yarn): remove unused packageExtensions
* chore(storybook): force unused webpack deps to v5. force plugins and loaders for loader-utils@2.0.3
* chore(storybook): update config for type changes from webpack v4 to v5
2022-10-25 11:37:41 +02:00
Joey Tawadrous
8f75ec4007
Flame Graph: Exact search ( #56769 )
...
* Use exact match
* Create searchable FlameGraphPanel.tsx
2022-10-25 10:24:27 +01:00
Karl Persson
7386f8652c
RBAC: Improve performance of dashboard filter query ( #56813 )
...
* RBAC: Move UserRolesFilter to domain package
* Dashboard Permissions: Rewrite rbac filter to check access in sql
* RBAC: Add break when wildcard is found
* RBAC: Add tests for dashboard filter
* RBAC: Update tests
* RBAC: Cover more test cases
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-10-25 11:14:27 +02:00
Ashley Harrison
d2a70bc42d
Chore: more any/type assertion improvements ( #57450 )
...
* more friday any/type assertion improvements
* Apply suggestions from code review
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
* Update public/app/angular/promiseToDigest.test.ts
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2022-10-25 11:04:35 +02:00
Erik Sundell
8adbacb18e
Cloudwatch: Refactor datasource instance factory method ( #57452 )
...
* wip
* fix broken test
2022-10-25 09:52:12 +02:00
Joey Tawadrous
d9a6c3f398
FlameGraph: Add newly designed flame graph icon ( #57514 )
...
* Add newly designed flame graph icon
* Update expectedListResponse
2022-10-25 07:18:17 +01:00
Victor Marin
c30716a073
TablePanel: Fix updating footer values on data change ( #57518 )
...
* TablePanel: Fix updating footer values on data change
* tests
2022-10-25 08:32:16 +03:00
Artur Wierzbicki
e485ddd13d
Store: don't marshall/unmarshall the dashboard when building a summary ( #57520 )
...
* dont pretty print the dashboard
* stop marshalling the dashboard
* do not sanitize for searchV2
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-10-25 09:39:17 +08:00
Artur Wierzbicki
749b3b6263
Storage: Fix initialization on windows ( #57504 )
2022-10-25 09:27:22 +08:00
Nathan Marrs
9d857f4d61
Canvas: Improve resource picker initialization ( #57319 )
2022-10-24 13:40:28 -07:00
Ryan McKinley
37b011d79e
Annotations: Disable "Add annotation" button when annotations are disabled ( #57481 )
2022-10-24 13:24:33 -07:00
Galen Kistler
e59ddd6bc5
Revert "Revert "Prometheus: Provide label values match parameter API when supported prometheus instance is configured ( #56510 )" ( #57551 )" ( #57553 )
...
This reverts commit e7671bf909
.
2022-10-24 15:02:15 -05:00
Galen Kistler
f93c3acc51
Prometheus: Flavor/version configuration ( #57554 )
...
* Revert "Revert "Prometheus: Type and flavor configuration (#56496 )" (#57552 )"
This reverts commit 2432ce619a
.
* Adds new fields and documentation for Prometheus datasource configuration: prometheus type, and version
2022-10-24 14:53:11 -05:00
Guilherme Caulada
cfd9e72da5
Add dashboards to the navtree on public dashboards ( #57542 )
2022-10-24 16:34:27 -03:00
Erik Sundell
c23a7bdcf8
refactoring dimension values frontend req ( #57475 )
2022-10-24 20:45:02 +02:00
Joan López de la Franca Beltran
5d18b41857
Docs: Database encryption corrections ( #57503 )
...
* Docs: Database encryption corrections
* Fix relref links
* Additional corrections
2022-10-24 20:07:32 +02:00
Galen Kistler
2432ce619a
Revert "Prometheus: Type and flavor configuration ( #56496 )" ( #57552 )
...
This reverts commit 7ecbc98b3e
.
2022-10-24 12:33:11 -05:00
Galen Kistler
e7671bf909
Revert "Prometheus: Provide label values match parameter API when supported prometheus instance is configured ( #56510 )" ( #57551 )
...
This reverts commit 3cbbf706cf
.
2022-10-24 11:56:49 -05:00
brendamuir
e48fac9d91
Proposal for PR template text ( #57267 )
...
* Proposal for PR template text
* adds full stop
2022-10-24 16:51:26 +01:00
Zoltán Bedi
c0b778134e
Revert: Query editor components from grafana-ui ( #57436 )
...
* Revert: QueryEditor components from grafana-ui
* Use local version of experimental
* Use experimental for query editor components
* Fix type issues in MSSQL
* point to actual version of experimental package
* point to latest version of experimental
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
2022-10-24 17:12:36 +02:00
Galen Kistler
3cbbf706cf
Prometheus: Provide label values match parameter API when supported prometheus instance is configured ( #56510 )
...
Provide label values API with match parameter when prometheus datasource has configured supported prometheus type and version
2022-10-24 09:47:35 -05:00
Ivana Huckova
3d7439d97d
Loki: Fix input history ( #57344 )
2022-10-24 16:27:56 +02:00
Galen Kistler
7ecbc98b3e
Prometheus: Type and flavor configuration ( #56496 )
...
* Adding two new fields to the data JSON in the prometheus datasource configuration: prometheusType, and prometheusVersion.
* Version field will attempt to auto-detect via buildinfo API when prometheus Type is selected
2022-10-24 09:26:32 -05:00
Gábor Farkas
8d0e24a622
explore: fix filtering logs-data in table-display ( #57356 )
2022-10-24 14:18:56 +00:00
Erik Sundell
017da781cf
Cloudwatch: Refactor dimension values resource request ( #57346 )
...
* refactor dimension values backend
* fix test file name
2022-10-24 15:04:25 +02:00
Shirley
9ebed91eed
CloudWatch: Refactor to extract DataQuery grouping by region out of request parsing ( #57392 )
...
* CloudWatch: Extract request parsing grouping by region from ParseQueries
* Rename ParseQueries to ParseMetricDataQueries
2022-10-24 14:57:32 +02:00