| 1 |
{ |
| 2 |
"file_format": "1.0-rc.2", |
| 3 |
"disabled": false, |
| 4 |
"log_level": "info", |
| 5 |
"attribute_limits": { |
| 6 |
"attribute_value_length_limit": 4096, |
| 7 |
"attribute_count_limit": 128 |
| 8 |
}, |
| 9 |
"logger_provider": { |
| 10 |
"processors": [ |
| 11 |
{ |
| 12 |
"batch": { |
| 13 |
"schedule_delay": 5000, |
| 14 |
"export_timeout": 30000, |
| 15 |
"max_queue_size": 2048, |
| 16 |
"max_export_batch_size": 512, |
| 17 |
"exporter": { |
| 18 |
"otlp_http": { |
| 19 |
"endpoint": "http://localhost:4318/v1/logs", |
| 20 |
"tls": { |
| 21 |
"ca_file": "testdata/ca.crt", |
| 22 |
"key_file": "testdata/client.key", |
| 23 |
"cert_file": "testdata/client.crt" |
| 24 |
}, |
| 25 |
"headers": [ |
| 26 |
{ |
| 27 |
"name": "api-key", |
| 28 |
"value": "1234" |
| 29 |
} |
| 30 |
], |
| 31 |
"headers_list": "api-key=1234", |
| 32 |
"compression": "gzip", |
| 33 |
"timeout": 10000, |
| 34 |
"encoding": "protobuf" |
| 35 |
} |
| 36 |
} |
| 37 |
} |
| 38 |
}, |
| 39 |
{ |
| 40 |
"batch": { |
| 41 |
"exporter": { |
| 42 |
"otlp_grpc": { |
| 43 |
"endpoint": "http://localhost:4317", |
| 44 |
"tls": { |
| 45 |
"ca_file": "testdata/ca.crt", |
| 46 |
"key_file": "testdata/client.key", |
| 47 |
"cert_file": "testdata/client.crt", |
| 48 |
"insecure": false |
| 49 |
}, |
| 50 |
"headers": [ |
| 51 |
{ |
| 52 |
"name": "api-key", |
| 53 |
"value": "1234" |
| 54 |
} |
| 55 |
], |
| 56 |
"headers_list": "api-key=1234", |
| 57 |
"compression": "gzip", |
| 58 |
"timeout": 10000 |
| 59 |
} |
| 60 |
} |
| 61 |
} |
| 62 |
}, |
| 63 |
{ |
| 64 |
"batch": { |
| 65 |
"exporter": { |
| 66 |
"otlp_file/development": { |
| 67 |
"output_stream": "file:///var/log/logs.jsonl" |
| 68 |
} |
| 69 |
} |
| 70 |
} |
| 71 |
}, |
| 72 |
{ |
| 73 |
"batch": { |
| 74 |
"exporter": { |
| 75 |
"otlp_file/development": { |
| 76 |
"output_stream": "stdout" |
| 77 |
} |
| 78 |
} |
| 79 |
} |
| 80 |
}, |
| 81 |
{ |
| 82 |
"simple": { |
| 83 |
"exporter": { |
| 84 |
"console": null |
| 85 |
} |
| 86 |
} |
| 87 |
} |
| 88 |
], |
| 89 |
"limits": { |
| 90 |
"attribute_value_length_limit": 4096, |
| 91 |
"attribute_count_limit": 128 |
| 92 |
}, |
| 93 |
"logger_configurator/development": { |
| 94 |
"default_config": { |
| 95 |
"disabled": true |
| 96 |
}, |
| 97 |
"loggers": [ |
| 98 |
{ |
| 99 |
"name": "io.opentelemetry.contrib.*", |
| 100 |
"config": { |
| 101 |
"disabled": false |
| 102 |
} |
| 103 |
} |
| 104 |
] |
| 105 |
} |
| 106 |
}, |
| 107 |
"meter_provider": { |
| 108 |
"readers": [ |
| 109 |
{ |
| 110 |
"pull": { |
| 111 |
"exporter": { |
| 112 |
"prometheus/development": { |
| 113 |
"host": "localhost", |
| 114 |
"port": 9464, |
| 115 |
"without_scope_info": false, |
| 116 |
"with_resource_constant_labels": { |
| 117 |
"included": [ |
| 118 |
"service*" |
| 119 |
], |
| 120 |
"excluded": [ |
| 121 |
"service.attr1" |
| 122 |
] |
| 123 |
}, |
| 124 |
"translation_strategy": "underscore_escaping_with_suffixes" |
| 125 |
} |
| 126 |
}, |
| 127 |
"producers": [ |
| 128 |
{ |
| 129 |
"opencensus": null |
| 130 |
} |
| 131 |
], |
| 132 |
"cardinality_limits": { |
| 133 |
"default": 2000, |
| 134 |
"counter": 2000, |
| 135 |
"gauge": 2000, |
| 136 |
"histogram": 2000, |
| 137 |
"observable_counter": 2000, |
| 138 |
"observable_gauge": 2000, |
| 139 |
"observable_up_down_counter": 2000, |
| 140 |
"up_down_counter": 2000 |
| 141 |
} |
| 142 |
} |
| 143 |
}, |
| 144 |
{ |
| 145 |
"periodic": { |
| 146 |
"interval": 60000, |
| 147 |
"timeout": 30000, |
| 148 |
"exporter": { |
| 149 |
"otlp_http": { |
| 150 |
"endpoint": "http://localhost:4318/v1/metrics", |
| 151 |
"tls": { |
| 152 |
"ca_file": "testdata/ca.crt", |
| 153 |
"key_file": "testdata/client.key", |
| 154 |
"cert_file": "testdata/client.crt" |
| 155 |
}, |
| 156 |
"headers": [ |
| 157 |
{ |
| 158 |
"name": "api-key", |
| 159 |
"value": "1234" |
| 160 |
} |
| 161 |
], |
| 162 |
"headers_list": "api-key=1234", |
| 163 |
"compression": "gzip", |
| 164 |
"timeout": 10000, |
| 165 |
"encoding": "protobuf", |
| 166 |
"temporality_preference": "delta", |
| 167 |
"default_histogram_aggregation": "base2_exponential_bucket_histogram" |
| 168 |
} |
| 169 |
}, |
| 170 |
"producers": [ |
| 171 |
{ |
| 172 |
"prometheus": null |
| 173 |
} |
| 174 |
], |
| 175 |
"cardinality_limits": { |
| 176 |
"default": 2000, |
| 177 |
"counter": 2000, |
| 178 |
"gauge": 2000, |
| 179 |
"histogram": 2000, |
| 180 |
"observable_counter": 2000, |
| 181 |
"observable_gauge": 2000, |
| 182 |
"observable_up_down_counter": 2000, |
| 183 |
"up_down_counter": 2000 |
| 184 |
} |
| 185 |
} |
| 186 |
}, |
| 187 |
{ |
| 188 |
"periodic": { |
| 189 |
"exporter": { |
| 190 |
"otlp_grpc": { |
| 191 |
"endpoint": "http://localhost:4317", |
| 192 |
"tls": { |
| 193 |
"ca_file": "testdata/ca.crt", |
| 194 |
"key_file": "testdata/client.key", |
| 195 |
"cert_file": "testdata/client.crt", |
| 196 |
"insecure": false |
| 197 |
}, |
| 198 |
"headers": [ |
| 199 |
{ |
| 200 |
"name": "api-key", |
| 201 |
"value": "1234" |
| 202 |
} |
| 203 |
], |
| 204 |
"headers_list": "api-key=1234", |
| 205 |
"compression": "gzip", |
| 206 |
"timeout": 10000, |
| 207 |
"temporality_preference": "delta", |
| 208 |
"default_histogram_aggregation": "base2_exponential_bucket_histogram" |
| 209 |
} |
| 210 |
} |
| 211 |
} |
| 212 |
}, |
| 213 |
{ |
| 214 |
"periodic": { |
| 215 |
"exporter": { |
| 216 |
"otlp_file/development": { |
| 217 |
"output_stream": "file:///var/log/metrics.jsonl", |
| 218 |
"temporality_preference": "delta", |
| 219 |
"default_histogram_aggregation": "base2_exponential_bucket_histogram" |
| 220 |
} |
| 221 |
} |
| 222 |
} |
| 223 |
}, |
| 224 |
{ |
| 225 |
"periodic": { |
| 226 |
"exporter": { |
| 227 |
"otlp_file/development": { |
| 228 |
"output_stream": "stdout", |
| 229 |
"temporality_preference": "delta", |
| 230 |
"default_histogram_aggregation": "base2_exponential_bucket_histogram" |
| 231 |
} |
| 232 |
} |
| 233 |
} |
| 234 |
}, |
| 235 |
{ |
| 236 |
"periodic": { |
| 237 |
"exporter": { |
| 238 |
"console": null |
| 239 |
} |
| 240 |
} |
| 241 |
} |
| 242 |
], |
| 243 |
"views": [ |
| 244 |
{ |
| 245 |
"selector": { |
| 246 |
"instrument_name": "my-instrument", |
| 247 |
"instrument_type": "histogram", |
| 248 |
"unit": "ms", |
| 249 |
"meter_name": "my-meter", |
| 250 |
"meter_version": "1.0.0", |
| 251 |
"meter_schema_url": "https://opentelemetry.io/schemas/1.16.0" |
| 252 |
}, |
| 253 |
"stream": { |
| 254 |
"name": "new_instrument_name", |
| 255 |
"description": "new_description", |
| 256 |
"aggregation": { |
| 257 |
"explicit_bucket_histogram": { |
| 258 |
"boundaries": [ |
| 259 |
0, |
| 260 |
5, |
| 261 |
10, |
| 262 |
25, |
| 263 |
50, |
| 264 |
75, |
| 265 |
100, |
| 266 |
250, |
| 267 |
500, |
| 268 |
750, |
| 269 |
1000, |
| 270 |
2500, |
| 271 |
5000, |
| 272 |
7500, |
| 273 |
10000 |
| 274 |
], |
| 275 |
"record_min_max": true |
| 276 |
} |
| 277 |
}, |
| 278 |
"aggregation_cardinality_limit": 2000, |
| 279 |
"attribute_keys": { |
| 280 |
"included": [ |
| 281 |
"key1", |
| 282 |
"key2" |
| 283 |
], |
| 284 |
"excluded": [ |
| 285 |
"key3" |
| 286 |
] |
| 287 |
} |
| 288 |
} |
| 289 |
} |
| 290 |
], |
| 291 |
"exemplar_filter": "trace_based", |
| 292 |
"meter_configurator/development": { |
| 293 |
"default_config": { |
| 294 |
"disabled": true |
| 295 |
}, |
| 296 |
"meters": [ |
| 297 |
{ |
| 298 |
"name": "io.opentelemetry.contrib.*", |
| 299 |
"config": { |
| 300 |
"disabled": false |
| 301 |
} |
| 302 |
} |
| 303 |
] |
| 304 |
} |
| 305 |
}, |
| 306 |
"propagator": { |
| 307 |
"composite": [ |
| 308 |
{ |
| 309 |
"tracecontext": null |
| 310 |
}, |
| 311 |
{ |
| 312 |
"baggage": null |
| 313 |
}, |
| 314 |
{ |
| 315 |
"b3": null |
| 316 |
}, |
| 317 |
{ |
| 318 |
"b3multi": null |
| 319 |
}, |
| 320 |
{ |
| 321 |
"jaeger": null |
| 322 |
}, |
| 323 |
{ |
| 324 |
"ottrace": null |
| 325 |
} |
| 326 |
], |
| 327 |
"composite_list": "tracecontext,baggage,b3,b3multi,jaeger,ottrace,xray" |
| 328 |
}, |
| 329 |
"tracer_provider": { |
| 330 |
"processors": [ |
| 331 |
{ |
| 332 |
"batch": { |
| 333 |
"schedule_delay": 5000, |
| 334 |
"export_timeout": 30000, |
| 335 |
"max_queue_size": 2048, |
| 336 |
"max_export_batch_size": 512, |
| 337 |
"exporter": { |
| 338 |
"otlp_http": { |
| 339 |
"endpoint": "http://localhost:4318/v1/traces", |
| 340 |
"tls": { |
| 341 |
"ca_file": "testdata/ca.crt", |
| 342 |
"key_file": "testdata/client.key", |
| 343 |
"cert_file": "testdata/client.crt" |
| 344 |
}, |
| 345 |
"headers": [ |
| 346 |
{ |
| 347 |
"name": "api-key", |
| 348 |
"value": "1234" |
| 349 |
} |
| 350 |
], |
| 351 |
"headers_list": "api-key=1234", |
| 352 |
"compression": "gzip", |
| 353 |
"timeout": 10000, |
| 354 |
"encoding": "protobuf" |
| 355 |
} |
| 356 |
} |
| 357 |
} |
| 358 |
}, |
| 359 |
{ |
| 360 |
"batch": { |
| 361 |
"exporter": { |
| 362 |
"otlp_grpc": { |
| 363 |
"endpoint": "http://localhost:4317", |
| 364 |
"tls": { |
| 365 |
"ca_file": "testdata/ca.crt", |
| 366 |
"key_file": "testdata/client.key", |
| 367 |
"cert_file": "testdata/client.crt", |
| 368 |
"insecure": false |
| 369 |
}, |
| 370 |
"headers": [ |
| 371 |
{ |
| 372 |
"name": "api-key", |
| 373 |
"value": "1234" |
| 374 |
} |
| 375 |
], |
| 376 |
"headers_list": "api-key=1234", |
| 377 |
"compression": "gzip", |
| 378 |
"timeout": 10000 |
| 379 |
} |
| 380 |
} |
| 381 |
} |
| 382 |
}, |
| 383 |
{ |
| 384 |
"batch": { |
| 385 |
"exporter": { |
| 386 |
"otlp_file/development": { |
| 387 |
"output_stream": "file:///var/log/traces.jsonl" |
| 388 |
} |
| 389 |
} |
| 390 |
} |
| 391 |
}, |
| 392 |
{ |
| 393 |
"batch": { |
| 394 |
"exporter": { |
| 395 |
"otlp_file/development": { |
| 396 |
"output_stream": "stdout" |
| 397 |
} |
| 398 |
} |
| 399 |
} |
| 400 |
}, |
| 401 |
{ |
| 402 |
"simple": { |
| 403 |
"exporter": { |
| 404 |
"console": null |
| 405 |
} |
| 406 |
} |
| 407 |
} |
| 408 |
], |
| 409 |
"limits": { |
| 410 |
"attribute_value_length_limit": 4096, |
| 411 |
"attribute_count_limit": 128, |
| 412 |
"event_count_limit": 128, |
| 413 |
"link_count_limit": 128, |
| 414 |
"event_attribute_count_limit": 128, |
| 415 |
"link_attribute_count_limit": 128 |
| 416 |
}, |
| 417 |
"sampler": { |
| 418 |
"parent_based": { |
| 419 |
"root": { |
| 420 |
"trace_id_ratio_based": { |
| 421 |
"ratio": 0.0001 |
| 422 |
} |
| 423 |
}, |
| 424 |
"remote_parent_sampled": { |
| 425 |
"always_on": null |
| 426 |
}, |
| 427 |
"remote_parent_not_sampled": { |
| 428 |
"always_off": null |
| 429 |
}, |
| 430 |
"local_parent_sampled": { |
| 431 |
"always_on": null |
| 432 |
}, |
| 433 |
"local_parent_not_sampled": { |
| 434 |
"always_off": null |
| 435 |
} |
| 436 |
} |
| 437 |
}, |
| 438 |
"tracer_configurator/development": { |
| 439 |
"default_config": { |
| 440 |
"disabled": true |
| 441 |
}, |
| 442 |
"tracers": [ |
| 443 |
{ |
| 444 |
"name": "io.opentelemetry.contrib.*", |
| 445 |
"config": { |
| 446 |
"disabled": false |
| 447 |
} |
| 448 |
} |
| 449 |
] |
| 450 |
} |
| 451 |
}, |
| 452 |
"resource": { |
| 453 |
"attributes": [ |
| 454 |
{ |
| 455 |
"name": "service.name", |
| 456 |
"value": "unknown_service" |
| 457 |
}, |
| 458 |
{ |
| 459 |
"name": "string_key", |
| 460 |
"value": "value", |
| 461 |
"type": "string" |
| 462 |
}, |
| 463 |
{ |
| 464 |
"name": "bool_key", |
| 465 |
"value": true, |
| 466 |
"type": "bool" |
| 467 |
}, |
| 468 |
{ |
| 469 |
"name": "int_key", |
| 470 |
"value": 1, |
| 471 |
"type": "int" |
| 472 |
}, |
| 473 |
{ |
| 474 |
"name": "double_key", |
| 475 |
"value": 1.1, |
| 476 |
"type": "double" |
| 477 |
}, |
| 478 |
{ |
| 479 |
"name": "string_array_key", |
| 480 |
"value": [ |
| 481 |
"value1", |
| 482 |
"value2" |
| 483 |
], |
| 484 |
"type": "string_array" |
| 485 |
}, |
| 486 |
{ |
| 487 |
"name": "bool_array_key", |
| 488 |
"value": [ |
| 489 |
true, |
| 490 |
false |
| 491 |
], |
| 492 |
"type": "bool_array" |
| 493 |
}, |
| 494 |
{ |
| 495 |
"name": "int_array_key", |
| 496 |
"value": [ |
| 497 |
1, |
| 498 |
2 |
| 499 |
], |
| 500 |
"type": "int_array" |
| 501 |
}, |
| 502 |
{ |
| 503 |
"name": "double_array_key", |
| 504 |
"value": [ |
| 505 |
1.1, |
| 506 |
2.2 |
| 507 |
], |
| 508 |
"type": "double_array" |
| 509 |
} |
| 510 |
], |
| 511 |
"attributes_list": "service.namespace=my-namespace,service.version=1.0.0", |
| 512 |
"detection/development": { |
| 513 |
"attributes": { |
| 514 |
"included": [ |
| 515 |
"process.*" |
| 516 |
], |
| 517 |
"excluded": [ |
| 518 |
"process.command_args" |
| 519 |
] |
| 520 |
}, |
| 521 |
"detectors": [ |
| 522 |
{"container": null}, |
| 523 |
{"host": null}, |
| 524 |
{"process": null}, |
| 525 |
{"service": null} |
| 526 |
] |
| 527 |
} |
| 528 |
}, |
| 529 |
"instrumentation/development": { |
| 530 |
"general": { |
| 531 |
"peer": { |
| 532 |
"service_mapping": [ |
| 533 |
{ |
| 534 |
"peer": "1.2.3.4", |
| 535 |
"service": "FooService" |
| 536 |
}, |
| 537 |
{ |
| 538 |
"peer": "2.3.4.5", |
| 539 |
"service": "BarService" |
| 540 |
} |
| 541 |
] |
| 542 |
}, |
| 543 |
"http": { |
| 544 |
"client": { |
| 545 |
"request_captured_headers": [ |
| 546 |
"Content-Type", |
| 547 |
"Accept" |
| 548 |
], |
| 549 |
"response_captured_headers": [ |
| 550 |
"Content-Type", |
| 551 |
"Content-Encoding" |
| 552 |
] |
| 553 |
}, |
| 554 |
"server": { |
| 555 |
"request_captured_headers": [ |
| 556 |
"Content-Type", |
| 557 |
"Accept" |
| 558 |
], |
| 559 |
"response_captured_headers": [ |
| 560 |
"Content-Type", |
| 561 |
"Content-Encoding" |
| 562 |
] |
| 563 |
} |
| 564 |
} |
| 565 |
}, |
| 566 |
"cpp": { |
| 567 |
"example": { |
| 568 |
"property": "value" |
| 569 |
} |
| 570 |
}, |
| 571 |
"dotnet": { |
| 572 |
"example": { |
| 573 |
"property": "value" |
| 574 |
} |
| 575 |
}, |
| 576 |
"erlang": { |
| 577 |
"example": { |
| 578 |
"property": "value" |
| 579 |
} |
| 580 |
}, |
| 581 |
"go": { |
| 582 |
"example": { |
| 583 |
"property": "value" |
| 584 |
} |
| 585 |
}, |
| 586 |
"java": { |
| 587 |
"example": { |
| 588 |
"property": "value" |
| 589 |
} |
| 590 |
}, |
| 591 |
"js": { |
| 592 |
"example": { |
| 593 |
"property": "value" |
| 594 |
} |
| 595 |
}, |
| 596 |
"php": { |
| 597 |
"example": { |
| 598 |
"property": "value" |
| 599 |
} |
| 600 |
}, |
| 601 |
"python": { |
| 602 |
"example": { |
| 603 |
"property": "value" |
| 604 |
} |
| 605 |
}, |
| 606 |
"ruby": { |
| 607 |
"example": { |
| 608 |
"property": "value" |
| 609 |
} |
| 610 |
}, |
| 611 |
"rust": { |
| 612 |
"example": { |
| 613 |
"property": "value" |
| 614 |
} |
| 615 |
}, |
| 616 |
"swift": { |
| 617 |
"example": { |
| 618 |
"property": "value" |
| 619 |
} |
| 620 |
} |
| 621 |
} |
| 622 |
} |