-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.yml
36 lines (34 loc) · 953 Bytes
/
config.example.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
## Required configs ##
## just name the service for exported descriptions
service: example_service
## counter name for exported metrics
counter_name: test_counter_name
## kafka topics to fetch messages from
topics:
- test_topic_a
- test_topic_b
## consumer group name of this exporter
consumer: test_consumer_group
## a list of kafka addresses with port
address:
- kafka.example.com:9092
## header names to fetch data from it
header_fields:
- test_header_field
## Optional configs default values ##
## timeouts in ms
timeout: 6000
## offset reset policy, can be earliest or latest
offset_reset: earliest
## exposed http server port for prometheus scraper
port: 80
## error tracking
#sentry:
#dsn: # Required if sentry config is used
#release:
#environment: production
#send_default_pii: false
#debug: false
#traces-sample-rate: 1
## Set traces_sample_rate to 1.0 to capture 100%
## of transactions for performance monitoring.