@ -57,7 +57,7 @@ gen-cpp:
$( PROTOC) --cpp_out= ./$( PROTO_GEN_CPP_DIR) --grpc-cpp_out= ./$( PROTO_GEN_CPP_DIR) opentelemetry/proto/collector/trace/v1/trace_service.proto
$( PROTOC) --cpp_out= ./$( PROTO_GEN_CPP_DIR) --grpc-cpp_out= ./$( PROTO_GEN_CPP_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto
$( PROTOC) --cpp_out= ./$( PROTO_GEN_CPP_DIR) --grpc-cpp_out= ./$( PROTO_GEN_CPP_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto
$( PROTOC) --cpp_out= ./$( PROTO_GEN_CPP_DIR) --grpc-cpp_out= ./$( PROTO_GEN_CPP_DIR) opentelemetry/proto/collector/profiles/v1experimental /profiles_service.proto
$( PROTOC) --cpp_out= ./$( PROTO_GEN_CPP_DIR) --grpc-cpp_out= ./$( PROTO_GEN_CPP_DIR) opentelemetry/proto/collector/profiles/v1development /profiles_service.proto
# Generate gRPC/Protobuf implementation for C#.
.PHONY : gen -csharp
@ -68,7 +68,7 @@ gen-csharp:
$( PROTOC) --csharp_out= ./$( PROTO_GEN_CSHARP_DIR) --grpc-csharp_out= ./$( PROTO_GEN_CSHARP_DIR) opentelemetry/proto/collector/trace/v1/trace_service.proto
$( PROTOC) --csharp_out= ./$( PROTO_GEN_CSHARP_DIR) --grpc-csharp_out= ./$( PROTO_GEN_CSHARP_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto
$( PROTOC) --csharp_out= ./$( PROTO_GEN_CSHARP_DIR) --grpc-csharp_out= ./$( PROTO_GEN_CSHARP_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto
$( PROTOC) --csharp_out= ./$( PROTO_GEN_CSHARP_DIR) --grpc-csharp_out= ./$( PROTO_GEN_CSHARP_DIR) opentelemetry/proto/collector/profiles/v1experimental /profiles_service.proto
$( PROTOC) --csharp_out= ./$( PROTO_GEN_CSHARP_DIR) --grpc-csharp_out= ./$( PROTO_GEN_CSHARP_DIR) opentelemetry/proto/collector/profiles/v1development /profiles_service.proto
# Generate gRPC/Protobuf implementation for Go.
.PHONY : gen -go
@ -79,7 +79,7 @@ gen-go:
$( PROTOC) --grpc-gateway_out= logtostderr = true,grpc_api_configuration= opentelemetry/proto/collector/trace/v1/trace_service_http.yaml:./$( PROTO_GEN_GO_DIR) opentelemetry/proto/collector/trace/v1/trace_service.proto
$( PROTOC) --grpc-gateway_out= logtostderr = true,grpc_api_configuration= opentelemetry/proto/collector/metrics/v1/metrics_service_http.yaml:./$( PROTO_GEN_GO_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto
$( PROTOC) --grpc-gateway_out= logtostderr = true,grpc_api_configuration= opentelemetry/proto/collector/logs/v1/logs_service_http.yaml:./$( PROTO_GEN_GO_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto
$( PROTOC) --grpc-gateway_out= logtostderr = true,grpc_api_configuration= opentelemetry/proto/collector/profiles/v1experimental /profiles_service_http.yaml:./$( PROTO_GEN_GO_DIR) opentelemetry/proto/collector/profiles/v1experimental /profiles_service.proto
$( PROTOC) --grpc-gateway_out= logtostderr = true,grpc_api_configuration= opentelemetry/proto/collector/profiles/v1development /profiles_service_http.yaml:./$( PROTO_GEN_GO_DIR) opentelemetry/proto/collector/profiles/v1development /profiles_service.proto
# Generate gRPC/Protobuf implementation for Java.
.PHONY : gen -java
@ -105,7 +105,7 @@ gen-js:
$( PROTOC) --js_out= import_style = commonjs:./$( PROTO_GEN_JS_DIR) --grpc-web_out= import_style = commonjs,mode= grpcweb:./$( PROTO_GEN_JS_DIR) opentelemetry/proto/collector/trace/v1/trace_service.proto
$( PROTOC) --js_out= import_style = commonjs:./$( PROTO_GEN_JS_DIR) --grpc-web_out= import_style = commonjs,mode= grpcweb:./$( PROTO_GEN_JS_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto
$( PROTOC) --js_out= import_style = commonjs:./$( PROTO_GEN_JS_DIR) --grpc-web_out= import_style = commonjs,mode= grpcweb:./$( PROTO_GEN_JS_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto
$( PROTOC) --js_out= import_style = commonjs:./$( PROTO_GEN_JS_DIR) --grpc-web_out= import_style = commonjs,mode= grpcweb:./$( PROTO_GEN_JS_DIR) opentelemetry/proto/collector/profiles/v1experimental /profiles_service.proto
$( PROTOC) --js_out= import_style = commonjs:./$( PROTO_GEN_JS_DIR) --grpc-web_out= import_style = commonjs,mode= grpcweb:./$( PROTO_GEN_JS_DIR) opentelemetry/proto/collector/profiles/v1development /profiles_service.proto
# Generate gRPC/Protobuf implementation for Objective-C.
.PHONY : gen -objc
@ -116,7 +116,7 @@ gen-objc:
$( PROTOC) --objc_out= ./$( PROTO_GEN_OBJC_DIR) --grpc-objc_out= ./$( PROTO_GEN_OBJC_DIR) opentelemetry/proto/collector/trace/v1/trace_service.proto
$( PROTOC) --objc_out= ./$( PROTO_GEN_OBJC_DIR) --grpc-objc_out= ./$( PROTO_GEN_OBJC_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto
$( PROTOC) --objc_out= ./$( PROTO_GEN_OBJC_DIR) --grpc-objc_out= ./$( PROTO_GEN_OBJC_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto
$( PROTOC) --objc_out= ./$( PROTO_GEN_OBJC_DIR) --grpc-objc_out= ./$( PROTO_GEN_OBJC_DIR) opentelemetry/proto/collector/profiles/v1experimental /profiles_service.proto
$( PROTOC) --objc_out= ./$( PROTO_GEN_OBJC_DIR) --grpc-objc_out= ./$( PROTO_GEN_OBJC_DIR) opentelemetry/proto/collector/profiles/v1development /profiles_service.proto
# Generate gRPC/Protobuf for openapi v2 (swagger)
.PHONY : gen -openapi
@ -125,7 +125,7 @@ gen-openapi:
$( PROTOC) --openapiv2_out= logtostderr = true,grpc_api_configuration= opentelemetry/proto/collector/trace/v1/trace_service_http.yaml:$( PROTO_GEN_OPENAPI_DIR) opentelemetry/proto/collector/trace/v1/trace_service.proto
$( PROTOC) --openapiv2_out= logtostderr = true,grpc_api_configuration= opentelemetry/proto/collector/metrics/v1/metrics_service_http.yaml:$( PROTO_GEN_OPENAPI_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto
$( PROTOC) --openapiv2_out= logtostderr = true,grpc_api_configuration= opentelemetry/proto/collector/logs/v1/logs_service_http.yaml:$( PROTO_GEN_OPENAPI_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto
$( PROTOC) --openapiv2_out= logtostderr = true,grpc_api_configuration= opentelemetry/proto/collector/profiles/v1experimental /profiles_service_http.yaml:$( PROTO_GEN_OPENAPI_DIR) opentelemetry/proto/collector/profiles/v1experimental /profiles_service.proto
$( PROTOC) --openapiv2_out= logtostderr = true,grpc_api_configuration= opentelemetry/proto/collector/profiles/v1development /profiles_service_http.yaml:$( PROTO_GEN_OPENAPI_DIR) opentelemetry/proto/collector/profiles/v1development /profiles_service.proto
# Generate gRPC/Protobuf implementation for PhP.
.PHONY : gen -php
@ -136,7 +136,7 @@ gen-php:
$( PROTOC) --php_out= ./$( PROTO_GEN_PHP_DIR) --grpc-php_out= ./$( PROTO_GEN_PHP_DIR) opentelemetry/proto/collector/trace/v1/trace_service.proto
$( PROTOC) --php_out= ./$( PROTO_GEN_PHP_DIR) --grpc-php_out= ./$( PROTO_GEN_PHP_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto
$( PROTOC) --php_out= ./$( PROTO_GEN_PHP_DIR) --grpc-php_out= ./$( PROTO_GEN_PHP_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto
$( PROTOC) --php_out= ./$( PROTO_GEN_PHP_DIR) --grpc-php_out= ./$( PROTO_GEN_PHP_DIR) opentelemetry/proto/collector/profiles/v1experimental /profiles_service.proto
$( PROTOC) --php_out= ./$( PROTO_GEN_PHP_DIR) --grpc-php_out= ./$( PROTO_GEN_PHP_DIR) opentelemetry/proto/collector/profiles/v1development /profiles_service.proto
# Generate gRPC/Protobuf implementation for Python.
.PHONY : gen -python
@ -147,7 +147,7 @@ gen-python:
$( PROTOC) --python_out= ./$( PROTO_GEN_PYTHON_DIR) --grpc-python_out= ./$( PROTO_GEN_PYTHON_DIR) opentelemetry/proto/collector/trace/v1/trace_service.proto
$( PROTOC) --python_out= ./$( PROTO_GEN_PYTHON_DIR) --grpc-python_out= ./$( PROTO_GEN_PYTHON_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto
$( PROTOC) --python_out= ./$( PROTO_GEN_PYTHON_DIR) --grpc-python_out= ./$( PROTO_GEN_PYTHON_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto
$( PROTOC) --python_out= ./$( PROTO_GEN_PYTHON_DIR) --grpc-python_out= ./$( PROTO_GEN_PYTHON_DIR) opentelemetry/proto/collector/profiles/v1experimental /profiles_service.proto
$( PROTOC) --python_out= ./$( PROTO_GEN_PYTHON_DIR) --grpc-python_out= ./$( PROTO_GEN_PYTHON_DIR) opentelemetry/proto/collector/profiles/v1development /profiles_service.proto
# Generate gRPC/Protobuf implementation for Ruby.
.PHONY : gen -ruby
@ -158,9 +158,9 @@ gen-ruby:
$( PROTOC) --ruby_out= ./$( PROTO_GEN_RUBY_DIR) --grpc-ruby_out= ./$( PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/trace/v1/trace_service.proto
$( PROTOC) --ruby_out= ./$( PROTO_GEN_RUBY_DIR) --grpc-ruby_out= ./$( PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/metrics/v1/metrics_service.proto
$( PROTOC) --ruby_out= ./$( PROTO_GEN_RUBY_DIR) --grpc-ruby_out= ./$( PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/logs/v1/logs_service.proto
$( PROTOC) --ruby_out= ./$( PROTO_GEN_RUBY_DIR) --grpc-ruby_out= ./$( PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/profiles/v1experimental /profiles_service.proto
$( PROTOC) --ruby_out= ./$( PROTO_GEN_RUBY_DIR) --grpc-ruby_out= ./$( PROTO_GEN_RUBY_DIR) opentelemetry/proto/collector/profiles/v1development /profiles_service.proto
# The Profiling protocol is still experimental . So it is excluded from the breaking-change check.
# The Profiling protocol is still development . So it is excluded from the breaking-change check.
.PHONY : breaking -change
breaking-change :
$( BUF) breaking --against $( BUF_AGAINST) --config '{"version":"v1","breaking":{"ignore":["opentelemetry/proto/profiles", "opentelemetry/proto/collector/profiles"]}}' $( BUF_FLAGS)