Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion gen/go/proto/v1/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ message Reporting {

// When `true`, modifies grpc resolver to use dns instead of passthrough and configure round robin client side loadbalancing
google.protobuf.BoolValue enable_grpc_loadbalancing = 9;

// Compression type
CompressionType compression_type = 10;
}

// Opa covers the options related to the mechanics for getting Open Policy Agent configuration file.
Expand Down Expand Up @@ -397,6 +400,9 @@ message Telemetry {
// Whether to capture metrics or not. The metrics will be otel go metrics.
// See https://github.com/open-telemetry/opentelemetry-go/tree/main/metric
google.protobuf.BoolValue metrics_enabled = 2;

// Configure logs export.
LogsExport logs = 3;
}

message MetricsExporterConfig {
Expand Down Expand Up @@ -454,4 +460,19 @@ enum SpanSanitizationMode {

// drop the attribute and continue processing the span
SPAN_SANITIZATION_MODE_CONTINUE = 2;
}
}

message LogsExport {
// when true, logs from the agent will be exported to Traceable Platform Agent
// via Opentelemetry Logs pipeline. Reporting config is shared with the Traces pipeline.
google.protobuf.BoolValue enabled = 1;

// the level of logs to export, anything below that level will not be exported,
// it'll only be available in the local log file.
LogLevel level = 2;
}

enum CompressionType {
COMPRESSION_TYPE_UNSPECIFIED = 0;
COMPRESSION_TYPE_GZIP = 1;
}
Loading
Loading