49
49
"opentelemetry-proto=[ \\ t]*([A-Za-z0-9_\\ .\\ -]+)" )
50
50
set (opentelemetry-proto "${CMAKE_MATCH_1} " )
51
51
else ()
52
- set (opentelemetry-proto "v1.3.2 " )
52
+ set (opentelemetry-proto "v1.4.0 " )
53
53
endif ()
54
54
unset (OTELCPP_THIRD_PARTY_RELEASE_CONTENT)
55
55
endif ()
@@ -81,10 +81,7 @@ set(LOGS_PROTO "${PROTO_PATH}/opentelemetry/proto/logs/v1/logs.proto")
81
81
set (METRICS_PROTO "${PROTO_PATH} /opentelemetry/proto/metrics/v1/metrics.proto" )
82
82
83
83
set (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" )
88
85
89
86
set (TRACE_SERVICE_PROTO
90
87
"${PROTO_PATH} /opentelemetry/proto/collector/trace/v1/trace_service.proto" )
@@ -95,7 +92,7 @@ set(METRICS_SERVICE_PROTO
95
92
)
96
93
97
94
set (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"
99
96
)
100
97
101
98
set (GENERATED_PROTOBUF_PATH
@@ -138,30 +135,24 @@ set(TRACE_SERVICE_PB_H_FILE
138
135
#
139
136
140
137
set (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"
142
139
)
143
140
set (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"
151
142
)
152
143
set (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"
154
145
)
155
146
set (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"
157
148
)
158
149
159
150
if (WITH_OTLP_GRPC)
160
151
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"
162
153
)
163
154
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"
165
156
)
166
157
endif ()
167
158
@@ -243,8 +234,6 @@ set(PROTOBUF_GENERATED_FILES
243
234
${METRICS_PB_CPP_FILE}
244
235
${PROFILES_H_FILE}
245
236
${PROFILES_CPP_FILE}
246
- ${PROFILES_EXT_H_FILE}
247
- ${PROFILES_EXT_CPP_FILE}
248
237
${TRACE_SERVICE_PB_H_FILE}
249
238
${TRACE_SERVICE_PB_CPP_FILE}
250
239
${LOGS_SERVICE_PB_H_FILE}
@@ -283,7 +272,6 @@ foreach(
283
272
${LOGS_PROTO}
284
273
${METRICS_PROTO}
285
274
${PROFILES_PROTO}
286
- ${PROFILES_EXT_PROTO}
287
275
${TRACE_SERVICE_PROTO}
288
276
${LOGS_SERVICE_PROTO}
289
277
${METRICS_SERVICE_PROTO}
@@ -298,7 +286,7 @@ add_custom_command(
298
286
${PROTOBUF_PROTOC_EXECUTABLE} ${PROTOBUF_COMMON_FLAGS}
299
287
${PROTOBUF_INCLUDE_FLAGS} ${COMMON_PROTO} ${RESOURCE_PROTO} ${TRACE_PROTO}
300
288
${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}
302
290
${PROFILES_SERVICE_PROTO}
303
291
COMMENT "[Run]: ${PROTOBUF_RUN_PROTOC_COMMAND} " )
304
292
0 commit comments