From cff8533b8e18ff46fca3e0dba3c282249d1ebf15 Mon Sep 17 00:00:00 2001 From: Shivansh Anand Srivastava Date: Fri, 7 Jun 2024 19:07:40 +0530 Subject: [PATCH] Proto change for adding evaluation targets for each exclude span rule (#216) --- .../v1/span_processing_config_service.proto | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/span-processing-config-service-api/src/main/proto/org/hypertrace/span/processing/config/service/v1/span_processing_config_service.proto b/span-processing-config-service-api/src/main/proto/org/hypertrace/span/processing/config/service/v1/span_processing_config_service.proto index d40da4ab..720867f5 100644 --- a/span-processing-config-service-api/src/main/proto/org/hypertrace/span/processing/config/service/v1/span_processing_config_service.proto +++ b/span-processing-config-service-api/src/main/proto/org/hypertrace/span/processing/config/service/v1/span_processing_config_service.proto @@ -66,8 +66,23 @@ message ExcludeSpanRuleInfo { SpanFilter filter = 2; bool disabled = 3; RuleType type = 4; + repeated EvaluationTarget evaluation_targets = 5; } +message EvaluationTarget { + oneof target { + Platform platform = 1; + Agent agent = 2; + AgentModule agent_module = 3; + } +} + +message Platform {} + +message Agent {} + +message AgentModule {} + message ExcludeSpanRuleMetadata { google.protobuf.Timestamp creation_timestamp = 1; google.protobuf.Timestamp last_updated_timestamp = 2;