forked from open-telemetry/opentelemetry-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
61 lines (55 loc) · 1.81 KB
/
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
51
52
53
54
55
56
57
58
59
60
receivers:
# The following demonstrates initializing the default jaeger receiver.
# By default all three protocols (grpc, thrift-http, thrift-tchannel)
# are enabled and the default endpoints are specified in factory.go
jaeger:
# The following demonstrates specifying different endpoints.
# The Jaeger receiver connects to ports on all available network interfaces.
# Ex: `endpoint: "9876"` is incorrect.
# Ex: `endpoint: "1.2.3.4:9876"` and ":9876" is correct
jaeger/customname:
protocols:
grpc:
endpoint: "127.0.0.1:9876"
thrift-http:
endpoint: ":3456"
thrift-tchannel:
endpoint: "0.0.0.0:123"
# The following demonstrates disabling the receiver.
# All of the protocols need to be disabled for the receiver to be disabled.
# If a subset of the protocols are disabled, the disabled flags are ignored
# and all protocols are enabled.
# This is to be fixed with issue
# https://github.com/open-telemetry/opentelemetry-service/issues/158
jaeger/disabled:
protocols:
grpc:
disabled: true
thrift-http:
disabled: true
thrift-tchannel:
disabled: true
# The following demonstrates specifying different endpoints.
# The Jaeger receiver connects to ports on all available network interfaces.
# Ex: `endpoint: "9876"` is incorrect.
# Ex: `endpoint: "1.2.3.4:9876"` and ":9876" is correct
jaeger/tls:
protocols:
grpc:
tls-credentials:
cert-file: /test.crt
key-file: /test.key
endpoint: "127.0.0.1:9876"
thrift-http:
endpoint: ":3456"
thrift-tchannel:
endpoint: "0.0.0.0:123"
processors:
exampleprocessor:
exporters:
exampleexporter:
pipelines:
traces:
receivers: [jaeger]
processors: [exampleprocessor]
exporters: [exampleexporter]