Debian Codegraph @

otelconf/testdata/v0.2.json

raw
1 {
2 "file_format": "0.2",
3 "disabled": false,
4 "attribute_limits": {
5 "attribute_value_length_limit": 4096,
6 "attribute_count_limit": 128
7 },
8 "logger_provider": {
9 "processors": [
10 {
11 "batch": {
12 "schedule_delay": 5000,
13 "export_timeout": 30000,
14 "max_queue_size": 2048,
15 "max_export_batch_size": 512,
16 "exporter": {
17 "otlp": {
18 "protocol": "http/protobuf",
19 "endpoint": "http://localhost:4318",
20 "certificate": "/app/cert.pem",
21 "client_key": "/app/cert.pem",
22 "client_certificate": "/app/cert.pem",
23 "headers": {
24 "api-key": "1234"
25 },
26 "compression": "gzip",
27 "timeout": 10000,
28 "insecure": false
29 }
30 }
31 }
32 },
33 {
34 "simple": {
35 "exporter": {
36 "console": {}
37 }
38 }
39 }
40 ],
41 "limits": {
42 "attribute_value_length_limit": 4096,
43 "attribute_count_limit": 128
44 }
45 },
46 "meter_provider": {
47 "readers": [
48 {
49 "pull": {
50 "exporter": {
51 "prometheus": {
52 "host": "localhost",
53 "port": 9464,
54 "without_units": false,
55 "without_type_suffix": false,
56 "without_scope_info": false,
57 "with_resource_constant_labels": {
58 "included": [
59 "service*"
60 ],
61 "excluded": [
62 "service.attr1"
63 ]
64 }
65 }
66 }
67 }
68 },
69 {
70 "periodic": {
71 "interval": 5000,
72 "timeout": 30000,
73 "exporter": {
74 "otlp": {
75 "protocol": "http/protobuf",
76 "endpoint": "http://localhost:4318",
77 "certificate": "/app/cert.pem",
78 "client_key": "/app/cert.pem",
79 "client_certificate": "/app/cert.pem",
80 "headers": {
81 "api-key": "1234"
82 },
83 "compression": "gzip",
84 "timeout": 10000,
85 "insecure": false,
86 "temporality_preference": "delta",
87 "default_histogram_aggregation": "base2_exponential_bucket_histogram"
88 }
89 }
90 }
91 },
92 {
93 "periodic": {
94 "exporter": {
95 "console": {}
96 }
97 }
98 }
99 ],
100 "views": [
101 {
102 "selector": {
103 "instrument_name": "my-instrument",
104 "instrument_type": "histogram",
105 "unit": "ms",
106 "meter_name": "my-meter",
107 "meter_version": "1.0.0",
108 "meter_schema_url": "https://opentelemetry.io/schemas/1.16.0"
109 },
110 "stream": {
111 "name": "new_instrument_name",
112 "description": "new_description",
113 "aggregation": {
114 "explicit_bucket_histogram": {
115 "boundaries": [
116 0,
117 5,
118 10,
119 25,
120 50,
121 75,
122 100,
123 250,
124 500,
125 750,
126 1000,
127 2500,
128 5000,
129 7500,
130 10000
131 ],
132 "record_min_max": true
133 }
134 },
135 "attribute_keys": [
136 "key1",
137 "key2"
138 ]
139 }
140 }
141 ]
142 },
143 "propagator": {
144 "composite": [
145 "tracecontext",
146 "baggage",
147 "b3",
148 "b3multi",
149 "jaeger",
150 "xray",
151 "ottrace"
152 ]
153 },
154 "tracer_provider": {
155 "processors": [
156 {
157 "batch": {
158 "schedule_delay": 5000,
159 "export_timeout": 30000,
160 "max_queue_size": 2048,
161 "max_export_batch_size": 512,
162 "exporter": {
163 "otlp": {
164 "protocol": "http/protobuf",
165 "endpoint": "http://localhost:4318",
166 "certificate": "/app/cert.pem",
167 "client_key": "/app/cert.pem",
168 "client_certificate": "/app/cert.pem",
169 "headers": {
170 "api-key": "1234"
171 },
172 "compression": "gzip",
173 "timeout": 10000,
174 "insecure": false
175 }
176 }
177 }
178 },
179 {
180 "batch": {
181 "exporter": {
182 "zipkin": {
183 "endpoint": "http://localhost:9411/api/v2/spans",
184 "timeout": 10000
185 }
186 }
187 }
188 },
189 {
190 "simple": {
191 "exporter": {
192 "console": {}
193 }
194 }
195 }
196 ],
197 "limits": {
198 "attribute_value_length_limit": 4096,
199 "attribute_count_limit": 128,
200 "event_count_limit": 128,
201 "link_count_limit": 128,
202 "event_attribute_count_limit": 128,
203 "link_attribute_count_limit": 128
204 },
205 "sampler": {
206 "parent_based": {
207 "root": {
208 "trace_id_ratio_based": {
209 "ratio": 0.0001
210 }
211 },
212 "remote_parent_sampled": {
213 "always_on": {}
214 },
215 "remote_parent_not_sampled": {
216 "always_off": {}
217 },
218 "local_parent_sampled": {
219 "always_on": {}
220 },
221 "local_parent_not_sampled": {
222 "always_off": {}
223 }
224 }
225 }
226 },
227 "resource": {
228 "attributes": {
229 "service.name": "unknown_service"
230 },
231 "detectors": {
232 "attributes": {
233 "included": [
234 "process.*"
235 ],
236 "excluded": [
237 "process.command_args"
238 ]
239 }
240 },
241 "schema_url": "https://opentelemetry.io/schemas/1.16.0"
242 }
243 }