File tree Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 20
20
enabled: true ,
21
21
},
22
22
23
+ operational: {
24
+ // Whether or not to include memcached in the operational dashboard
25
+ memcached: true ,
26
+ // Whether or not to include consul in the operational dashboard
27
+ consul: true ,
28
+ // Whether or not to include big table in the operational dashboard
29
+ bigTable: true ,
30
+ // Whether or not to include dynamo in the operational dashboard
31
+ dynamo: true ,
32
+ // Whether or not to include gcs in the operational dashboard
33
+ gcs: true ,
34
+ // Whether or not to include s3 in the operational dashboard
35
+ s3: true ,
36
+ // Whether or not to include azure blob in the operational dashboard
37
+ azureBlob: true ,
38
+ // Whether or not to include bolt db in the operational dashboard
39
+ boltDB: true ,
40
+ },
41
+
23
42
// Enable TSDB specific dashboards
24
43
tsdb: true ,
25
44
Original file line number Diff line number Diff line change @@ -14,8 +14,15 @@ local utils = import 'mixin-utils/utils.libsonnet';
14
14
15
15
hiddenRows:: [
16
16
'Cassandra' ,
17
- ] + if !$._config.ssd.enabled then [] else [
18
- 'Ingester' ,
17
+ if $._config.ssd.enabled then 'Ingester' ,
18
+ if !$._config.operational.memcached then 'Memcached' ,
19
+ if !$._config.operational.consul then 'Consul' ,
20
+ if !$._config.operational.bigTable then 'Big Table' ,
21
+ if !$._config.operational.dynamo then 'Dynamo' ,
22
+ if !$._config.operational.gcs then 'GCS' ,
23
+ if !$._config.operational.s3 then 'S3' ,
24
+ if !$._config.operational.azureBlob then 'Azure Blob' ,
25
+ if !$._config.operational.boltDB then 'BoltDB Shipper' ,
19
26
],
20
27
21
28
hiddenPanels:: if $._config.promtail.enabled then [] else [
Original file line number Diff line number Diff line change 2
2
(import 'alerts.libsonnet' ) +
3
3
(import 'recording_rules.libsonnet' ) + {
4
4
grafanaDashboardFolder: 'Loki' ,
5
+ // Without this, configs is not taken into account
6
+ _config+:: {},
5
7
}
You can’t perform that action at this time.
0 commit comments