Skip to content

Application signals rules not working for traces #1939

@hemalgadhiya

Description

@hemalgadhiya

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions