|
|
@ -2,6 +2,7 @@ syntax = "proto3"; |
|
|
|
|
|
|
|
|
|
|
|
package envoy.extensions.access_loggers.open_telemetry.v3; |
|
|
|
package envoy.extensions.access_loggers.open_telemetry.v3; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import "envoy/config/core/v3/extension.proto"; |
|
|
|
import "envoy/extensions/access_loggers/grpc/v3/als.proto"; |
|
|
|
import "envoy/extensions/access_loggers/grpc/v3/als.proto"; |
|
|
|
|
|
|
|
|
|
|
|
import "opentelemetry/proto/common/v1/common.proto"; |
|
|
|
import "opentelemetry/proto/common/v1/common.proto"; |
|
|
@ -22,7 +23,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE; |
|
|
|
// populate `opentelemetry.proto.collector.v1.logs.ExportLogsServiceRequest.resource_logs <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/collector/logs/v1/logs_service.proto>`_. |
|
|
|
// populate `opentelemetry.proto.collector.v1.logs.ExportLogsServiceRequest.resource_logs <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/collector/logs/v1/logs_service.proto>`_. |
|
|
|
// In addition, the request start time is set in the dedicated field. |
|
|
|
// In addition, the request start time is set in the dedicated field. |
|
|
|
// [#extension: envoy.access_loggers.open_telemetry] |
|
|
|
// [#extension: envoy.access_loggers.open_telemetry] |
|
|
|
// [#next-free-field: 7] |
|
|
|
// [#next-free-field: 8] |
|
|
|
message OpenTelemetryAccessLogConfig { |
|
|
|
message OpenTelemetryAccessLogConfig { |
|
|
|
// [#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.] |
|
|
|
// [#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.] |
|
|
|
grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [(validate.rules).message = {required: true}]; |
|
|
|
grpc.v3.CommonGrpcAccessLogConfig common_config = 1 [(validate.rules).message = {required: true}]; |
|
|
@ -51,4 +52,9 @@ message OpenTelemetryAccessLogConfig { |
|
|
|
// ``access_logs.open_telemetry_access_log.``. If non-empty, stats will be rooted at |
|
|
|
// ``access_logs.open_telemetry_access_log.``. If non-empty, stats will be rooted at |
|
|
|
// ``access_logs.open_telemetry_access_log.<stat_prefix>.``. |
|
|
|
// ``access_logs.open_telemetry_access_log.<stat_prefix>.``. |
|
|
|
string stat_prefix = 6; |
|
|
|
string stat_prefix = 6; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Specifies a collection of Formatter plugins that can be called from the access log configuration. |
|
|
|
|
|
|
|
// See the formatters extensions documentation for details. |
|
|
|
|
|
|
|
// [#extension-category: envoy.formatter] |
|
|
|
|
|
|
|
repeated config.core.v3.TypedExtensionConfig formatters = 7; |
|
|
|
} |
|
|
|
} |
|
|
|