-
Notifications
You must be signed in to change notification settings - Fork 11
/
config.yml
195 lines (178 loc) · 5.24 KB
/
config.yml
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# type is 'prometheus' or 'influxdb'
type: prometheus
# title is dashboard artifact title
# default is 'Tarantool dashboard'
title: Tarantool dashboard
# description is dashboard artifact description
# default is 'Dashboard for Tarantool application and database server monitoring, based on grafonnet library.'
description: Dashboard for Tarantool application and database server monitoring, based on grafonnet library.
# grafana_tags are dashboard artifact tags
# They do not related to Prometheus/InfluxDB quieries,
# they are a part of Grafana UI and can be used to search dashboards in the library.
# default is [tarantool]
grafana_tags: [tarantool]
# datasource is the name on metrics datasource
# Use expression like '$prometheus' to work with dynamic datasource set with variable.
# Use string like 'MyDashboard' to set your specific datasource.
# default for prometheus type is '$prometheus', for influxdb type is '$influxdb'
datasource: '$prometheus'
# policy is InfluxDB datasource metrics retention policy
# influxdb type only
# Use expression like '$policy' to work with dynamic policy set with variable.
# Use string like 'MyPolicy' to set your specific policy.
# Use 'default' to work with default InfluxDB datasource policy.
# default is '$policy'
# policy: '$policy'
# measurement is InfluxDB datasource metrics measurement
# influxdb type only
# Use expression like '$measurement' to work with dynamic measurement set with variable.
# Use string like 'MyMeasurement' to set your specific measurement.
# default is '$measurement'
# measurement: '$measurement'
# filters are Prometheus/InfluxQL query filters
# By specifying them, you can filter metrics by Prometheus label conditions
# or InfluxDB tag conditions.
# Use app: ['=', 'myapp'] to display only metrics with 'myapp' app label/tag.
# Use app: ['=~', '/^myapp\d/'] to display only metrics with app label/tag satisfying
# a regular expression. See PromQL/InfluxQL documentation for a regex syntax.
# Use job: ['=~', '$job'] to display only metrics with '$job' variable value job label/tag.
# Beware that only job and alias (label_pairs_alias for InfluxDB) template variables
# would be built automatically, if required.
# default is {}
filters: {
job: ['=~', '$job'],
alias: ['=~', '$alias'],
}
# metrics_prefix is an additional prefix for metric names in Prometheus/InfluxQL queries
# Use 'myapp_' if you expose metrics like 'myapp_tnt_uptime_info'
# default is ''
metrics_prefix: ''
# sections are dashboard panels sections to be included
# The list of supported sections:
# - cluster_tarantool3
# - cluster_cartridge
# - replication_tarantool3
# - replication_cartridge
# - http
# - net
# - slab
# - mvcc
# - space
# - vinyl
# - cpu
# - cpu_extended' # for TDG
# - runtime
# - luajit
# - operations
# - crud
# - expirationd
# - tdg_kafka_common
# - tdg_kafka_brokers
# - tdg_kafka_topics
# - tdg_kafka_consumer
# - tdg_kafka_producer
# - tdg_tuples
# - tdg_file_connectors
# - tdg_graphql
# - tdg_iproto
# - tdg_rest_api
# - tdg_tasks
# default is [cluster_tarantool3, replication_tarantool3, http, net, slab, mvcc, space, vinyl, cpu, runtime, luajit, operations, crud, expirationd]
sections:
- cluster_tarantool3
- replication_tarantool3
- http
- net
- slab
- mvcc
- space
- vinyl
- cpu
- runtime
- luajit
- operations
- crud
- expirationd
# Configuration example: prometheus dashboard with template variables
# type: prometheus
# datasource: '$prometheus'
# filters: {
# job: ['=~', '$job'],
# alias: ['=~', '$alias'],
# }
# Configuration example: prometheus static dashboard
# type: prometheus
# datasource: MyPrometheusWithTarantoolMetrics
# filters: {
# job: ['=', 'MyJobWithTarantoolMetrics'],
# }
# Configuration example: prometheus static dashboard with additional labels
# type: prometheus
# datasource: MyPrometheusWithTarantoolMetrics
# filters: {
# job: ['=', 'MyJobWithTarantoolMetrics'],
# vendor_app_tag: ['=', 'MyCacheApplication'],
# }
# Configuration example: prometheus static dashboard with specific sections
# type: prometheus
# datasource: MyPrometheusWithTarantoolMetrics
# filters: {
# job: ['=', 'MyJobWithTarantoolMetrics'],
# }
# sections:
# - cluster_tarantool3
# - replication_tarantool3
# - http
# - net
# - slab
# - space
# - runtime
# - luajit
# - operations
# Configuration example: prometheus static TDG dashboard
# type: prometheus
# title: Tarantool Data Grid dashboard
# grafana_tags: [tarantool, TDG]
# datasource: MyPrometheusWithTDGMetrics
# filters: {
# job: ['=', 'MyJobWithTDGMetrics'],
# }
# sections:
# - cluster_cartridge
# - replication_cartridge
# - http
# - net
# - slab
# - mvcc
# - space
# - vinyl
# - cpu_extended
# - runtime
# - luajit
# - operations
# - crud
# - tdg_kafka_common
# - tdg_kafka_brokers
# - tdg_kafka_topics
# - tdg_kafka_consumer
# - tdg_kafka_producer
# - expirationd
# - tdg_tuples
# - tdg_file_connectors
# - tdg_graphql
# - tdg_iproto
# - tdg_rest_api
# - tdg_tasks
# Configuration example: influxdb dashboard with template variables
# type: influxdb
# datasource: '$influxdb'
# policy: '$policy'
# measurement: '$measurement'
# filters: {
# label_pairs_alias: ['=~', '/^$label_pairs_alias$/'],
# }
# Configuration example: influxdb static dashboard
# type: influxdb
# datasource: MyInfluxDBWithTarantoolMetrics
# policy: default
# measurement: MyMeasurementWithTarantoolMetrics