Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore | Proto change for adding evaluation targets for each exclude span rule #220

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ message DeleteExcludeSpanRuleResponse {
message ExcludeSpanRule {
string id = 1;
ExcludeSpanRuleInfo rule_info = 2;
repeated EvaluationTarget evaluation_targets = 3;
}

message ExcludeSpanRuleDetails {
Expand All @@ -68,6 +69,20 @@ message ExcludeSpanRuleInfo {
RuleType type = 4;
}

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
Loading