Proto commits in open-telemetry/opentelemetry-proto

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:f24da8d
Author:Florian Lehner
Committer:GitHub

profiles: Move lookup tables to ProfilesData (#644) Implements https://github.com/open-telemetry/opentelemetry-proto/issues/628#issuecomment-2772566325. Signed-off-by: Florian Lehner <florian.lehner@elastic.co> Co-authored-by: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com> Co-authored-by: Nayef Ghattas <11560964+Gandem@users.noreply.github.com>

The documentation is generated from this commit.

Commit:42319f8
Author:Robert Pająk
Committer:GitHub

Stabilize event_name in LogRecord (#643)

Commit:a46b66e
Author:Tristan Sloughter
Committer:GitHub

remove comment on each profile service about keeping the RPC alive (#637) Tigran explained this comment was likely a hold over from the OpenCensus protobufs which did use streaming RPC's. Unary RPC's, which are used by the OpenTelemetry protocol, can not be kept alive making the comment out of place. Co-authored-by: Josh Suereth <Joshua.Suereth@gmail.com>

Commit:e4fd4f6
Author:Josh Suereth
Committer:GitHub

Add EntityRef and use it in Resource. (#635) * Add EntityRef and use it in Resource. * Update opentelemetry/proto/resource/v1/resource.proto Co-authored-by: Nathan L Smith <nathan.smith@elastic.co> * Update opentelemetry/proto/common/v1/common.proto Co-authored-by: Nathan L Smith <nathan.smith@elastic.co> * Update opentelemetry/proto/common/v1/common.proto Co-authored-by: Nathan L Smith <nathan.smith@elastic.co> --------- Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>

Commit:9d7c091
Author:Florian Lehner
Committer:GitHub

profiles: clarify use of optional fields in message Line and message Function (#621)

Commit:8601239
Author:Patrice Chalin
Committer:GitHub

Update metrics.proto (#632)

Commit:101755a
Author:Tigran Najaryan
Committer:GitHub

Clarify when bucket_counts array may be empty (#619) The current definition says: "The number of elements in bucket_counts array must be by one greater than the number of elements in explicit_bounds array." However, it also says "bucket_counts is an optional field", which means its length can be 0, which than in turn means the length of explicit_bounds must be -1, which is impossible. We clarify that it is a valid situation to have both bucket_counts and explicit_bounds arrays empty.

Commit:298a60f
Author:Florian Lehner
Committer:GitHub

profiles: switch default sample type index from string_table to sample_type array (#620) Signed-off-by: Florian Lehner <florian.lehner@elastic.co> Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>

Commit:6a4f4e4
Author:Patrice Chalin
Committer:GitHub

[editorial] Use canonical URL to OpenMetrics repo (#617)

Commit:849dc40
Author:Felix Geisendörfer
Committer:Felix Geisendörfer

Simplify profile stack trace representation - Introduce a first-class Stack message type and lookup table. - Replace location index range based stack trace encoding on Sample with a single stack_index reference. - Remove the location_indices lookup table. The primary motivation is laying the ground work for [timestamp based profiling][timestamp proposal] where the same stack trace needs to be referenced much more frequently compared to aggregation based on low cardinality attributes. Timestamp based profiling is also expected to be used with the the upcoming [Off-CPU profiling][off-cpu pr] feature in the eBPF profiler. Off-CPU stack traces have a different distribution compared to CPU samples. In particular stack traces are much more repetitive because they only occur at call sites such as syscalls. For the same reason it is also uncommon to see a stack trace are a root-prefix of a previously observed stack trace. We might need to revisit the previous [previous benchmarks][benchmarks] to confirm these claims. The secondary motivation is simplicitly. Arguably the proposed change here will make it easier to write exporters, processors as well as receivers. It seems like we had rough consensus around this change in previous SIG meetings, and it seems like a good incremental step to make progress on the timestamp proposal. [timestamp proposal]: https://github.com/open-telemetry/opentelemetry-proto/pull/594 [off-cpu pr]: https://github.com/open-telemetry/opentelemetry-ebpf-profiler/pull/196 [benchmarks]: https://docs.google.com/spreadsheets/d/1Q-6MlegV8xLYdz5WD5iPxQU2tsfodX1-CDV1WeGzyQ0/edit?gid=2069300294#gid=2069300294

Commit:d4a4703
Author:David Ashpole
Committer:GitHub

update links to openmetrics to reference the v1.0.0 release (#612)

Commit:ae87ce7
Author:Florian Lehner
Committer:GitHub

profile: drop duplicate field in message Profile (#606) * profile: drop duplicate field in message Profile The message Profile contains two fields of type `opentelemetry.proto.common.v1.KeyValue`, `attribute_table` and `attributes`. Both fields are intended for the same use. Therefore drop the later one. * fixup: add attribute_indices to message Profile Signed-off-by: Florian Lehner <florian.lehner@elastic.co> * fixup: move comment Signed-off-by: Florian Lehner <florian.lehner@elastic.co> --------- Signed-off-by: Florian Lehner <florian.lehner@elastic.co> Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>

Commit:fcebfd2
Author:Liudmila Molkova
Committer:GitHub

Add `event_name` to logs proto (#600) * Add event_name to log proto

Commit:653d802
Author:jack-berg
Committer:GitHub

Add note about schema url and schema version (#605)

Commit:9098604
Author:Damien Mathieu
Committer:GitHub

Remove unused label from profiles (#602)

Commit:793e43e
Author:Jonathan Halliday
Committer:GitHub

Renovations to experimental profiling schema. (#596) - remove Profile keep_frames and drop_frames due to unclear semantics and use cases - make Sample.link_index and Location.mapping_index optional, consistent with documented intention - remove deprecated fields Sample.location_index, Mapping.id, Location.id, Function.id - renumber fields for improved redability

Commit:d77c317
Author:Jonathan Halliday
Committer:GitHub

Improve lookup table pattern use in profiles. (#592) Based on implementation experience with the draft version of the profiles spec, the use of lookup tables for storing values is space efficient but not particularly user friendly. This change makes improvements by changing field names to clarify their role in the pattern and changing their data types to better accommodate their use in languages limited to 32 bit array indexing e.g. Java.

Commit:7312bdf
Author:Jonathan Halliday
Committer:GitHub

Fold the content of pprofextended.proto into profiles.proto, removing ProfileContainer. (#590) This change removes the now unnecessary split of the profiling format between two files, combining them into one as with other protocols. In the process, the likewise unnecessary ProfileContainer message type is removed and its fields merged into Profile, saving one level of indirection. Note this as discussed on slack otel-profiles, this is effectively a minimal subset of the now defunct #587, remaining parts of which will be resubmitted in subsequent PRs. This PR effectively blocks any concurrent changes to pprofextended.proto e.g. #588 as git won't track such changes across the file 'merge'.

Commit:a76fe9d
Author:Alan West
Committer:GitHub

Clarify aggregation temporality for Summary metric type (#591)

Commit:a8f08fc
Author:Florian Lehner
Committer:GitHub

profiles: Make mapping in Profile optional (#556) As commented in [0] and discussed in the OTel Profiling SIG meeting, there are situations where a main binary for a Profile can not be identified. For these cases mark the field optional. FYI: @brancz @petethepig @open-telemetry/profiling-maintainers [0]: https://github.com/open-telemetry/opentelemetry-proto/pull/534#discussion_r1561141336

Commit:d785e67
Author:Damien Mathieu
Committer:GitHub

Rename profiles v1experimental to v1development (#585) As discussed in https://github.com/open-telemetry/opentelemetry-proto/pull/582#discussion_r1751850589, this renames the `v1experimental` version for profiles to `v1development`. I've also taken this opportunity to update the versioning and stability link.

Commit:4f69356
Author:Florian Lehner
Committer:GitHub

profiles: drop BuildIdKind (#584) Drop `BuildIdKind` in favor of its semantic convention as defined in https://github.com/open-telemetry/semantic-conventions/pull/1329. Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>

Commit:9408ae8
Author:Florian Lehner
Committer:GitHub

profiles: drop Sample.label (#583) Drop `Sample.label` in favor of `Sample.attributes`. While `label` and `attributes` fulfill the same purpose, it is not defined which one choose for which information. Therefore, drop `label` in favor of `attributes`. FYI: @open-telemetry/profiling-maintainers spec:profiles Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>

Commit:8265a53
Author:Florian Lehner
Committer:GitHub

profiles: drop Location.type_index (#578) With https://github.com/open-telemetry/semantic-conventions/pull/1188 the semantic convention for Profiles that introduces frame types and well known values is about to be merged. Therefore, `Location.type_index` is no longer needed. FYI: @open-telemetry/profiling-maintainers Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>

Commit:833a4eb
Author:Florian Lehner
Committer:GitHub

profiles: drop Sample.stacktrace_id_index (#575) The value for Sample.stacktrace_id_index is hardly defined except for its length. It is also not defined how this value should be generated, interpreted and could be used. Some kind of stacktrace_id can be most efficient in stateful protocols, where transmitting duplicate information should be avoided. As the OTel Profiling protocol is a stateless protocol, this element can be droped.

Commit:14afbd4
Author:Florian Lehner
Committer:GitHub

profiles: align type of index into string table (#557) With `Mapping.filename`, `Function.name`, `Label.key` and others the type of the index into the string table is always of type `int64`. For consistency align the type of `Location.type_index`, which is also an index into the string table, to `int64`. Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>

Commit:ff457ce
Author:Krisztian Fekete
Committer:GitHub

Add resource attributes and scope to metrics proto diagram (#519) Fixes https://github.com/open-telemetry/opentelemetry-proto/issues/518.

Commit:bd7cf55
Author:Long Yang
Committer:GitHub

Fix typo; According to the definition of message Sample, the relation between Sample and Link should be n-1 (#564)

Commit:a05597b
Author:Jonathan Halliday
Committer:GitHub

profiles: add missing java_package option to pprofextended. (#558) Gah, we put java_package on one file but not the other. Oops. Apparently the opentelementry-proto-java artifact can't be consumed by opentelemetry-java without this.

Commit:4b60b81
Author:Dmitry Filimonov
Committer:GitHub

Add new profile signal (#534) This is a follow up to [OTEP 239: Introduces Profiling Data Model v2](https://github.com/open-telemetry/oteps/pull/239) The main motivation behind this PR is that this will allow us to start experimenting with the profiles proto in opentelemetry-collector. I marked the profiles part as `Experimental` to indicate that this is not a final version of the data model. I copied the proto from the OTEP, and moved `pprofextended.proto` from `profiles/v1/alternatives/pprofextended.proto` to just `profiles/v1/pprofextended.proto`. I did this because I figured we no longer have alternative representations and this will reduce confusion for people outside of Profiling SIG. The rest of the proto stayed the same. I tested this file with a collector fork and I it compiles properly.

Commit:c451441
Author:David Ashpole
Committer:GitHub

Add metric.metadata for supporting additional metadata on metrics (#514) * add metric.attributes for supporting additional metadata on metrics

Commit:0a743e7
Author:jack-berg
Committer:GitHub

Clarify formulas for reading span flags (#528) * Add bitshift to comment for reading span flags * Change >> to != 0

Commit:3d7b4a4
Author:Emily Stolfo
Committer:Tigran Najaryan

One constant for link and parent is remote mask

Commit:fd386f1
Author:Emily Stolfo
Committer:Tigran Najaryan

Merge parent and link is remote enums into one

Commit:acc967d
Author:Emily Stolfo
Committer:Tigran Najaryan

Add parent_span_is_remote to Span message

Commit:d0eb3f8
Author:Emily S
Committer:Tigran Najaryan

Update opentelemetry/proto/trace/v1/trace.proto Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>

Commit:473303b
Author:Emily Stolfo
Committer:Tigran Najaryan

Use enum for ParentSpanIsRemote

Commit:0941511
Author:Emily S
Committer:Tigran Najaryan

Update opentelemetry/proto/trace/v1/trace.proto Co-authored-by: Christian Neumüller <christian+github@neumueller.me>

Commit:4174021
Author:Emily S
Committer:Tigran Najaryan

Update opentelemetry/proto/trace/v1/trace.proto Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>

Commit:123368f
Author:Emily Stolfo
Committer:Tigran Najaryan

Remove ParentSpanIsRemote attribute

Commit:3c37369
Author:Emily Stolfo
Committer:Tigran Najaryan

Include enum for interpreting ParentIsRemote flag and update documentation

Commit:9076d8f
Author:Emily Stolfo
Committer:Tigran Najaryan

Update inconsistency in docs formatting

Commit:e7829c5
Author:Emily S
Committer:Tigran Najaryan

Update opentelemetry/proto/trace/v1/trace.proto Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>

Commit:3299be0
Author:Emily Stolfo
Committer:Tigran Najaryan

Update references to isremote masks

Commit:35e442e
Author:Emily Stolfo
Committer:Tigran Najaryan

Adjust flags documentation ordering

Commit:bd7b09e
Author:Emily S
Committer:Tigran Najaryan

Update opentelemetry/proto/trace/v1/trace.proto Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>

Commit:3a03077
Author:Emily S
Committer:Tigran Najaryan

Update opentelemetry/proto/trace/v1/trace.proto Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>

Commit:28d81a4
Author:Emily Stolfo
Committer:Tigran Najaryan

Adjust formatting of comments

Commit:bd30ca3
Author:Emily Stolfo
Committer:Tigran Najaryan

Remove misleading documentation

Commit:a2a8f8b
Author:Emily Stolfo
Committer:Tigran Najaryan

Adjust enum name

Commit:0126795
Author:Emily Stolfo
Committer:Tigran Najaryan

Add constants and enum for interpreting bits 8 and 9 of a Link's flags

Commit:6b5d30a
Author:Emily S
Committer:Tigran Najaryan

Update opentelemetry/proto/trace/v1/trace.proto Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>

Commit:964a94c
Author:Emily S
Committer:Tigran Najaryan

Update opentelemetry/proto/trace/v1/trace.proto Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>

Commit:7df29cd
Author:Emily Stolfo
Committer:Tigran Najaryan

Split isremote into two masks

Commit:1635398
Author:Emily Stolfo
Committer:Tigran Najaryan

Remove enum, describe values in comment

Commit:ef0a3b1
Author:Emily Stolfo
Committer:Tigran Najaryan

Add extra comment about unset value from older clients

Commit:e75abec
Author:Emily Stolfo
Committer:Tigran Najaryan

Update names

Commit:6b2be20
Author:Emily S
Committer:Tigran Najaryan

Update opentelemetry/proto/trace/v1/trace.proto Co-authored-by: Johannes Tax <johannes@johannes.tax>

Commit:a3cd778
Author:Emily S
Committer:Tigran Najaryan

Update opentelemetry/proto/trace/v1/trace.proto Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>

Commit:de281de
Author:Emily Stolfo
Committer:Tigran Najaryan

Change doc references to updated enum name

Commit:095d378
Author:Emily Stolfo
Committer:Tigran Najaryan

Add defintion of 2 bit parent is remote flag

Commit:f674adf
Author:Tigran Najaryan
Committer:GitHub

Remove irrelevant comments from metric name field (#512)

Commit:ac3242b
Author:Joshua MacDonald
Committer:GitHub

Add W3C-specified trace flags to v1 Span proto (#503)

Commit:d1468b7
Author:Tigran Najaryan
Committer:Tigran Najaryan

Add comment to explain schema_url fields Resolves https://github.com/open-telemetry/opentelemetry-proto/issues/502

Commit:1608f92
Author:Tigran Najaryan
Committer:Tigran Najaryan

Clarify uniqueness of Scope attribute keys We use exact same wording as we already have for LogRecord, Span, etc.

Commit:449a1b0
Author:Tigran Najaryan
Committer:GitHub

Fix LogRecordFlags and DataPointFlags enum element name inconsistency (#474) Other enum element names in this repo are prefixed by enum name in CAPITAL_CASE. This change makes naming of LogRecordFlags and DataPointFlags elements consistent with the rest of the enums. Resolves https://github.com/open-telemetry/opentelemetry-proto/issues/473 Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>

Commit:840db1f
Author:Tigran Najaryan
Committer:Tigran Najaryan

Clarify bitfield helper enums Resolves https://github.com/open-telemetry/opentelemetry-proto/issues/433 ## Problem The zero values defined in helper enums encourage incorrect usage of the bitfields. The typical incorrect code looks like this: ```proto enum DataPointFlags { FLAG_NONE = 0; FLAG_NO_RECORDED_VALUE = 1; // Bits 2-31 are reserved for future use. } ``` ```go if datapoint.Flags == FLAG_NONE { // do something when there is no recorded value } ``` This is incorrect because it does not take into account that the Flags field can be extended in the future to use the reserved bits. The `if` statement above will be incorrect if any other bit is set. The correct code looks like this: ```go if (datapoint.Flags & FLAG_NO_RECORDED_VALUE) == 0 { // do something when there is no recorded value } ``` ## Solution To prevent this mistake the following changes are done: - All bitfield mask enums are suffixed with a _MASK to signify their purpose. - Zero value of the enum is prefixed with an underscore to discourage its use. - Some additional comments are added to explain how bitfields and their enums should be used. ## Alternates Tried I also tried to remove the zero values from enums altogether, but it turned out to be impossible. I tried a few possible approaches and none worked. Protobufs [require that enums start with a 0 value](https://protobuf.dev/programming-guides/proto3/#enum). If you try to omit it you get a compilation error: ``` opentelemetry/proto/metrics/v1/metrics.proto:325:28: The first enum value must be zero in proto3. ``` Alternatively, trying to use a dummy name, e.g.: ``` enum DataPointFlags { _ = 0; FLAG_NO_RECORDED_VALUE = 1; } ``` Fails Objective-C generator: ``` error: got empty string for making TextFormat data, input: "", desired: "_". ``` Also tried declaring it reserved as the doc says should be possible: ``` enum DataPointFlags { reserved 0; FLAG_NO_RECORDED_VALUE = 1; } ``` but get an error again: ``` opentelemetry/proto/metrics/v1/metrics.proto:327:28: The first enum value must be zero in proto3. ```

Commit:77df163
Author:Tigran Najaryan
Committer:Tigran Najaryan

Update opentelemetry/proto/metrics/v1/metrics.proto Fix field name Co-authored-by: Bogdan Drutu <lazy@splunk.com>

Commit:f61a857
Author:Ruslan Kovalov
Committer:Tigran Najaryan

[chore] Change comment on `bucket_counts` to reflect spec. See https://opentelemetry.io/docs/reference/specification/metrics/data-model/#exponential-buckets

Commit:c26513a
Author:Aaron Abbott
Committer:GitHub

Use "example.com" where an example domain is needed (#465)

Commit:4b23e93
Author:Bogdan Drutu
Committer:GitHub

Remove optional part from zero_threshold (#453)

Commit:2bdeb79
Author:Tigran Najaryan
Committer:GitHub

Clarify behavior for empty/not present/invalid trace_id and span_id fields (#442) Resolves https://github.com/open-telemetry/opentelemetry-specification/issues/3040 This is not a breaking change: - For Span it now defines more precisely the receiver behavior that was previously defined vaguely (e.g. it was unclear what "empty" means for bytes field). - For LogRecord it now defines the receiver behavior that was previously unspecified. This ensures that the wording are consistent with what we have for the Span.

Commit:ad7b716
Author:Ruslan Kovalov
Committer:GitHub

Introduce an optional `zero_threshold` field to `ExponentialHistogramDataPoint` (#441)

Commit:2119dc9
Author:Tigran Najaryan
Committer:GitHub

Delete requirement to generate new trace/span id if an invalid id is received (#444) This is considered an bug in the spec that was uncovered in the discussion here: https://github.com/open-telemetry/opentelemetry-proto/pull/442#discussion_r1061995668 I did some spelunking and the "generate" recommendation comes from the very first commit: https://github.com/open-telemetry/opentelemetry-proto/commit/b5bcfffce09c956b1419b2b56a9aaff384797517#diff-ef5f80fbf835dd57e14cb9264944f03d80cf6b04cc7671b0e7fb33167c67efcc where they were copied from Java repo, to which they were copied from OpenCensus https://github.com/open-telemetry/opentelemetry-java/pull/134 and in OpenCensus the wording first time appeared here https://github.com/census-instrumentation/opencensus-proto/pull/160 (authored by @SergeyKanzhelev, merged by @bogdandrutu). We are deleting the requirement to generate a new trace id or span id if an invalid id is received. The receivers can decide how they want to treat the invalid id (just like upon receiving any other invalid id), e.g. they may drop it, log an error, accept the invalid data, etc. We are not going to prescribe a particular receiver behavior when invalid trace/span id is received.

Commit:724e427
Author:Joshua MacDonald
Committer:GitHub

Change the exponential histogram boundary condition (#409)

Commit:001e5ea
Author:Georg Pirklbauer
Committer:GitHub

fix a tiny typo and reflow (#421)

Commit:200ccff
Author:Joao Grassi
Committer:GitHub

Make it possible to indicate partial success in an OTLP export response [2] (#414) * Make it possible to indicate partial success in an OTLP export response * Update changelog with PR number * PR suggestions * Improve docs around using rejected as 0 to convey warnings * Adapt comments to match recent spec wording changes * Clarify behavior of partial success not set/empty

Commit:157bedf
Author:Tigran Najaryan
Committer:GitHub

Delete unused experimental TraceConfig (#411) Resolves https://github.com/open-telemetry/opentelemetry-proto/issues/410 I am not aware of any OpenTelemetry or non-OpenTelemetry codebase that uses the experimental TraceConfig. I suggest to remove it. It can be added back if we see the need for it in the future. The SDK configuration may also be achieved by different means, see https://github.com/open-telemetry/opentelemetry-specification/issues/2207 We need to keep this PR open for a while and circulate it widely to make sure we give enough opportunity to object the removal.

Commit:95cf8f4
Author:Armin Ruech
Committer:GitHub

Remove misleading comments for Span in trace.proto (#408)

Commit:1e69bf2
Author:Tigran Najaryan
Committer:GitHub

Delete deprecated InstrumentationLibrary-related fields and messages (#407) The fields and messages were scheduled to be deleted on June 15, 2022, so now is a good time to do it (especially before we declare OTLP 1.0).

Commit:9e7c1b3
Author:taloric
Committer:GitHub

Fix urls which can not access (#402) - Fix some out-of-date urls which link to [specification](https://github.com/open-telemetry/opentelemetry-specification). - .../metrics/datamodel.md -> .../metrics/data-model.md - .../common/common.md#attributes -> .../common/README.md#attribute

Commit:96bc1ec
Author:Tigran Najaryan
Committer:GitHub

Introduce Scope Attributes (#395) Implements OTEP 201: https://github.com/open-telemetry/oteps/blob/main/text/0201-scope-attributes.md Corresponding specification PR: https://github.com/open-telemetry/opentelemetry-specification/pull/2579

Commit:ed7cc36
Author:Alan West
Committer:GitHub

Define csharp_namespace option (#399) * Define csharp_namespace option * Update changelog

Commit:8066eef
Author:Joshua MacDonald
Committer:GitHub

Make the exponential histogram sum optional, like its counterpart (#392) * Make the exponential histogram sum optional, like its counterpart * PR Num

Commit:d48ad27
Author:Bogdan Drutu
Committer:GitHub

Remove experimental note from logs service definition (#385)

Commit:cef5447
Author:Joshua MacDonald
Committer:GitHub

Add min/max fields to HistogramDataPoint (#279) * Add min/max fields to HistogramDataPoint * Typos * 10 minutes * make min/max optional but strictly refer to (start_time, end_time] * --experimental_allow_proto3_optional * remove gogo * Changelog * revert accidental makefile

Commit:4abbb78
Author:Tigran Najaryan
Committer:GitHub

Remove deprecated LogRecord.Name field (#373) The field is already deprecated and was on notice to be removed. I removed all usages of the field from the Collector codebase.

Commit:1648cf3
Author:Alex Boten
Committer:GitHub

Add field of present flag to proto build (#366) * Add field presence flag to proto build. * Fix #314 - Cannot distinguish between sum being 0 and undefined. * remove gogo from Makefile Co-authored-by: Josh Suereth <joshuasuereth@google.com>

Commit:17c68a9
Author:Tigran Najaryan
Committer:GitHub

Rename InstrumentationLibrary to InstrumentationScope (#362) This applies changes described in spec PR https://github.com/open-telemetry/opentelemetry-specification/pull/2276 This is not a breaking change for OTLP. The wire format does not change. The change is done in a way that the transition can be handled gracefully for OTLP/JSON and for the generated code. See the comments for explanation on how to do it in the senders and receivers.

Commit:cc4ed55
Author:Tigran Najaryan
Committer:GitHub

Deprecate LogRecord.Name field (#357) The field is removed from the spec: https://github.com/open-telemetry/opentelemetry-specification/pull/2271 I am deprecating it for now, to give some time to existing users to get rid of it (most notably in the Collector). This will be removed March 15, 2022 (after the Collector cleanup).

Commit:c60eeac
Author:Tigran Najaryan
Committer:GitHub

Add ObservedTimestamp to LogRecord (#351) This implements the log data model specification change https://github.com/open-telemetry/opentelemetry-specification/pull/2184

Commit:2d040f6
Author:Tigran Najaryan
Committer:GitHub

Remove experimental metrics config service (#359) As far as I know this is currently not used by anyone. We prefer to delete this code instead of maintaining it. It can be added back when there is sufficient interest and a person who will maintain it.

Commit:0e254b5
Author:Tigran Najaryan
Committer:GitHub

Fix path to Go packages (#360) The go pacakges now correctly point to https://github.com/open-telemetry/opentelemetry-proto-go repository where we have the generated files for Go. Resolves https://github.com/open-telemetry/opentelemetry-proto/issues/353 Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>

Commit:678f5d8
Author:Bogdan Drutu
Committer:GitHub

Remove unused deprecated message StringKeyValue (#358) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Commit:c444081
Author:Tigran Najaryan
Committer:GitHub

Clarify attribute key uniqueness requirement (#350) Attributes keys must be unique. The key/value pair list in the protocol was always intended to model a map. Contributes to https://github.com/open-telemetry/opentelemetry-specification/issues/2245 Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>

Commit:3a767f6
Author:Tigran Najaryan
Committer:GitHub

Rename logs to log_records in InstrumentationLibraryLogs (#352) The renaming is to ensure consistency in how fields are named. We use pluralized name of the message type elsewhere, so let's use it here as well. Resolves https://github.com/open-telemetry/opentelemetry-proto/issues/317

Commit:8ba33cc
Author:Bogdan Drutu
Committer:GitHub

Remove deprecated messages and fields from metrics (#342) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Commit:c3e79b1
Author:Bogdan Drutu
Committer:GitHub

Remove deprecated messages and fields from traces (#341) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Commit:47889c4
Author:Przemek Maciolek
Committer:GitHub

Remove outdated comment on empty span name (#328) * Remove outdated comment on span name and replace it with recommendations from specification * Update guidance on empty span name Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>

Commit:27a10cd
Author:Bogdan Drutu
Committer:GitHub

Add proto messages for signals data independent of OTLP protocol (#332) The main motivation for this is to ensure that other protocols can use it to send/receive OTLP data, as well as for persistent storages such as kafka, disk, etc. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>