2018-05-29 07:00:46 -05:00
|
|
|
apiVersion: 1
|
|
|
|
|
2021-04-13 08:13:50 -05:00
|
|
|
deleteDatasources:
|
|
|
|
- name: gdev-influxdb
|
|
|
|
- name: gdev-influxdb-telegraf
|
|
|
|
- name: gdev-influxdb2
|
|
|
|
- name: gdev-influxdb2-influxql
|
2021-04-14 06:23:59 -05:00
|
|
|
- name: gdev-loki-0.3
|
|
|
|
- name: gdev-loki-0.4
|
2022-05-16 01:34:38 -05:00
|
|
|
- name: gdev-elasticsearch-v2-metrics
|
|
|
|
- name: gdev-elasticsearch-v2-logs
|
|
|
|
- name: gdev-elasticsearch-v5-metrics
|
|
|
|
- name: gdev-elasticsearch-v5-logs
|
|
|
|
- name: gdev-elasticsearch-v56-metrics
|
|
|
|
- name: gdev-elasticsearch-v56-logs
|
|
|
|
- name: gdev-elasticsearch-v6-metrics
|
|
|
|
- name: gdev-elasticsearch-v6-logs
|
|
|
|
- name: gdev-elasticsearch-v6-filebeat
|
2022-09-26 06:00:29 -05:00
|
|
|
- name: gdev-elasticsearch-v7-metrics
|
|
|
|
- name: gdev-elasticsearch-v7-logs
|
|
|
|
- name: gdev-elasticsearch-v7-filebeat
|
|
|
|
- name: gdev-elasticsearch-v7-metricbeat
|
2021-04-13 08:13:50 -05:00
|
|
|
|
2018-05-29 07:00:46 -05:00
|
|
|
datasources:
|
2018-07-07 07:40:17 -05:00
|
|
|
- name: gdev-graphite
|
2018-05-29 07:00:46 -05:00
|
|
|
type: graphite
|
|
|
|
access: proxy
|
2019-05-24 01:09:51 -05:00
|
|
|
url: http://localhost:8180
|
2018-05-29 07:00:46 -05:00
|
|
|
jsonData:
|
|
|
|
graphiteVersion: "1.1"
|
2018-07-07 07:40:17 -05:00
|
|
|
|
2021-03-30 02:25:27 -05:00
|
|
|
- name: gdev-graphite-1.0
|
|
|
|
type: graphite
|
|
|
|
access: proxy
|
|
|
|
url: http://localhost:8280
|
|
|
|
jsonData:
|
|
|
|
graphiteVersion: "1.0"
|
|
|
|
|
|
|
|
- name: gdev-graphite-0.9
|
|
|
|
type: graphite
|
|
|
|
access: proxy
|
|
|
|
url: http://localhost:8380
|
|
|
|
jsonData:
|
|
|
|
graphiteVersion: "0.9"
|
|
|
|
|
2022-04-29 11:53:14 -05:00
|
|
|
- name: gdev-alertmanager
|
|
|
|
type: alertmanager
|
|
|
|
uid: gdev-alertmanager
|
|
|
|
access: proxy
|
|
|
|
url: http://localhost:9093
|
|
|
|
jsonData:
|
|
|
|
implementation: prometheus
|
|
|
|
|
2018-07-07 07:40:17 -05:00
|
|
|
- name: gdev-prometheus
|
2022-09-27 04:08:02 -05:00
|
|
|
uid: gdev-prometheus
|
2018-05-29 07:00:46 -05:00
|
|
|
type: prometheus
|
|
|
|
access: proxy
|
|
|
|
url: http://localhost:9090
|
2023-07-06 13:11:55 -05:00
|
|
|
basicAuth: true #username: admin, password: admin
|
|
|
|
basicAuthUser: admin
|
2021-11-30 08:37:03 -06:00
|
|
|
jsonData:
|
2022-04-29 11:53:14 -05:00
|
|
|
manageAlerts: true
|
|
|
|
alertmanagerUid: gdev-alertmanager
|
2022-10-24 14:53:11 -05:00
|
|
|
prometheusType: Prometheus #Cortex | Mimir | Prometheus | Thanos
|
|
|
|
prometheusVersion: 2.40.0
|
2023-07-21 11:02:20 -05:00
|
|
|
exemplarTraceIdDestinations:
|
|
|
|
- name: traceID
|
|
|
|
datasourceUid: gdev-tempo
|
2023-07-06 13:11:55 -05:00
|
|
|
secureJsonData:
|
|
|
|
basicAuthPassword: admin #https://grafana.com/docs/grafana/latest/administration/provisioning/#using-environment-variables
|
2018-07-07 07:40:17 -05:00
|
|
|
|
2019-05-08 03:09:48 -05:00
|
|
|
- name: gdev-slow-prometheus
|
2023-06-12 03:05:50 -05:00
|
|
|
uid: gdev-slow-prometheus-uid
|
2019-05-08 03:09:48 -05:00
|
|
|
type: prometheus
|
|
|
|
access: proxy
|
|
|
|
url: http://localhost:3011
|
2023-10-10 05:28:39 -05:00
|
|
|
basicAuth: true #username: admin, password: admin
|
|
|
|
basicAuthUser: admin
|
2021-11-30 08:37:03 -06:00
|
|
|
jsonData:
|
|
|
|
manageAlerts: false
|
2023-10-10 05:28:39 -05:00
|
|
|
prometheusType: Prometheus #Cortex | Mimir | Prometheus | Thanos
|
|
|
|
prometheusVersion: 2.40.0
|
|
|
|
secureJsonData:
|
|
|
|
basicAuthPassword: admin #https://grafana.com/docs/grafana/latest/administration/provisioning/#using-environment-variables
|
2019-05-08 03:09:48 -05:00
|
|
|
|
2018-07-16 05:12:13 -05:00
|
|
|
- name: gdev-testdata
|
2019-02-13 07:09:04 -06:00
|
|
|
isDefault: true
|
2019-11-25 15:26:18 -06:00
|
|
|
type: testdata
|
2018-07-16 05:12:13 -05:00
|
|
|
|
2021-04-13 08:13:50 -05:00
|
|
|
- name: gdev-influxdb1-influxql
|
2018-05-29 07:00:46 -05:00
|
|
|
type: influxdb
|
|
|
|
access: proxy
|
|
|
|
user: grafana
|
2021-04-13 08:13:50 -05:00
|
|
|
url: http://localhost:8087
|
2019-04-15 04:11:17 -05:00
|
|
|
secureJsonData:
|
|
|
|
password: grafana
|
2023-01-31 07:38:02 -06:00
|
|
|
jsonData:
|
|
|
|
dbName: site
|
2021-03-30 02:25:27 -05:00
|
|
|
|
2021-04-13 08:13:50 -05:00
|
|
|
- name: gdev-influxdb-flux
|
2021-02-23 09:30:35 -06:00
|
|
|
type: influxdb
|
|
|
|
access: proxy
|
2021-04-13 08:13:50 -05:00
|
|
|
url: http://localhost:8086
|
2021-02-23 09:30:35 -06:00
|
|
|
user: grafana
|
|
|
|
secureJsonData:
|
|
|
|
token: mytoken
|
|
|
|
password: grafana12345
|
|
|
|
jsonData:
|
|
|
|
version: Flux
|
|
|
|
organization: myorg
|
|
|
|
defaultBucket: mybucket
|
2019-06-12 08:30:33 -05:00
|
|
|
|
2021-04-13 08:13:50 -05:00
|
|
|
- name: gdev-influxdb-influxql
|
2021-03-09 09:56:42 -06:00
|
|
|
type: influxdb
|
|
|
|
access: proxy
|
2021-04-13 08:13:50 -05:00
|
|
|
url: http://localhost:8086
|
2021-03-09 09:56:42 -06:00
|
|
|
jsonData:
|
2023-01-31 07:38:02 -06:00
|
|
|
dbName: mybucket
|
2021-03-09 09:56:42 -06:00
|
|
|
httpHeaderName1: "Authorization"
|
|
|
|
secureJsonData:
|
|
|
|
httpHeaderValue1: "Token mytoken"
|
|
|
|
|
2018-07-07 07:40:17 -05:00
|
|
|
- name: gdev-opentsdb
|
2018-05-29 07:00:46 -05:00
|
|
|
type: opentsdb
|
|
|
|
access: proxy
|
|
|
|
url: http://localhost:4242
|
2018-07-07 07:40:17 -05:00
|
|
|
jsonData:
|
2018-05-29 07:00:46 -05:00
|
|
|
tsdbResolution: 1
|
|
|
|
tsdbVersion: 1
|
|
|
|
|
2021-06-30 08:58:44 -05:00
|
|
|
- name: gdev-opentsdb-v2.3
|
|
|
|
type: opentsdb
|
|
|
|
access: proxy
|
|
|
|
url: http://localhost:4242
|
|
|
|
jsonData:
|
|
|
|
tsdbResolution: 1
|
|
|
|
tsdbVersion: 3
|
|
|
|
|
2022-05-19 01:29:23 -05:00
|
|
|
- name: gdev-elasticsearch
|
|
|
|
type: elasticsearch
|
2023-04-05 07:43:19 -05:00
|
|
|
uid: gdev-elasticsearch
|
2022-05-19 01:29:23 -05:00
|
|
|
access: proxy
|
|
|
|
url: http://localhost:9200
|
|
|
|
jsonData:
|
2023-04-19 08:13:53 -05:00
|
|
|
index: "[logs-]YYYY.MM.DD"
|
2022-05-19 01:29:23 -05:00
|
|
|
interval: Daily
|
|
|
|
timeField: "@timestamp"
|
|
|
|
logLevelField: level
|
|
|
|
logMessageField: line
|
2019-04-25 02:41:13 -05:00
|
|
|
|
2022-09-26 06:00:29 -05:00
|
|
|
- name: gdev-elasticsearch-filebeat
|
2019-04-25 02:41:13 -05:00
|
|
|
type: elasticsearch
|
|
|
|
access: proxy
|
2022-09-26 06:00:29 -05:00
|
|
|
url: http://localhost:9200
|
2019-04-25 02:41:13 -05:00
|
|
|
jsonData:
|
2023-04-19 08:13:53 -05:00
|
|
|
index: "[filebeat-]YYYY.MM.DD"
|
2019-04-25 02:41:13 -05:00
|
|
|
interval: Daily
|
|
|
|
timeField: "@timestamp"
|
2019-06-24 15:15:03 -05:00
|
|
|
timeInterval: "10s"
|
|
|
|
logMessageField: message
|
|
|
|
logLevelField: fields.level
|
2019-04-25 02:41:13 -05:00
|
|
|
|
2022-09-26 06:00:29 -05:00
|
|
|
- name: gdev-elasticsearch-metricbeat
|
2019-05-27 02:55:58 -05:00
|
|
|
type: elasticsearch
|
|
|
|
access: proxy
|
2022-09-26 06:00:29 -05:00
|
|
|
url: http://localhost:9200
|
2019-05-27 02:55:58 -05:00
|
|
|
jsonData:
|
2023-04-19 08:13:53 -05:00
|
|
|
index: "[metricbeat-]YYYY.MM.DD"
|
2019-05-27 02:55:58 -05:00
|
|
|
interval: Daily
|
|
|
|
timeField: "@timestamp"
|
|
|
|
timeInterval: "10s"
|
|
|
|
|
2018-07-07 07:40:17 -05:00
|
|
|
- name: gdev-mysql
|
2018-05-29 07:00:46 -05:00
|
|
|
type: mysql
|
|
|
|
url: localhost:3306
|
|
|
|
user: grafana
|
2022-12-13 02:56:52 -06:00
|
|
|
jsonData:
|
|
|
|
database: grafana
|
2019-04-15 04:11:17 -05:00
|
|
|
secureJsonData:
|
|
|
|
password: password
|
2018-05-29 07:00:46 -05:00
|
|
|
|
2018-07-26 11:12:00 -05:00
|
|
|
- name: gdev-mysql-ds-tests
|
|
|
|
type: mysql
|
|
|
|
url: localhost:3306
|
|
|
|
user: grafana
|
2022-12-13 02:56:52 -06:00
|
|
|
jsonData:
|
|
|
|
database: grafana_ds_tests
|
2019-04-15 04:11:17 -05:00
|
|
|
secureJsonData:
|
|
|
|
password: password
|
2018-07-26 11:12:00 -05:00
|
|
|
|
2018-07-07 07:40:17 -05:00
|
|
|
- name: gdev-mssql
|
2018-05-29 07:00:46 -05:00
|
|
|
type: mssql
|
|
|
|
url: localhost:1433
|
|
|
|
user: grafana
|
2022-12-13 02:56:52 -06:00
|
|
|
jsonData:
|
|
|
|
database: grafana
|
2018-07-26 11:12:00 -05:00
|
|
|
secureJsonData:
|
|
|
|
password: Password!
|
|
|
|
|
2022-01-26 08:00:18 -06:00
|
|
|
- name: gdev-mssql-tls
|
|
|
|
type: mssql
|
|
|
|
url: localhost:1434
|
|
|
|
user: grafana
|
|
|
|
jsonData:
|
2022-12-13 02:56:52 -06:00
|
|
|
database: grafana
|
2022-01-26 08:00:18 -06:00
|
|
|
encrypt: "true"
|
|
|
|
tlsSkipVerify: true
|
|
|
|
secureJsonData:
|
|
|
|
password: Password!
|
|
|
|
|
2018-07-26 11:12:00 -05:00
|
|
|
- name: gdev-mssql-ds-tests
|
|
|
|
type: mssql
|
|
|
|
url: localhost:1433
|
|
|
|
user: grafana
|
2022-12-13 02:56:52 -06:00
|
|
|
jsonData:
|
|
|
|
database: grafanatest
|
2018-07-26 11:12:00 -05:00
|
|
|
secureJsonData:
|
|
|
|
password: Password!
|
2018-05-29 07:00:46 -05:00
|
|
|
|
2018-07-07 07:40:17 -05:00
|
|
|
- name: gdev-postgres
|
2018-05-29 07:00:46 -05:00
|
|
|
type: postgres
|
|
|
|
url: localhost:5432
|
|
|
|
user: grafana
|
2018-07-18 09:21:32 -05:00
|
|
|
secureJsonData:
|
|
|
|
password: password
|
2018-05-29 07:00:46 -05:00
|
|
|
jsonData:
|
|
|
|
sslmode: "disable"
|
2022-12-13 02:56:52 -06:00
|
|
|
database: grafana
|
2018-05-29 07:00:46 -05:00
|
|
|
|
2018-07-26 11:12:00 -05:00
|
|
|
- name: gdev-postgres-ds-tests
|
|
|
|
type: postgres
|
|
|
|
url: localhost:5432
|
|
|
|
user: grafanatest
|
|
|
|
secureJsonData:
|
|
|
|
password: grafanatest
|
|
|
|
jsonData:
|
|
|
|
sslmode: "disable"
|
2022-12-13 02:56:52 -06:00
|
|
|
database: grafanadstest
|
2018-07-26 11:12:00 -05:00
|
|
|
|
2018-07-07 07:40:17 -05:00
|
|
|
- name: gdev-cloudwatch
|
2018-05-29 07:00:46 -05:00
|
|
|
type: cloudwatch
|
|
|
|
editable: true
|
|
|
|
jsonData:
|
|
|
|
authType: credentials
|
|
|
|
defaultRegion: eu-west-2
|
2020-07-20 09:58:20 -05:00
|
|
|
customMetricsNamespaces: "CWAgent"
|
2018-05-29 07:00:46 -05:00
|
|
|
|
2019-01-29 06:03:49 -06:00
|
|
|
- name: gdev-loki
|
|
|
|
type: loki
|
|
|
|
access: proxy
|
|
|
|
url: http://localhost:3100
|
|
|
|
editable: false
|
2022-07-25 09:19:07 -05:00
|
|
|
correlations:
|
2022-07-27 01:01:46 -05:00
|
|
|
- targetUID: gdev-jaeger
|
2022-07-25 09:19:07 -05:00
|
|
|
label: "Jaeger traces"
|
|
|
|
description: "Related traces stored in Jaeger"
|
2022-07-27 01:01:46 -05:00
|
|
|
- targetUID: gdev-zipkin
|
2022-07-25 09:19:07 -05:00
|
|
|
label: "Zipkin traces"
|
|
|
|
description: "Related traces stored in Zipkin"
|
2023-07-19 07:25:18 -05:00
|
|
|
- targetUID: gdev-tempo
|
|
|
|
label: "Tempo traces"
|
|
|
|
description: "Related traces stored in Tempo"
|
2022-09-27 04:08:02 -05:00
|
|
|
- targetUID: gdev-prometheus
|
|
|
|
label: "Logs to metrics"
|
|
|
|
description: "Related metrics stored in Prometheus"
|
|
|
|
config:
|
2022-10-04 03:39:55 -05:00
|
|
|
type: query
|
2022-09-27 04:08:02 -05:00
|
|
|
target:
|
|
|
|
expr: "{ job=\"test\" }"
|
2022-10-11 07:40:55 -05:00
|
|
|
field: "traceID"
|
2020-05-05 02:51:21 -05:00
|
|
|
jsonData:
|
2021-11-30 08:37:03 -06:00
|
|
|
manageAlerts: false
|
2020-05-05 02:51:21 -05:00
|
|
|
derivedFields:
|
|
|
|
- name: "traceID"
|
2020-05-06 03:39:46 -05:00
|
|
|
matcherRegex: "traceID=(\\w+)"
|
2020-05-05 02:51:21 -05:00
|
|
|
url: "$${__value.raw}"
|
|
|
|
datasourceUid: gdev-jaeger
|
|
|
|
- name: "traceID"
|
2020-05-06 03:39:46 -05:00
|
|
|
matcherRegex: "traceID=(\\w+)"
|
2020-05-05 02:51:21 -05:00
|
|
|
url: "$${__value.raw}"
|
|
|
|
datasourceUid: gdev-zipkin
|
2023-07-19 07:25:18 -05:00
|
|
|
- name: "traceID"
|
|
|
|
matcherRegex: "traceID=(\\w+)"
|
|
|
|
url: "$${__value.raw}"
|
|
|
|
datasourceUid: gdev-tempo
|
2020-05-05 02:51:21 -05:00
|
|
|
|
|
|
|
- name: gdev-jaeger
|
|
|
|
type: jaeger
|
|
|
|
uid: gdev-jaeger
|
|
|
|
access: proxy
|
|
|
|
url: http://localhost:16686
|
|
|
|
editable: false
|
|
|
|
|
|
|
|
- name: gdev-zipkin
|
|
|
|
type: zipkin
|
|
|
|
uid: gdev-zipkin
|
|
|
|
access: proxy
|
|
|
|
url: http://localhost:9411
|
|
|
|
editable: false
|
2021-03-08 09:04:42 -06:00
|
|
|
|
|
|
|
- name: gdev-tempo
|
|
|
|
type: tempo
|
|
|
|
uid: gdev-tempo
|
|
|
|
access: proxy
|
2022-08-11 11:17:21 -05:00
|
|
|
url: http://localhost:3200
|
2021-03-08 09:04:42 -06:00
|
|
|
editable: false
|
2023-08-22 08:54:07 -05:00
|
|
|
jsonData:
|
|
|
|
tracesToLogsV2:
|
|
|
|
datasourceUid: gdev-loki
|
|
|
|
spanStartTimeShift: '5m'
|
|
|
|
spanEndTimeShift: '-5m'
|
|
|
|
customQuery: true
|
|
|
|
query: '{filename="/var/log/grafana/grafana.log"} |="$${__span.traceId}"'
|