Glue: Add DB migration & support provisioning for user-defined correlations config (#55560)

* Allow provisioning correlation config

* Simplify code

* Fix reading correlations test

* Fix linting errors

* Fix linting errors

* remove simpleJson

* Clean up

* Fix tests

* Update swagger docs

* Fix linting

* Fix linting

* Clean up swagger definitions

Co-authored-by: Elfo404 <me@giordanoricci.com>
This commit is contained in:
Piotr Jamróz
2022-09-27 11:08:02 +02:00
committed by GitHub
parent a49fcbdbbc
commit becdf10f0e
10 changed files with 207 additions and 8 deletions

View File

@@ -52,6 +52,7 @@ datasources:
implementation: prometheus
- name: gdev-prometheus
uid: gdev-prometheus
type: prometheus
access: proxy
url: http://localhost:9090
@@ -237,6 +238,13 @@ datasources:
- targetUID: gdev-zipkin
label: "Zipkin traces"
description: "Related traces stored in Zipkin"
- targetUID: gdev-prometheus
label: "Logs to metrics"
description: "Related metrics stored in Prometheus"
config:
target:
expr: "{ job=\"test\" }"
field: "labels"
jsonData:
manageAlerts: false
derivedFields: