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

How to make Views exporter specific? #6106

Open
StarpTech opened this issue Dec 22, 2024 · 3 comments
Open

How to make Views exporter specific? #6106

StarpTech opened this issue Dec 22, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@StarpTech
Copy link

StarpTech commented Dec 22, 2024

Problem Statement

Hello, in the SDK, you can have multiple exporters per meter. Currently we use Views to drop metrics and attributes on a global level. At the same time, we allow our users to define their own exporters. We want to allow dropping metrics and attributes per exporter level because each backend has different expectations. Unfortunately, we haven't found a way to do this in the SDK because views only provide access to the instrumentation information.

@StarpTech StarpTech added the enhancement New feature or request label Dec 22, 2024
@dmathieu
Copy link
Member

I think this is something that needs to be handled at the specification level.

@pellared
Copy link
Member

pellared commented Jan 7, 2025

Unfortunately, we haven't found a way to do this in the SDK because views only provide access to the instrumentation information.

Can you use the OTel Collector to drop metrics and attributes instead of doing it in the SDK?

@StarpTech
Copy link
Author

StarpTech commented Jan 7, 2025

We don't always own the collector. Customers can use their own or SaaS and it also might not be always feasible. More importantly, we want to avoid any overhead in the service. We're developing a high performance API Gateway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants