Skip to content

Commit

Permalink
Proto change for adding evaluation targets for each exclude span rule (
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandShivansh authored Jun 7, 2024
1 parent 31fc31e commit cff8533
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cff8533

Please sign in to comment.