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

sdk-metrics: add ExemplarFilter and TraceContextLookup #596

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

iRevive
Copy link
Contributor

@iRevive iRevive commented Apr 13, 2024

@iRevive iRevive added metrics Improvement to metrics module sdk module Features and improvements to the sdk module labels Apr 13, 2024
@iRevive iRevive requested a review from NthPortal April 13, 2024 12:22

/** Provides a way to extract [[TraceContext]] from the [[Context]].
*/
trait TraceContextLookup {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here is an example of the 'real' implementation: https:/iRevive/otel4s/blob/e5c1d041f4a7b025ee264c2358996f9e3a6031b1/sdk/all/src/main/scala/org/typelevel/otel4s/sdk/OpenTelemetrySdk.scala#L381-L394

@NthPortal I still keep in mind your idea to move TraceContext to the core-common. Perhaps we can even share the Context.Key[TraceContext] that way. Once we get closer to the final implementation, I will revisit it.

@iRevive iRevive force-pushed the sdk-metrics/exemplar-filter branch from 21cdeaa to a433efe Compare April 13, 2024 14:59
@iRevive iRevive merged commit 2c68166 into typelevel:main Apr 16, 2024
10 checks passed
@iRevive iRevive deleted the sdk-metrics/exemplar-filter branch April 16, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metrics Improvement to metrics module sdk module Features and improvements to the sdk module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant