forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
50 lines (44 loc) · 954 Bytes
/
config.yaml
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
receivers:
nop:
processors:
exporters:
loadbalancing:
protocol:
# the OTLP exporter configuration. "endpoint" values will be ignored
otlp:
timeout: 1s
# how to get the list of backends: static
resolver:
static:
hostnames:
- endpoint-1 # assumes 4317 as the default port
- endpoint-2:55678
loadbalancing/2:
protocol:
otlp:
# how to get the list of backends: DNS
resolver:
dns:
hostname: service-1 # assumes 4317 as the default port for the resolved IP addresses
loadbalancing/3:
protocol:
otlp:
# how to get the list of backends: DNS
resolver:
dns:
hostname: service-1
port: 55690
service:
pipelines:
traces:
receivers:
- nop
processors: []
exporters:
- loadbalancing
logs:
receivers:
- nop
processors: []
exporters:
- loadbalancing