Skip to content

Commit 158176a

Browse files
florianldmathieu
andauthored
Upgrade proto to v1.4.0 (#193)
* Release v1.4.0 Release of the [v1.4.0][otlp] version of the OTLP. [otlp]: https://github.com/open-telemetry/opentelemetry-proto/releases/tag/v1.4.0 Signed-off-by: Florian Lehner <[email protected]> * fixup: replace experimental with development Signed-off-by: Florian Lehner <[email protected]> * fixup: Makefile update compat to GO 1.22 go.mod was updated with ad54459 Signed-off-by: Florian Lehner <[email protected]> * fixup empty commit --------- Signed-off-by: Florian Lehner <[email protected]> Co-authored-by: Damien Mathieu <[email protected]>
1 parent c1b3008 commit 158176a

File tree

19 files changed

+4584
-5360
lines changed

19 files changed

+4584
-5360
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "opentelemetry-proto"]
22
path = opentelemetry-proto
33
url = https://github.com/open-telemetry/opentelemetry-proto
4-
branch = v1.3.1
4+
branch = v1.4.0

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ gen-otlp-protobuf: $(SOURCE_PROTO_FILES)
124124
$(PROTOC) --grpc-gateway_out=logtostderr=true,grpc_api_configuration=$(OTEL_PROTO_SUBMODULE)/opentelemetry/proto/collector/trace/v1/trace_service_http.yaml:./$(PROTOBUF_TEMP_DIR) --go_out=./$(PROTOBUF_TEMP_DIR) --go-grpc_out=./$(PROTOBUF_TEMP_DIR) $(PROTO_SOURCE_DIR)/opentelemetry/proto/collector/trace/v1/trace_service.proto
125125
$(PROTOC) --grpc-gateway_out=logtostderr=true,grpc_api_configuration=$(OTEL_PROTO_SUBMODULE)/opentelemetry/proto/collector/metrics/v1/metrics_service_http.yaml:./$(PROTOBUF_TEMP_DIR) --go_out=./$(PROTOBUF_TEMP_DIR) --go-grpc_out=./$(PROTOBUF_TEMP_DIR) $(PROTO_SOURCE_DIR)/opentelemetry/proto/collector/metrics/v1/metrics_service.proto
126126
$(PROTOC) --grpc-gateway_out=logtostderr=true,grpc_api_configuration=$(OTEL_PROTO_SUBMODULE)/opentelemetry/proto/collector/logs/v1/logs_service_http.yaml:./$(PROTOBUF_TEMP_DIR) --go_out=./$(PROTOBUF_TEMP_DIR) --go-grpc_out=./$(PROTOBUF_TEMP_DIR) $(PROTO_SOURCE_DIR)/opentelemetry/proto/collector/logs/v1/logs_service.proto
127-
$(PROTOC) --grpc-gateway_out=logtostderr=true,grpc_api_configuration=$(OTEL_PROTO_SUBMODULE)/opentelemetry/proto/collector/profiles/v1experimental/profiles_service_http.yaml:./$(PROTOBUF_TEMP_DIR) --go_out=./$(PROTOBUF_TEMP_DIR) --go-grpc_out=./$(PROTOBUF_TEMP_DIR) $(PROTO_SOURCE_DIR)/opentelemetry/proto/collector/profiles/v1experimental/profiles_service.proto
127+
$(PROTOC) --grpc-gateway_out=logtostderr=true,grpc_api_configuration=$(OTEL_PROTO_SUBMODULE)/opentelemetry/proto/collector/profiles/v1development/profiles_service_http.yaml:./$(PROTOBUF_TEMP_DIR) --go_out=./$(PROTOBUF_TEMP_DIR) --go-grpc_out=./$(PROTOBUF_TEMP_DIR) $(PROTO_SOURCE_DIR)/opentelemetry/proto/collector/profiles/v1development/profiles_service.proto
128128

129129

130130
.PHONY: copy-otlp-protobuf

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Versioning of modules in this project will be idiomatic of a Go project using [G
1414
They will use [semantic import versioning](https://github.com/golang/go/wiki/Modules#semantic-import-versioning).
1515
Meaning modules will comply with [semver 2.0](https://semver.org/spec/v2.0.0.html) with the following exception:
1616

17-
- Packages with an `experimental` suffix do not comply with [semver 2.0](https://semver.org/spec/v2.0.0.html).
17+
- Packages with a `development` suffix do not comply with [semver 2.0](https://semver.org/spec/v2.0.0.html).
1818
- Backwards incompatible changes may be introduced to these packages between minor versions.
1919
- These packages are intended to be temporary.
2020
They will be deprecated and removed when the protobuf definition stabilizes or is removed.
21-
If the protobuf definition stabilizes, the package will be replaced with a stable "non-experimental" package.
21+
If the protobuf definition stabilizes, the package will be replaced with a stable "non-development" package.
2222
If the protobuf definition is removed, the package will be removed without a replacement.
2323

2424
## Getting Started

otlp/collector/profiles/v1development/profiles_service.pb.go

Lines changed: 379 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

otlp/collector/profiles/v1experimental/profiles_service.pb.gw.go renamed to otlp/collector/profiles/v1development/profiles_service.pb.gw.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

otlp/collector/profiles/v1experimental/profiles_service_grpc.pb.go renamed to otlp/collector/profiles/v1development/profiles_service_grpc.pb.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)