-
Notifications
You must be signed in to change notification settings - Fork 236
Description
Describe the bug
A clear and concise description of what the bug is.
In the cloudwatch agent configuration when we set the rules for application signals to drop certain metrics and traces under logs --> metrics_collected --> application_signals section, the traces are not getting filtered based on the rules. It works for metrics only. The documentation says it applies to traces_collected also implicitly
Steps to reproduce
If possible, provide a recipe for reproducing the error.
What did you expect to see?
I expect the traces also to be filtered
What did you see instead?
What version did you use?
Version: latest
What config did you use?
Config:
{ "agent": { "debug": true }, "traces": { "traces_collected": { "application_signals": { "rules": [] } } }, "logs": { "metrics_collected": { "application_signals": { "rules": [ { "rule_name": "rule_1", "selectors": [ { "dimension": "RemoteService", "match": "169.254.170.2" }, { "dimension": "Service", "match": "*" }, { "dimension": "RemoteOperation", "match": "*" } ], "action": "drop" } ] } } } }
Environment
OS: (e.g., "Ubuntu 20.04")
Additional context
Add any other context about the problem here.