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

Dropping Metrics in Datadog Exporter #29585

Closed
TRAD-Anthony-CKO opened this issue Nov 30, 2023 · 3 comments
Closed

Dropping Metrics in Datadog Exporter #29585

TRAD-Anthony-CKO opened this issue Nov 30, 2023 · 3 comments
Labels
enhancement New feature or request exporter/datadog Datadog components needs triage New item requiring triage

Comments

@TRAD-Anthony-CKO
Copy link

Component(s)

exporter/datadog

Is your feature request related to a problem? Please describe.

Multiple applications are usually pushed to the same central OTEL collector. I am trying to drop certain metrics via a name match so they would be ignored and not sent to Datadog.

I would ask the same question as well for tags, I want to drop certain high cardinality tags if I see them on ANY (or regex) metric name.

Reading the docs, I don't think this is possible today.

Describe the solution you'd like

  • An action to drop certain metrics based on a metric's name regex match in the OTEL Collector yml.
  • An action to drop tags via exact name matches in the OTEL Collector yml.

Describe alternatives you've considered

Tried to use the Metric Transform and Attribute Processor but doesn't seem possible as well.

Additional context

No response

@TRAD-Anthony-CKO TRAD-Anthony-CKO added enhancement New feature or request needs triage New item requiring triage labels Nov 30, 2023
@github-actions github-actions bot added the exporter/datadog Datadog components label Nov 30, 2023
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@liustanley
Copy link
Contributor

Hi @TRAD-Anthony-CKO, this behavior of dropping metrics would be better suited in a processor as opposed to an exporter. The filter processor should work for this use case, and the transform processor may work for this as well.

@TRAD-Anthony-CKO
Copy link
Author

Hi @liustanley, thanks for taking the time to respond!

Noted, the filter processor should have those as I saw from the docs. Closing the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request exporter/datadog Datadog components needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

2 participants