4949 "opentelemetry-proto=[ \\ t]*([A-Za-z0-9_\\ .\\ -]+)" )
5050 set (opentelemetry-proto "${CMAKE_MATCH_1} " )
5151 else ()
52- set (opentelemetry-proto "v1.3.2 " )
52+ set (opentelemetry-proto "v1.4.0 " )
5353 endif ()
5454 unset (OTELCPP_THIRD_PARTY_RELEASE_CONTENT)
5555 endif ()
@@ -81,10 +81,7 @@ set(LOGS_PROTO "${PROTO_PATH}/opentelemetry/proto/logs/v1/logs.proto")
8181set (METRICS_PROTO "${PROTO_PATH} /opentelemetry/proto/metrics/v1/metrics.proto" )
8282
8383set (PROFILES_PROTO
84- "${PROTO_PATH} /opentelemetry/proto/profiles/v1experimental/profiles.proto" )
85- set (PROFILES_EXT_PROTO
86- "${PROTO_PATH} /opentelemetry/proto/profiles/v1experimental/pprofextended.proto"
87- )
84+ "${PROTO_PATH} /opentelemetry/proto/profiles/v1development/profiles.proto" )
8885
8986set (TRACE_SERVICE_PROTO
9087 "${PROTO_PATH} /opentelemetry/proto/collector/trace/v1/trace_service.proto" )
@@ -95,7 +92,7 @@ set(METRICS_SERVICE_PROTO
9592)
9693
9794set (PROFILES_SERVICE_PROTO
98- "${PROTO_PATH} /opentelemetry/proto/collector/profiles/v1experimental /profiles_service.proto"
95+ "${PROTO_PATH} /opentelemetry/proto/collector/profiles/v1development /profiles_service.proto"
9996)
10097
10198set (GENERATED_PROTOBUF_PATH
@@ -138,30 +135,24 @@ set(TRACE_SERVICE_PB_H_FILE
138135#
139136
140137set (PROFILES_CPP_FILE
141- "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/profiles/v1experimental /profiles.pb.cc"
138+ "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/profiles/v1development /profiles.pb.cc"
142139)
143140set (PROFILES_H_FILE
144- "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/profiles/v1experimental/profiles.pb.h"
145- )
146- set (PROFILES_EXT_CPP_FILE
147- "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/profiles/v1experimental/pprofextended.pb.cc"
148- )
149- set (PROFILES_EXT_H_FILE
150- "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/profiles/v1experimental/pprofextended.pb.h"
141+ "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/profiles/v1development/profiles.pb.h"
151142)
152143set (PROFILES_SERVICE_PB_H_FILE
153- "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/collector/profiles/v1experimental /profiles_service.pb.h"
144+ "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/collector/profiles/v1development /profiles_service.pb.h"
154145)
155146set (PROFILES_SERVICE_PB_CPP_FILE
156- "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/collector/profiles/v1experimental /profiles_service.pb.cc"
147+ "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/collector/profiles/v1development /profiles_service.pb.cc"
157148)
158149
159150if (WITH_OTLP_GRPC)
160151 set (PROFILES_SERVICE_GRPC_PB_H_FILE
161- "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/collector/profiles/v1experimental /profiles_service.grpc.pb.h"
152+ "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/collector/profiles/v1development /profiles_service.grpc.pb.h"
162153 )
163154 set (PROFILES_SERVICE_GRPC_PB_CPP_FILE
164- "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/collector/profiles/v1experimental /profiles_service.grpc.pb.cc"
155+ "${GENERATED_PROTOBUF_PATH} /opentelemetry/proto/collector/profiles/v1development /profiles_service.grpc.pb.cc"
165156 )
166157endif ()
167158
@@ -243,8 +234,6 @@ set(PROTOBUF_GENERATED_FILES
243234 ${METRICS_PB_CPP_FILE}
244235 ${PROFILES_H_FILE}
245236 ${PROFILES_CPP_FILE}
246- ${PROFILES_EXT_H_FILE}
247- ${PROFILES_EXT_CPP_FILE}
248237 ${TRACE_SERVICE_PB_H_FILE}
249238 ${TRACE_SERVICE_PB_CPP_FILE}
250239 ${LOGS_SERVICE_PB_H_FILE}
@@ -283,7 +272,6 @@ foreach(
283272 ${LOGS_PROTO}
284273 ${METRICS_PROTO}
285274 ${PROFILES_PROTO}
286- ${PROFILES_EXT_PROTO}
287275 ${TRACE_SERVICE_PROTO}
288276 ${LOGS_SERVICE_PROTO}
289277 ${METRICS_SERVICE_PROTO}
@@ -298,7 +286,7 @@ add_custom_command(
298286 ${PROTOBUF_PROTOC_EXECUTABLE} ${PROTOBUF_COMMON_FLAGS}
299287 ${PROTOBUF_INCLUDE_FLAGS} ${COMMON_PROTO} ${RESOURCE_PROTO} ${TRACE_PROTO}
300288 ${LOGS_PROTO} ${METRICS_PROTO} ${TRACE_SERVICE_PROTO} ${LOGS_SERVICE_PROTO}
301- ${METRICS_SERVICE_PROTO} ${PROFILES_PROTO} ${PROFILES_EXT_PROTO}
289+ ${METRICS_SERVICE_PROTO} ${PROFILES_PROTO}
302290 ${PROFILES_SERVICE_PROTO}
303291 COMMENT "[Run]: ${PROTOBUF_RUN_PROTOC_COMMAND} " )
304292
0 commit comments