forked from open-telemetry/opentelemetry-php-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
80 lines (74 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
enabled: true
resource:
limits:
attribute_count: 80
attribute_value_length: 100
attributes:
foo.bar: baz
service.name: fooService
service.namespace: fooSpace
k8s.cluster.name: production-1
trace:
enabled: true
sampler:
root:
type: custom
class: OpenTelemetry\Test\Integration\Symfony\OtelSdkBundle\Mock\Sampler
options:
foo: bar
remote:
sampled:
type: trace_id_ratio_based
options:
probability: 0.5
not_sampled: always_off
local:
sampled: always_on
not_sampled: always_off
span:
limits:
attribute_count: 10
attribute_value_length: 20
event_count: 30
link_count: 40
attribute_per_event: 50
attribute_per_link: 60
processors:
processor1: simple
processor2: batch
processor3:
type: noop
processor4:
type: custom
class: OpenTelemetry\Test\Integration\Symfony\OtelSdkBundle\Mock\SpanProcessor
options:
foo: bar
processor5:
type: custom
id: "@my_span_processor"
options:
foo: baz
exporters:
# dsn example
exporter1: zipkin+http://zipkinhost:1234/path
# dsn key example
exporter2:
dsn: jaeger+https://foo:bar@jaegerhost:1234/path/to/endpoint?name=foo
# parameter example
exporter3:
type: newrelic
processor: simple
url: http://newrelichost:1234/path
options:
license_key: abcde
# custom exporter referenced via class
exporter4:
type: custom
processor: processor4
class: OpenTelemetry\Test\Integration\Symfony\OtelSdkBundle\Mock\SpanExporter
options:
log_file: /tmp/otel/exporter.log
exporter5:
type: custom
processor: processor5
id: "@my_custom_exporter"