-
Notifications
You must be signed in to change notification settings - Fork 854
Expand file tree
/
Copy pathgrafana-datasource-docker.yaml
More file actions
96 lines (95 loc) · 2.19 KB
/
grafana-datasource-docker.yaml
File metadata and controls
96 lines (95 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Grafana datasource configuration for Docker Compose/single binary mode
# For Kubernetes mode, use grafana-datasource.yaml instead
apiVersion: 1
datasources:
- name: Cortex
type: prometheus
uid: cortex
access: proxy
orgId: 1
url: http://cortex:9009/api/prom
jsonData: &jsonData
cacheLevel: None
httpHeaderName1: X-Scope-OrgID
httpMethod: POST
prometheusType: Cortex
prometheusVersion: 1.14.0
timeInterval: 15s
secureJsonData:
httpHeaderValue1: cortex
version: 1
editable: true
isDefault: true
- name: Tenant A
type: prometheus
access: proxy
orgId: 1
url: http://cortex:9009/api/prom
jsonData: *jsonData
secureJsonData:
httpHeaderValue1: tenant-a
version: 1
editable: true
- name: Tenant B
type: prometheus
access: proxy
orgId: 1
url: http://cortex:9009/api/prom
jsonData: *jsonData
secureJsonData:
httpHeaderValue1: tenant-b
version: 1
editable: true
- name: Tenant C
type: prometheus
access: proxy
orgId: 1
url: http://cortex:9009/api/prom
jsonData: *jsonData
secureJsonData:
httpHeaderValue1: tenant-c
version: 1
editable: true
- name: Tenant D
type: prometheus
access: proxy
orgId: 1
url: http://cortex:9009/api/prom
jsonData: *jsonData
secureJsonData:
httpHeaderValue1: tenant-d
version: 1
editable: true
- orgId: 1
name: Cortex Alertmanager
type: alertmanager
access: proxy
url: http://cortex:9009/
jsonData:
httpHeaderName1: X-Scope-OrgID
implementation: cortex
secureJsonData:
httpHeaderValue1: cortex
version: 1
- orgId: 1
name: Tenant A Alertmanager
type: alertmanager
access: proxy
url: http://cortex:9009/
jsonData:
httpHeaderName1: X-Scope-OrgID
implementation: cortex
secureJsonData:
httpHeaderValue1: tenant-a
version: 1
- orgId: 1
name: Tenant B Alertmanager
type: alertmanager
access: proxy
url: http://cortex:9009/
jsonData:
httpHeaderName1: X-Scope-OrgID
implementation: cortex
secureJsonData:
httpHeaderValue1: tenant-b
version: 1