Debian Codegraph @

otelconf/testdata/v1.0.0_env_var.yaml

raw
1 file_format: "1.0"
2 disabled: ${OTEL_SDK_DISABLED}
3 attribute_limits:
4 attribute_value_length_limit: ${OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT}
5 attribute_count_limit: 128
6
7 resource:
8 attributes:
9 - name: service.name
10 value: unknown_service
11 - name: string_key
12 value: value
13 type: string
14 - name: bool_key
15 value: true
16 type: bool
17 - name: int_key
18 value: 1
19 type: int
20 - name: double_key
21 value: 1.1
22 type: double
23 - name: string_array_key
24 value: [ "value1", "value2" ]
25 type: string_array
26 - name: bool_array_key
27 value: [ true, false ]
28 type: bool_array
29 - name: int_array_key
30 value: [ 1, 2 ]
31 type: int_array
32 - name: double_array_key
33 value: [ 1.1, 2.2 ]
34 type: double_array
35 - name: string_value
36 value: ${STRING_VALUE}
37 type: string
38 - name: bool_value
39 value: ${BOOL_VALUE}
40 type: bool
41 - name: int_value
42 value: ${INT_VALUE}
43 type: int
44 - name: float_value
45 value: ${FLOAT_VALUE}
46 type: double
47 - name: hex_value
48 value: ${HEX_VALUE}
49 type: int
50 - name: quoted_string_value
51 value: "${STRING_VALUE}"
52 type: string
53 - name: quoted_bool_value
54 value: "${BOOL_VALUE}"
55 type: string
56 - name: quoted_int_value
57 value: "${INT_VALUE}"
58 type: string
59 - name: quoted_float_value
60 value: "${FLOAT_VALUE}"
61 type: string
62 - name: quoted_hex_value
63 value: "${HEX_VALUE}"
64 type: string
65 - name: alternative_env_syntax
66 value: "${env:STRING_VALUE}"
67 type: string
68 - name: invalid_map_value
69 value: "${INVALID_MAP_VALUE}"
70 type: string
71 - name: multiple_references_inject
72 value: foo ${STRING_VALUE} ${FLOAT_VALUE}
73 type: string
74 - name: undefined_key
75 value: ${UNDEFINED_KEY}
76 type: string
77 - name: undefined_key_fallback
78 value: ${UNDEFINED_KEY:-fallback}
79 type: string
80 - name: ${ENV_VAR_IN_KEY}
81 value: "value"
82 type: string
83 - name: replace_me
84 value: ${REPLACE_ME}
85 type: string
86 - name: undefined_defaults_to_var
87 value: ${UNDEFINED_KEY:-${STRING_VALUE}}
88 type: string
89 - name: escaped_does_not_substitute
90 value: $${STRING_VALUE}
91 type: string
92 - name: escaped_does_not_substitute_fallback
93 value: $${STRING_VALUE:-fallback}
94 type: string
95 - name: escaped_and_substituted_fallback
96 value: $${STRING_VALUE:-${STRING_VALUE}}
97 type: string
98 - name: escaped_and_substituted
99 value: $$${STRING_VALUE}
100 type: string
101 - name: multiple_escaped_and_not_substituted
102 value: $$$${STRING_VALUE}
103 type: string
104 - name: undefined_key_with_escape_sequence_in_fallback
105 value: ${UNDEFINED_KEY:-$${UNDEFINED_KEY}}
106 type: string
107 - name: value_with_escape
108 value: ${VALUE_WITH_ESCAPE}
109 type: string
110 - name: escape_sequence
111 value: a $$ b
112 type: string
113 - name: no_escape_sequence
114 value: a $ b
115 type: string
116 attributes_list: "service.namespace=my-namespace,service.version=1.0.0"
117 detectors:
118 attributes:
119 included:
120 - process.*
121 excluded:
122 - process.command_args
123 schema_url: https://opentelemetry.io/schemas/1.16.0