File tree Expand file tree Collapse file tree 2 files changed +236
-171
lines changed Expand file tree Collapse file tree 2 files changed +236
-171
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
33def enabled ():
4- return True
4+ return False
5+
56
67def get_settings ():
7- """Prometheus Exporter Targets Connection Details"""
8- return {
9- 'targets' : [{
10- 'target_name' : 'hazelcast' ,
11- 'target_host' : 'localhost' ,
12- 'target_port' : 8080 ,
13- },
14- {
15- 'target_host' : 'localhost' ,
16- 'target_port' : 8080 ,
17- },
18- {
19- 'target_service' : 'hazelcast' ,
20- 'target_instance' : 'hazelcast01.consul' ,
21- 'target_host' : 'localhost' ,
22- 'target_port' : 8080 ,
23- 'collection_interval' : 5
24- }
25- ],
26- 'collection_interval' : 15 , # seconds, How often to collect metric data
27- 'default_timeout' : 10.0 , # seconds
28- 'include_service_tags' : False
29- }
8+ """Prometheus Exporter Targets Connection Details"""
9+ return {
10+ 'targets' : [{
11+ 'target_service' : 'hazelcast' ,
12+ 'target_instance' : 'hazelcast01.consul' ,
13+ 'target_host' : 'localhost' ,
14+ 'target_port' : 8080 ,
15+ 'collection_interval' : 15
16+ }
17+ ],
18+ 'collection_interval' : 60 , # seconds, How often to collect metric data
19+ 'default_timeout' : 10.0 , # seconds
20+ 'include_service_tags' : True
21+ }
You can’t perform that action at this time.
0 commit comments