forked from open-telemetry/opentelemetry-configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kitchen-sink-example.yaml
69 lines (64 loc) · 2.37 KB
/
kitchen-sink-example.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
# The file format version
file_format: "0.1"
# Configure general attribute limits. See also tracer_provider.span_limits, logger_provider.logrecord_limits.
attribute_limits:
# Set the max attribute value size.
#
# Environment variable: OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
attribute_value_length_limit: 4096
# Set the max attribute count.
#
# Environment variable: OTEL_ATTRIBUTE_COUNT_LIMIT
attribute_count_limit: 128
# Configure logger provider.
logger_provider:
# Configure the log record limits. See also attribute_limits.
logrecord_limits:
# Set the max log record attribute value size. Overrides attribute_limits.attribute_value_length_limit.
#
# Environment variable: OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT
attribute_value_length_limit: 4096
# Set the max log record attribute count. Overrides attribute_limits.attribute_count_limit.
#
# Environment variable: OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT
attribute_count_limit: 128
# Configure meter provider.
meter_provider: {}
# Configure tracer provider.
tracer_provider:
# Configure span limits. See also attribute_limits.
span_limits:
# Set the max span attribute value size. Overrides attribute_limits.attribute_value_length_limit.
#
# Environment variable: OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT
attribute_value_length_limit: 4096
# Set the max span attribute count. Overrides attribute_limits.attribute_count_limit.
#
# Environment variable: OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT
attribute_count_limit: 128
# Set the max span event count.
#
# Environment variable: OTEL_SPAN_EVENT_COUNT_LIMIT
event_count_limit: 128
# Set the max span link count.
#
# Environment variable: OTEL_SPAN_LINK_COUNT_LIMIT
link_count_limit: 128
# Set the max attributes per span event.
#
# Environment variable: OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT
event_attribute_count_limit: 128
# Set the max attributes per span link.
#
# Environment variable: OTEL_LINK_ATTRIBUTE_COUNT_LIMIT
link_attribute_count_limit: 128
# Configure resource for all signals.
resource:
# Key-value pairs to be used as resource attributes.
#
# Environment variable: OTEL_RESOURCE_ATTRIBUTES
attributes:
# Sets the value of the `service.name` resource attribute
#
# Environment variable: OTEL_SERVICE_NAME
service.name: !!str "unknown_service"