Skip to content

Commit f5ecfbc

Browse files
committed
Update contrib/libs/opentelemetry-proto to 1.8.0
commit_hash:fc5b3ad51ccff670fbbee9055b6991f4d5d64de0
1 parent b828675 commit f5ecfbc

File tree

8 files changed

+247
-113
lines changed

8 files changed

+247
-113
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
self: super: with self; {
22
opentelemetry-proto = stdenv.mkDerivation rec {
33
name = "opentelemetry-proto";
4-
version = "1.7.0";
4+
version = "1.8.0";
55

66
src = fetchFromGitHub {
77
owner = "open-telemetry";
88
repo = "opentelemetry-proto";
99
rev = "v${version}";
10-
hash = "sha256-3SFf/7fStrglxcpwEya7hDp8Sr3wBG9OYyBoR78IUgs=";
10+
hash = "sha256-5rNJDMjRFIOY/3j+PkAujbippBmxtAudU9busK0q8p0=";
1111
};
1212
};
1313
}

contrib/libs/opentelemetry-proto/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,32 @@
44

55
The full list of changes can be found in the compare view for the respective release at <https://github.com/open-telemetry/opentelemetry-proto/releases>.
66

7+
## 1.8.0 - 2025-09-02
8+
9+
### Changed
10+
11+
- profiles: drop gzip requirement. [#661](https://github.com/open-telemetry/opentelemetry-proto/pull/661)
12+
- profiles: avoid `optional` keyword usage. [#659](https://github.com/open-telemetry/opentelemetry-proto/pull/659)
13+
- profiles: make `profile_id` optional. [#665](https://github.com/open-telemetry/opentelemetry-proto/pull/665)
14+
- profiles: use single `Profile.sample_type` and clarify use of timestamps. [#649](https://github.com/open-telemetry/opentelemetry-proto/pull/649)
15+
- all: add notes about the attribute values restrictions. [#683](https://github.com/open-telemetry/opentelemetry-proto/pull/683)<br>
16+
⚠️ **IMPORTANT**: These restrictions can be dropped in a future minor release.
17+
- profiles: clarify usage of the zero value as the first element of tables in `ProfilesDictionary`. [#688](https://github.com/open-telemetry/opentelemetry-proto/pull/688), [#698](https://github.com/open-telemetry/opentelemetry-proto/pull/698)
18+
- profiles: unsigned `time_nanos` and `duration_nanos` in `Profile`. [#692](https://github.com/open-telemetry/opentelemetry-proto/pull/692)
19+
- profiles: improve attribute encoding in `ProfilesDictionary`. [#672](https://github.com/open-telemetry/opentelemetry-proto/pull/672)
20+
- profiles: simplify profile stack trace representation. [#708](https://github.com/open-telemetry/opentelemetry-proto/pull/708)
21+
22+
### Fixed
23+
24+
- examples: fix OTLP JSON Event example body. [#666](https://github.com/open-telemetry/opentelemetry-proto/pull/666)
25+
- docs: minor specification fixes around `UNAVAILABLE` and `RetryInfo`. [#669](https://github.com/open-telemetry/opentelemetry-proto/pull/669)
26+
27+
### Removed
28+
29+
- profiles: remove `default_sample_type`. [#679](https://github.com/open-telemetry/opentelemetry-proto/pull/679)
30+
- profiles: remove `has_*` debug info fields, they are moving to attributes. [#595](https://github.com/open-telemetry/opentelemetry-proto/pull/595)
31+
- profiles: remove `Location.is_folded`. [#690](https://github.com/open-telemetry/opentelemetry-proto/pull/690)
32+
733
## 1.7.0 - 2025-05-19
834

935
### Added

contrib/libs/opentelemetry-proto/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,15 @@ Experiments which succeed, require a review before the field or the message is m
127127

128128
No guarantees are provided whatsoever about the stability of the code that
129129
is generated from the .proto files by any particular code generator.
130+
131+
## Maintainers
132+
133+
- [OpenTelemetry Technical Committee](https://github.com/open-telemetry/community/blob/main/community-members.md#technical-committee)
134+
135+
For more information about the maintainer role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#maintainer).
136+
137+
## Approvers
138+
139+
- [OpenTelemetry Specification Sponsors](https://github.com/open-telemetry/community/blob/main/community-members.md#specifications-and-proto)
140+
141+
For more information about the approver role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#approver).

contrib/libs/opentelemetry-proto/opentelemetry/proto/metrics/v1/metrics.proto

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,16 @@ message NumberDataPoint {
377377
// where this point belongs. The list may be empty (may contain 0 elements).
378378
// Attribute keys MUST be unique (it is not allowed to have more than one
379379
// 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.
380390
repeated opentelemetry.proto.common.v1.KeyValue attributes = 7;
381391

382392
// StartTimeUnixNano is optional but strongly encouraged, see the
@@ -425,6 +435,16 @@ message HistogramDataPoint {
425435
// where this point belongs. The list may be empty (may contain 0 elements).
426436
// Attribute keys MUST be unique (it is not allowed to have more than one
427437
// 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.
428448
repeated opentelemetry.proto.common.v1.KeyValue attributes = 9;
429449

430450
// StartTimeUnixNano is optional but strongly encouraged, see the
@@ -509,6 +529,16 @@ message ExponentialHistogramDataPoint {
509529
// where this point belongs. The list may be empty (may contain 0 elements).
510530
// Attribute keys MUST be unique (it is not allowed to have more than one
511531
// 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.
512542
repeated opentelemetry.proto.common.v1.KeyValue attributes = 1;
513543

514544
// StartTimeUnixNano is optional but strongly encouraged, see the
@@ -625,6 +655,16 @@ message SummaryDataPoint {
625655
// where this point belongs. The list may be empty (may contain 0 elements).
626656
// Attribute keys MUST be unique (it is not allowed to have more than one
627657
// 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.
628668
repeated opentelemetry.proto.common.v1.KeyValue attributes = 7;
629669

630670
// StartTimeUnixNano is optional but strongly encouraged, see the

0 commit comments

Comments
 (0)