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

feat: add new PrescientDimensions type to support edge cases in which dimensions need to be added to both an OTLP resource and each metric #35

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

tylerburdsall
Copy link
Contributor

Adds support for PrescientDimensions.AsMixedResourceDimensions

This allows users to specify their PrescientDimensions to be attached to both an OTLP Resource and each metric datum itself. It unfortunately adds a memory cost for each batch being sent, but this allows users to send metrics
to providers who ingest OTLP but may use a different backend (like Prometheus).

… dimensions need to be added to both an OTLP resource and each metric
@tylerburdsall tylerburdsall requested a review from kvc0 March 14, 2024 20:47
Copy link
Owner

@kvc0 kvc0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for plumbing this through

@kvc0 kvc0 merged commit a6ba19a into kvc0:main Mar 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants