forked from open-telemetry/opentelemetry-configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopentelemetry_configuration.json
More file actions
2501 lines (2501 loc) · 100 KB
/
opentelemetry_configuration.json
File metadata and controls
2501 lines (2501 loc) · 100 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "OpenTelemetryConfiguration",
"type": "object",
"additionalProperties": true,
"properties": {
"file_format": {
"type": "string",
"description": "The file format version.\nRepresented as a string including the semver major, minor version numbers (and optionally the meta tag). For example: \"0.4\", \"1.0-rc.2\", \"1.0\" (after stable release).\nSee https://github.com/open-telemetry/opentelemetry-configuration/blob/main/VERSIONING.md for more details.\nThe yaml format is documented at https://github.com/open-telemetry/opentelemetry-configuration/tree/main/schema\nProperty is required and must be non-null.\n"
},
"disabled": {
"type": [
"boolean",
"null"
],
"description": "Configure if the SDK is disabled or not.\nIf omitted or null, false is used.\n"
},
"log_level": {
"$ref": "#/$defs/SeverityNumber",
"description": "Configure the log level of the internal logger used by the SDK.\nValues include:\n* debug: debug, severity number 5.\n* debug2: debug2, severity number 6.\n* debug3: debug3, severity number 7.\n* debug4: debug4, severity number 8.\n* error: error, severity number 17.\n* error2: error2, severity number 18.\n* error3: error3, severity number 19.\n* error4: error4, severity number 20.\n* fatal: fatal, severity number 21.\n* fatal2: fatal2, severity number 22.\n* fatal3: fatal3, severity number 23.\n* fatal4: fatal4, severity number 24.\n* info: info, severity number 9.\n* info2: info2, severity number 10.\n* info3: info3, severity number 11.\n* info4: info4, severity number 12.\n* trace: trace, severity number 1.\n* trace2: trace2, severity number 2.\n* trace3: trace3, severity number 3.\n* trace4: trace4, severity number 4.\n* warn: warn, severity number 13.\n* warn2: warn2, severity number 14.\n* warn3: warn3, severity number 15.\n* warn4: warn4, severity number 16.\nIf omitted, INFO is used.\n"
},
"attribute_limits": {
"$ref": "#/$defs/AttributeLimits",
"description": "Configure general attribute limits. See also tracer_provider.limits, logger_provider.limits.\nIf omitted, default values as described in AttributeLimits are used.\n"
},
"logger_provider": {
"$ref": "#/$defs/LoggerProvider",
"description": "Configure logger provider.\nIf omitted, a noop logger provider is used.\n"
},
"meter_provider": {
"$ref": "#/$defs/MeterProvider",
"description": "Configure meter provider.\nIf omitted, a noop meter provider is used.\n"
},
"propagator": {
"$ref": "#/$defs/Propagator",
"description": "Configure text map context propagators.\nIf omitted, a noop propagator is used.\n"
},
"tracer_provider": {
"$ref": "#/$defs/TracerProvider",
"description": "Configure tracer provider.\nIf omitted, a noop tracer provider is used.\n"
},
"resource": {
"$ref": "#/$defs/Resource",
"description": "Configure resource for all signals.\nIf omitted, the default resource is used.\n"
},
"instrumentation/development": {
"$ref": "#/$defs/ExperimentalInstrumentation",
"description": "Configure instrumentation.\nIf omitted, instrumentation defaults are used.\n"
},
"distribution": {
"$ref": "#/$defs/Distribution",
"description": "Defines configuration parameters specific to a particular OpenTelemetry distribution or vendor.\nThis section provides a standardized location for distribution-specific settings\nthat are not part of the OpenTelemetry configuration model.\nIt allows vendors to expose their own extensions and general configuration options.\nIf omitted, distribution defaults are used.\n"
}
},
"required": [
"file_format"
],
"$defs": {
"Aggregation": {
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"maxProperties": 1,
"properties": {
"default": {
"$ref": "#/$defs/DefaultAggregation",
"description": "Configures the stream to use the instrument kind to select an aggregation and advisory parameters to influence aggregation configuration parameters. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#default-aggregation for details.\nIf omitted, ignore.\n"
},
"drop": {
"$ref": "#/$defs/DropAggregation",
"description": "Configures the stream to ignore/drop all instrument measurements. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#drop-aggregation for details.\nIf omitted, ignore.\n"
},
"explicit_bucket_histogram": {
"$ref": "#/$defs/ExplicitBucketHistogramAggregation",
"description": "Configures the stream to collect data for the histogram metric point using a set of explicit boundary values for histogram bucketing. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#explicit-bucket-histogram-aggregation for details\nIf omitted, ignore.\n"
},
"base2_exponential_bucket_histogram": {
"$ref": "#/$defs/Base2ExponentialBucketHistogramAggregation",
"description": "Configures the stream to collect data for the exponential histogram metric point, which uses a base-2 exponential formula to determine bucket boundaries and an integer scale parameter to control resolution. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#base2-exponential-bucket-histogram-aggregation for details.\nIf omitted, ignore.\n"
},
"last_value": {
"$ref": "#/$defs/LastValueAggregation",
"description": "Configures the stream to collect data using the last measurement. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#last-value-aggregation for details.\nIf omitted, ignore.\n"
},
"sum": {
"$ref": "#/$defs/SumAggregation",
"description": "Configures the stream to collect the arithmetic sum of measurement values. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#sum-aggregation for details.\nIf omitted, ignore.\n"
}
}
},
"AlwaysOffSampler": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"AlwaysOnSampler": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"AttributeLimits": {
"type": "object",
"additionalProperties": false,
"properties": {
"attribute_value_length_limit": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Configure max attribute value size. \nValue must be non-negative.\nIf omitted or null, there is no limit.\n"
},
"attribute_count_limit": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Configure max attribute count. \nValue must be non-negative.\nIf omitted or null, 128 is used.\n"
}
}
},
"AttributeNameValue": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The attribute name.\nProperty is required and must be non-null.\n"
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
},
{
"type": "array",
"items": {
"type": "boolean"
},
"minItems": 1
},
{
"type": "array",
"items": {
"type": "number"
},
"minItems": 1
}
],
"description": "The attribute value.\nThe type of value must match .type.\nProperty is required and must be non-null.\n"
},
"type": {
"$ref": "#/$defs/AttributeType",
"description": "The attribute type.\nValues include:\n* bool: Boolean attribute value.\n* bool_array: Boolean array attribute value.\n* double: Double attribute value.\n* double_array: Double array attribute value.\n* int: Integer attribute value.\n* int_array: Integer array attribute value.\n* string: String attribute value.\n* string_array: String array attribute value.\nIf omitted, string is used.\n"
}
},
"required": [
"name",
"value"
]
},
"AttributeType": {
"type": [
"string",
"null"
],
"enum": [
"string",
"bool",
"int",
"double",
"string_array",
"bool_array",
"int_array",
"double_array"
]
},
"B3MultiPropagator": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"B3Propagator": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"BaggagePropagator": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"Base2ExponentialBucketHistogramAggregation": {
"type": [
"object",
"null"
],
"additionalProperties": false,
"properties": {
"max_scale": {
"type": [
"integer",
"null"
],
"minimum": -10,
"maximum": 20,
"description": "Configure the max scale factor.\nIf omitted or null, 20 is used.\n"
},
"max_size": {
"type": [
"integer",
"null"
],
"minimum": 2,
"description": "Configure the maximum number of buckets in each of the positive and negative ranges, not counting the special zero bucket.\nIf omitted or null, 160 is used.\n"
},
"record_min_max": {
"type": [
"boolean",
"null"
],
"description": "Configure whether or not to record min and max.\nIf omitted or null, true is used.\n"
}
}
},
"BatchLogRecordProcessor": {
"type": "object",
"additionalProperties": false,
"properties": {
"schedule_delay": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Configure delay interval (in milliseconds) between two consecutive exports. \nValue must be non-negative.\nIf omitted or null, 1000 is used.\n"
},
"export_timeout": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Configure maximum allowed time (in milliseconds) to export data. \nValue must be non-negative. A value of 0 indicates no limit (infinity).\nIf omitted or null, 30000 is used.\n"
},
"max_queue_size": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure maximum queue size. Value must be positive.\nIf omitted or null, 2048 is used.\n"
},
"max_export_batch_size": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure maximum batch size. Value must be positive.\nIf omitted or null, 512 is used.\n"
},
"exporter": {
"$ref": "#/$defs/LogRecordExporter",
"description": "Configure exporter.\nProperty is required and must be non-null.\n"
}
},
"required": [
"exporter"
]
},
"BatchSpanProcessor": {
"type": "object",
"additionalProperties": false,
"properties": {
"schedule_delay": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Configure delay interval (in milliseconds) between two consecutive exports. \nValue must be non-negative.\nIf omitted or null, 5000 is used.\n"
},
"export_timeout": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Configure maximum allowed time (in milliseconds) to export data. \nValue must be non-negative. A value of 0 indicates no limit (infinity).\nIf omitted or null, 30000 is used.\n"
},
"max_queue_size": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure maximum queue size. Value must be positive.\nIf omitted or null, 2048 is used.\n"
},
"max_export_batch_size": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure maximum batch size. Value must be positive.\nIf omitted or null, 512 is used.\n"
},
"exporter": {
"$ref": "#/$defs/SpanExporter",
"description": "Configure exporter.\nProperty is required and must be non-null.\n"
}
},
"required": [
"exporter"
]
},
"CardinalityLimits": {
"type": "object",
"additionalProperties": false,
"properties": {
"default": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure default cardinality limit for all instrument types.\nInstrument-specific cardinality limits take priority.\nIf omitted or null, 2000 is used.\n"
},
"counter": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure default cardinality limit for counter instruments.\nIf omitted or null, the value from .default is used.\n"
},
"gauge": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure default cardinality limit for gauge instruments.\nIf omitted or null, the value from .default is used.\n"
},
"histogram": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure default cardinality limit for histogram instruments.\nIf omitted or null, the value from .default is used.\n"
},
"observable_counter": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure default cardinality limit for observable_counter instruments.\nIf omitted or null, the value from .default is used.\n"
},
"observable_gauge": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure default cardinality limit for observable_gauge instruments.\nIf omitted or null, the value from .default is used.\n"
},
"observable_up_down_counter": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure default cardinality limit for observable_up_down_counter instruments.\nIf omitted or null, the value from .default is used.\n"
},
"up_down_counter": {
"type": [
"integer",
"null"
],
"exclusiveMinimum": 0,
"description": "Configure default cardinality limit for up_down_counter instruments.\nIf omitted or null, the value from .default is used.\n"
}
}
},
"ConsoleExporter": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"ConsoleMetricExporter": {
"type": [
"object",
"null"
],
"additionalProperties": false,
"properties": {
"temporality_preference": {
"$ref": "#/$defs/ExporterTemporalityPreference",
"description": "Configure temporality preference.\nValues include:\n* cumulative: Use cumulative aggregation temporality for all instrument types.\n* delta: Use delta aggregation for all instrument types except up down counter and asynchronous up down counter.\n* low_memory: Use delta aggregation temporality for counter and histogram instrument types. Use cumulative aggregation temporality for all other instrument types.\nIf omitted, cumulative is used.\n"
},
"default_histogram_aggregation": {
"$ref": "#/$defs/ExporterDefaultHistogramAggregation",
"description": "Configure default histogram aggregation.\nValues include:\n* base2_exponential_bucket_histogram: Use base2 exponential histogram as the default aggregation for histogram instruments.\n* explicit_bucket_histogram: Use explicit bucket histogram as the default aggregation for histogram instruments.\nIf omitted, explicit_bucket_histogram is used.\n"
}
}
},
"DefaultAggregation": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"Distribution": {
"type": "object",
"additionalProperties": {
"type": "object"
},
"minProperties": 1
},
"DropAggregation": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"ExemplarFilter": {
"type": [
"string",
"null"
],
"enum": [
"always_on",
"always_off",
"trace_based"
]
},
"ExperimentalCodeInstrumentation": {
"type": "object",
"additionalProperties": false,
"properties": {
"semconv": {
"$ref": "#/$defs/ExperimentalSemconvConfig",
"description": "Configure code semantic convention version and migration behavior.\n\nThis property takes precedence over the .instrumentation/development.general.stability_opt_in_list setting.\n\nSee code semantic conventions: https://opentelemetry.io/docs/specs/semconv/registry/attributes/code/\nIf omitted, uses the general stability_opt_in_list setting, or instrumentations continue emitting their default semantic convention version if not set.\n"
}
}
},
"ExperimentalComposableAlwaysOffSampler": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"ExperimentalComposableAlwaysOnSampler": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"ExperimentalComposableParentThresholdSampler": {
"type": [
"object"
],
"additionalProperties": false,
"properties": {
"root": {
"$ref": "#/$defs/ExperimentalComposableSampler",
"description": "Sampler to use when there is no parent.\nProperty is required and must be non-null.\n"
}
},
"required": [
"root"
]
},
"ExperimentalComposableProbabilitySampler": {
"type": [
"object",
"null"
],
"additionalProperties": false,
"properties": {
"ratio": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 1,
"description": "Configure ratio.\nIf omitted or null, 1.0 is used.\n"
}
}
},
"ExperimentalComposableRuleBasedSampler": {
"type": [
"object",
"null"
],
"additionalProperties": false,
"properties": {
"rules": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/ExperimentalComposableRuleBasedSamplerRule"
},
"description": "The rules for the sampler, matched in order.\nEach rule can have multiple match conditions. All conditions must match for the rule to match.\nIf no conditions are specified, the rule matches all spans that reach it.\nIf no rules match, the span is not sampled.\nIf omitted, no span is sampled.\n"
}
}
},
"ExperimentalComposableRuleBasedSamplerRule": {
"type": "object",
"description": "A rule for ExperimentalComposableRuleBasedSampler. A rule can have multiple match conditions - the sampler will be applied if all match. \nIf no conditions are specified, the rule matches all spans that reach it.\n",
"additionalProperties": false,
"properties": {
"attribute_values": {
"$ref": "#/$defs/ExperimentalComposableRuleBasedSamplerRuleAttributeValues",
"description": "Values to match against a single attribute. Non-string attributes are matched using their string representation:\nfor example, a value of \"404\" would match the http.response.status_code 404. For array attributes, if any\nitem matches, it is considered a match.\nIf omitted, ignore.\n"
},
"attribute_patterns": {
"$ref": "#/$defs/ExperimentalComposableRuleBasedSamplerRuleAttributePatterns",
"description": "Patterns to match against a single attribute. Non-string attributes are matched using their string representation:\nfor example, a pattern of \"4*\" would match any http.response.status_code in 400-499. For array attributes, if any\nitem matches, it is considered a match.\nIf omitted, ignore.\n"
},
"span_kinds": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/SpanKind"
},
"description": "The span kinds to match. If the span's kind matches any of these, it matches.\nValues include:\n* client: client, a client span.\n* consumer: consumer, a consumer span.\n* internal: internal, an internal span.\n* producer: producer, a producer span.\n* server: server, a server span.\nIf omitted, ignore.\n"
},
"parent": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/ExperimentalSpanParent"
},
"description": "The parent span types to match.\nValues include:\n* local: local, a local parent.\n* none: none, no parent, i.e., the trace root.\n* remote: remote, a remote parent.\nIf omitted, ignore.\n"
},
"sampler": {
"$ref": "#/$defs/ExperimentalComposableSampler",
"description": "The sampler to use for matching spans.\nProperty is required and must be non-null.\n"
}
},
"required": [
"sampler"
]
},
"ExperimentalComposableRuleBasedSamplerRuleAttributePatterns": {
"type": "object",
"additionalProperties": false,
"properties": {
"key": {
"type": "string",
"description": "The attribute key to match against.\nProperty is required and must be non-null.\n"
},
"included": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
},
"description": "Configure list of value patterns to include.\nValues are evaluated to match as follows:\n * If the value exactly matches.\n * If the value matches the wildcard pattern, where '?' matches any single character and '*' matches any number of characters including none.\nIf omitted, all values are included.\n"
},
"excluded": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
},
"description": "Configure list of value patterns to exclude. Applies after .included (i.e. excluded has higher priority than included).\nValues are evaluated to match as follows:\n * If the value exactly matches.\n * If the value matches the wildcard pattern, where '?' matches any single character and '*' matches any number of characters including none.\nIf omitted, .included attributes are included.\n"
}
},
"required": [
"key"
]
},
"ExperimentalComposableRuleBasedSamplerRuleAttributeValues": {
"type": "object",
"additionalProperties": false,
"properties": {
"key": {
"type": "string",
"description": "The attribute key to match against.\nProperty is required and must be non-null.\n"
},
"values": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
},
"description": "The attribute values to match against. If the attribute's value matches any of these, it matches.\nProperty is required and must be non-null.\n"
}
},
"required": [
"key",
"values"
]
},
"ExperimentalComposableSampler": {
"type": "object",
"additionalProperties": {
"type": [
"object",
"null"
]
},
"minProperties": 1,
"maxProperties": 1,
"properties": {
"always_off": {
"$ref": "#/$defs/ExperimentalComposableAlwaysOffSampler",
"description": "Configure sampler to be always_off.\nIf omitted, ignore.\n"
},
"always_on": {
"$ref": "#/$defs/ExperimentalComposableAlwaysOnSampler",
"description": "Configure sampler to be always_on.\nIf omitted, ignore.\n"
},
"parent_threshold": {
"$ref": "#/$defs/ExperimentalComposableParentThresholdSampler",
"description": "Configure sampler to be parent_threshold.\nIf omitted, ignore.\n"
},
"probability": {
"$ref": "#/$defs/ExperimentalComposableProbabilitySampler",
"description": "Configure sampler to be probability.\nIf omitted, ignore.\n"
},
"rule_based": {
"$ref": "#/$defs/ExperimentalComposableRuleBasedSampler",
"description": "Configure sampler to be rule_based.\nIf omitted, ignore.\n"
}
}
},
"ExperimentalContainerResourceDetector": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"ExperimentalDbInstrumentation": {
"type": "object",
"additionalProperties": false,
"properties": {
"semconv": {
"$ref": "#/$defs/ExperimentalSemconvConfig",
"description": "Configure database semantic convention version and migration behavior.\n\nThis property takes precedence over the .instrumentation/development.general.stability_opt_in_list setting.\n\nSee database migration: https://opentelemetry.io/docs/specs/semconv/database/\nIf omitted, uses the general stability_opt_in_list setting, or instrumentations continue emitting their default semantic convention version if not set.\n"
}
}
},
"ExperimentalGenAiInstrumentation": {
"type": "object",
"additionalProperties": false,
"properties": {
"semconv": {
"$ref": "#/$defs/ExperimentalSemconvConfig",
"description": "Configure GenAI semantic convention version and migration behavior.\n\nThis property takes precedence over the .instrumentation/development.general.stability_opt_in_list setting.\n\nSet .experimental to true to enable latest experimental mode.\n\nSee GenAI semantic conventions: https://opentelemetry.io/docs/specs/semconv/gen-ai/\nIf omitted, uses the general stability_opt_in_list setting, or instrumentations continue emitting their default semantic convention version if not set.\n"
}
}
},
"ExperimentalGeneralInstrumentation": {
"type": "object",
"additionalProperties": false,
"properties": {
"http": {
"$ref": "#/$defs/ExperimentalHttpInstrumentation",
"description": "Configure instrumentations following the http semantic conventions.\nSee http semantic conventions: https://opentelemetry.io/docs/specs/semconv/http/\nIf omitted, defaults as described in ExperimentalHttpInstrumentation are used.\n"
},
"code": {
"$ref": "#/$defs/ExperimentalCodeInstrumentation",
"description": "Configure instrumentations following the code semantic conventions.\nSee code semantic conventions: https://opentelemetry.io/docs/specs/semconv/registry/attributes/code/\nIf omitted, defaults as described in ExperimentalCodeInstrumentation are used.\n"
},
"db": {
"$ref": "#/$defs/ExperimentalDbInstrumentation",
"description": "Configure instrumentations following the database semantic conventions.\nSee database semantic conventions: https://opentelemetry.io/docs/specs/semconv/database/\nIf omitted, defaults as described in ExperimentalDbInstrumentation are used.\n"
},
"gen_ai": {
"$ref": "#/$defs/ExperimentalGenAiInstrumentation",
"description": "Configure instrumentations following the GenAI semantic conventions.\nSee GenAI semantic conventions: https://opentelemetry.io/docs/specs/semconv/gen-ai/\nIf omitted, defaults as described in ExperimentalGenAiInstrumentation are used.\n"
},
"messaging": {
"$ref": "#/$defs/ExperimentalMessagingInstrumentation",
"description": "Configure instrumentations following the messaging semantic conventions.\nSee messaging semantic conventions: https://opentelemetry.io/docs/specs/semconv/messaging/\nIf omitted, defaults as described in ExperimentalMessagingInstrumentation are used.\n"
},
"rpc": {
"$ref": "#/$defs/ExperimentalRpcInstrumentation",
"description": "Configure instrumentations following the RPC semantic conventions.\nSee RPC semantic conventions: https://opentelemetry.io/docs/specs/semconv/rpc/\nIf omitted, defaults as described in ExperimentalRpcInstrumentation are used.\n"
},
"stability_opt_in_list": {
"type": [
"string",
"null"
],
"description": "Configure semantic convention stability opt-in as a comma-separated list.\nThis property follows the format and semantics of the OTEL_SEMCONV_STABILITY_OPT_IN environment variable.\nControls the emission of stable vs. experimental semantic conventions for instrumentation.\nThis setting is only intended for migrating from experimental to stable semantic conventions.\n\nKnown values include:\n- http: Emit stable HTTP and networking conventions only\n- http/dup: Emit both old and stable HTTP and networking conventions (for phased migration)\n- database: Emit stable database conventions only\n- database/dup: Emit both old and stable database conventions (for phased migration)\n- rpc: Emit stable RPC conventions only\n- rpc/dup: Emit both experimental and stable RPC conventions (for phased migration)\n- messaging: Emit stable messaging conventions only\n- messaging/dup: Emit both old and stable messaging conventions (for phased migration)\n- code: Emit stable code conventions only\n- code/dup: Emit both old and stable code conventions (for phased migration)\n\nMultiple values can be specified as a comma-separated list (e.g., \"http,database/dup\").\nAdditional signal types may be supported in future versions.\n\nDomain-specific semconv properties (e.g., .instrumentation/development.general.db.semconv) take precedence over this general setting.\n\nSee:\n- HTTP migration: https://opentelemetry.io/docs/specs/semconv/non-normative/http-migration/\n- Database migration: https://opentelemetry.io/docs/specs/semconv/database/\n- RPC: https://opentelemetry.io/docs/specs/semconv/rpc/\n- Messaging: https://opentelemetry.io/docs/specs/semconv/messaging/messaging-spans/\nIf omitted or null, no opt-in is configured and instrumentations continue emitting their default semantic convention version.\n"
}
}
},
"ExperimentalHostResourceDetector": {
"type": [
"object",
"null"
],
"additionalProperties": false
},
"ExperimentalHttpClientInstrumentation": {
"type": "object",
"additionalProperties": false,
"properties": {
"request_captured_headers": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
},
"description": "Configure headers to capture for outbound http requests.\nIf omitted, no outbound request headers are captured.\n"
},
"response_captured_headers": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
},
"description": "Configure headers to capture for inbound http responses.\nIf omitted, no inbound response headers are captured.\n"
},
"known_methods": {
"type": "array",
"minItems": 0,
"items": {
"type": "string"
},
"description": "Override the default list of known HTTP methods.\nKnown methods are case-sensitive.\nThis is a full override of the default known methods, not a list of known methods in addition to the defaults.\nIf omitted, HTTP methods GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH are known.\n"
}
}
},
"ExperimentalHttpInstrumentation": {
"type": "object",
"additionalProperties": false,
"properties": {
"semconv": {
"$ref": "#/$defs/ExperimentalSemconvConfig",
"description": "Configure HTTP semantic convention version and migration behavior.\n\nThis property takes precedence over the .instrumentation/development.general.stability_opt_in_list setting.\n\nSee HTTP migration: https://opentelemetry.io/docs/specs/semconv/non-normative/http-migration/\nIf omitted, uses the general stability_opt_in_list setting, or instrumentations continue emitting their default semantic convention version if not set.\n"
},
"client": {
"$ref": "#/$defs/ExperimentalHttpClientInstrumentation",
"description": "Configure instrumentations following the http client semantic conventions.\nIf omitted, defaults as described in ExperimentalHttpClientInstrumentation are used.\n"
},
"server": {
"$ref": "#/$defs/ExperimentalHttpServerInstrumentation",
"description": "Configure instrumentations following the http server semantic conventions.\nIf omitted, defaults as described in ExperimentalHttpServerInstrumentation are used.\n"
}
}
},
"ExperimentalHttpServerInstrumentation": {
"type": "object",
"additionalProperties": false,
"properties": {
"request_captured_headers": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
},
"description": "Configure headers to capture for inbound http requests.\nIf omitted, no request headers are captured.\n"
},
"response_captured_headers": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
},
"description": "Configure headers to capture for outbound http responses.\nIf omitted, no response headers are captures.\n"
},
"known_methods": {
"type": "array",
"minItems": 0,
"items": {
"type": "string"
},
"description": "Override the default list of known HTTP methods.\nKnown methods are case-sensitive.\nThis is a full override of the default known methods, not a list of known methods in addition to the defaults.\nIf omitted, HTTP methods GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH are known.\n"
}
}
},
"ExperimentalInstrumentation": {
"type": "object",
"additionalProperties": false,
"properties": {
"general": {
"$ref": "#/$defs/ExperimentalGeneralInstrumentation",
"description": "Configure general SemConv options that may apply to multiple languages and instrumentations.\nInstrumenation may merge general config options with the language specific configuration at .instrumentation.<language>.\nIf omitted, default values as described in ExperimentalGeneralInstrumentation are used.\n"
},
"cpp": {
"$ref": "#/$defs/ExperimentalLanguageSpecificInstrumentation",
"description": "Configure C++ language-specific instrumentation libraries.\nIf omitted, instrumentation defaults are used.\n"
},
"dotnet": {
"$ref": "#/$defs/ExperimentalLanguageSpecificInstrumentation",
"description": "Configure .NET language-specific instrumentation libraries.\nEach entry's key identifies a particular instrumentation library. The corresponding value configures it.\nIf omitted, instrumentation defaults are used.\n"
},
"erlang": {
"$ref": "#/$defs/ExperimentalLanguageSpecificInstrumentation",
"description": "Configure Erlang language-specific instrumentation libraries.\nEach entry's key identifies a particular instrumentation library. The corresponding value configures it.\nIf omitted, instrumentation defaults are used.\n"
},
"go": {
"$ref": "#/$defs/ExperimentalLanguageSpecificInstrumentation",
"description": "Configure Go language-specific instrumentation libraries.\nEach entry's key identifies a particular instrumentation library. The corresponding value configures it.\nIf omitted, instrumentation defaults are used.\n"
},
"java": {
"$ref": "#/$defs/ExperimentalLanguageSpecificInstrumentation",
"description": "Configure Java language-specific instrumentation libraries.\nEach entry's key identifies a particular instrumentation library. The corresponding value configures it.\nIf omitted, instrumentation defaults are used.\n"
},
"js": {
"$ref": "#/$defs/ExperimentalLanguageSpecificInstrumentation",
"description": "Configure JavaScript language-specific instrumentation libraries.\nEach entry's key identifies a particular instrumentation library. The corresponding value configures it.\nIf omitted, instrumentation defaults are used.\n"
},
"php": {
"$ref": "#/$defs/ExperimentalLanguageSpecificInstrumentation",
"description": "Configure PHP language-specific instrumentation libraries.\nEach entry's key identifies a particular instrumentation library. The corresponding value configures it.\nIf omitted, instrumentation defaults are used.\n"
},
"python": {
"$ref": "#/$defs/ExperimentalLanguageSpecificInstrumentation",
"description": "Configure Python language-specific instrumentation libraries.\nEach entry's key identifies a particular instrumentation library. The corresponding value configures it.\nIf omitted, instrumentation defaults are used.\n"
},
"ruby": {
"$ref": "#/$defs/ExperimentalLanguageSpecificInstrumentation",
"description": "Configure Ruby language-specific instrumentation libraries.\nEach entry's key identifies a particular instrumentation library. The corresponding value configures it.\nIf omitted, instrumentation defaults are used.\n"
},
"rust": {
"$ref": "#/$defs/ExperimentalLanguageSpecificInstrumentation",
"description": "Configure Rust language-specific instrumentation libraries.\nEach entry's key identifies a particular instrumentation library. The corresponding value configures it.\nIf omitted, instrumentation defaults are used.\n"
},
"swift": {
"$ref": "#/$defs/ExperimentalLanguageSpecificInstrumentation",
"description": "Configure Swift language-specific instrumentation libraries.\nEach entry's key identifies a particular instrumentation library. The corresponding value configures it.\nIf omitted, instrumentation defaults are used.\n"
}
}
},
"ExperimentalJaegerRemoteSampler": {
"type": [
"object",
"null"
],
"additionalProperties": false,
"properties": {
"endpoint": {
"type": [
"string"
],
"description": "Configure the endpoint of the jaeger remote sampling service.\nProperty is required and must be non-null.\n"
},
"interval": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Configure the polling interval (in milliseconds) to fetch from the remote sampling service.\nIf omitted or null, 60000 is used.\n"
},
"initial_sampler": {
"$ref": "#/$defs/Sampler",
"description": "Configure the initial sampler used before first configuration is fetched.\nProperty is required and must be non-null.\n"
}
},
"required": [
"endpoint",
"initial_sampler"
]
},
"ExperimentalLanguageSpecificInstrumentation": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"ExperimentalLoggerConfig": {
"type": [
"object"
],
"additionalProperties": false,
"properties": {
"enabled": {
"type": [
"boolean",
"null"
],
"description": "Configure if the logger is enabled or not.\nIf omitted or null, true is used.\n"
},
"minimum_severity": {
"$ref": "#/$defs/SeverityNumber",
"description": "Configure severity filtering.\nLog records with an non-zero (i.e. unspecified) severity number which is less than minimum_severity are not processed.\nValues include:\n* debug: debug, severity number 5.\n* debug2: debug2, severity number 6.\n* debug3: debug3, severity number 7.\n* debug4: debug4, severity number 8.\n* error: error, severity number 17.\n* error2: error2, severity number 18.\n* error3: error3, severity number 19.\n* error4: error4, severity number 20.\n* fatal: fatal, severity number 21.\n* fatal2: fatal2, severity number 22.\n* fatal3: fatal3, severity number 23.\n* fatal4: fatal4, severity number 24.\n* info: info, severity number 9.\n* info2: info2, severity number 10.\n* info3: info3, severity number 11.\n* info4: info4, severity number 12.\n* trace: trace, severity number 1.\n* trace2: trace2, severity number 2.\n* trace3: trace3, severity number 3.\n* trace4: trace4, severity number 4.\n* warn: warn, severity number 13.\n* warn2: warn2, severity number 14.\n* warn3: warn3, severity number 15.\n* warn4: warn4, severity number 16.\nIf omitted, severity filtering is not applied.\n"
},
"trace_based": {
"type": [
"boolean",
"null"
],
"description": "Configure trace based filtering.\nIf true, log records associated with unsampled trace contexts traces are not processed. If false, or if a log record is not associated with a trace context, trace based filtering is not applied.\nIf omitted or null, trace based filtering is not applied.\n"
}
}
},
"ExperimentalLoggerConfigurator": {
"type": [
"object"
],
"additionalProperties": false,
"properties": {
"default_config": {
"$ref": "#/$defs/ExperimentalLoggerConfig",
"description": "Configure the default logger config used there is no matching entry in .logger_configurator/development.loggers.\nIf omitted, unmatched .loggers use default values as described in ExperimentalLoggerConfig.\n"
},
"loggers": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/ExperimentalLoggerMatcherAndConfig"
},
"description": "Configure loggers.\nIf omitted, all loggers use .default_config.\n"
}
}
},
"ExperimentalLoggerMatcherAndConfig": {
"type": [
"object"
],
"additionalProperties": false,
"properties": {
"name": {
"type": [
"string"
],
"description": "Configure logger names to match, evaluated as follows:\n\n * If the logger name exactly matches.\n * If the logger name matches the wildcard pattern, where '?' matches any single character and '*' matches any number of characters including none.\nProperty is required and must be non-null.\n"
},
"config": {
"$ref": "#/$defs/ExperimentalLoggerConfig",
"description": "The logger config.\nProperty is required and must be non-null.\n"
}
},
"required": [
"name",
"config"
]
},
"ExperimentalMessagingInstrumentation": {
"type": "object",
"additionalProperties": false,
"properties": {
"semconv": {
"$ref": "#/$defs/ExperimentalSemconvConfig",
"description": "Configure messaging semantic convention version and migration behavior.\n\nThis property takes precedence over the .instrumentation/development.general.stability_opt_in_list setting.\n\nSee messaging semantic conventions: https://opentelemetry.io/docs/specs/semconv/messaging/\nIf omitted, uses the general stability_opt_in_list setting, or instrumentations continue emitting their default semantic convention version if not set.\n"
}
}
},
"ExperimentalMeterConfig": {
"type": [
"object"
],
"additionalProperties": false,
"properties": {
"enabled": {
"type": [
"boolean"
],
"description": "Configure if the meter is enabled or not.\nIf omitted, true is used.\n"
}
}
},
"ExperimentalMeterConfigurator": {
"type": [
"object"
],