@@ -377,6 +377,16 @@ message NumberDataPoint {
377
377
// where this point belongs. The list may be empty (may contain 0 elements).
378
378
// Attribute keys MUST be unique (it is not allowed to have more than one
379
379
// attribute with the same key).
380
+ //
381
+ // The attribute values SHOULD NOT contain empty values.
382
+ // The attribute values SHOULD NOT contain bytes values.
383
+ // The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values,
384
+ // double values.
385
+ // The attribute values SHOULD NOT contain kvlist values.
386
+ // The behavior of software that receives attributes containing such values can be unpredictable.
387
+ // These restrictions can change in a minor release.
388
+ // The restrictions take origin from the OpenTelemetry specification:
389
+ // https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
380
390
repeated opentelemetry.proto.common.v1.KeyValue attributes = 7 ;
381
391
382
392
// StartTimeUnixNano is optional but strongly encouraged, see the
@@ -425,6 +435,16 @@ message HistogramDataPoint {
425
435
// where this point belongs. The list may be empty (may contain 0 elements).
426
436
// Attribute keys MUST be unique (it is not allowed to have more than one
427
437
// attribute with the same key).
438
+ //
439
+ // The attribute values SHOULD NOT contain empty values.
440
+ // The attribute values SHOULD NOT contain bytes values.
441
+ // The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values,
442
+ // double values.
443
+ // The attribute values SHOULD NOT contain kvlist values.
444
+ // The behavior of software that receives attributes containing such values can be unpredictable.
445
+ // These restrictions can change in a minor release.
446
+ // The restrictions take origin from the OpenTelemetry specification:
447
+ // https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
428
448
repeated opentelemetry.proto.common.v1.KeyValue attributes = 9 ;
429
449
430
450
// StartTimeUnixNano is optional but strongly encouraged, see the
@@ -509,6 +529,16 @@ message ExponentialHistogramDataPoint {
509
529
// where this point belongs. The list may be empty (may contain 0 elements).
510
530
// Attribute keys MUST be unique (it is not allowed to have more than one
511
531
// attribute with the same key).
532
+ //
533
+ // The attribute values SHOULD NOT contain empty values.
534
+ // The attribute values SHOULD NOT contain bytes values.
535
+ // The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values,
536
+ // double values.
537
+ // The attribute values SHOULD NOT contain kvlist values.
538
+ // The behavior of software that receives attributes containing such values can be unpredictable.
539
+ // These restrictions can change in a minor release.
540
+ // The restrictions take origin from the OpenTelemetry specification:
541
+ // https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
512
542
repeated opentelemetry.proto.common.v1.KeyValue attributes = 1 ;
513
543
514
544
// StartTimeUnixNano is optional but strongly encouraged, see the
@@ -625,6 +655,16 @@ message SummaryDataPoint {
625
655
// where this point belongs. The list may be empty (may contain 0 elements).
626
656
// Attribute keys MUST be unique (it is not allowed to have more than one
627
657
// attribute with the same key).
658
+ //
659
+ // The attribute values SHOULD NOT contain empty values.
660
+ // The attribute values SHOULD NOT contain bytes values.
661
+ // The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values,
662
+ // double values.
663
+ // The attribute values SHOULD NOT contain kvlist values.
664
+ // The behavior of software that receives attributes containing such values can be unpredictable.
665
+ // These restrictions can change in a minor release.
666
+ // The restrictions take origin from the OpenTelemetry specification:
667
+ // https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
628
668
repeated opentelemetry.proto.common.v1.KeyValue attributes = 7 ;
629
669
630
670
// StartTimeUnixNano is optional but strongly encouraged, see the
0 commit comments