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

[jaeger-v2] Add Meter Provider To Telemetry Settings #6132

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Garvit-77
Copy link

Which problem is this PR solving?

Description of the changes

  • Added the Meter Provider to telemetry Settings.go

Checklist

@Garvit-77
Copy link
Author

Garvit-77 commented Oct 27, 2024

@mahadzaryab1 The metric.NewMeterProvider has an Option input
(https://pkg.go.dev/go.opentelemetry.io/otel/sdk/metric#NewMeterProvider)
With reader, with resoures, with view

Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

there's no value in this change unless this provider is wired in and used where appropriate

Signed-off-by: Garvit Khandelwal <garvitname@gmail.com>
@Garvit-77
Copy link
Author

there's no value in this change unless this provider is wired in and used where appropriate

the MeterProvider msut be initialized with Which option Reader, Resources or Views
@yurishkuro

@yurishkuro
Copy link
Member

we don't need to initialize it, in jaeger-v2 it is already provided. When used in v1 context we can use noop

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

Successfully merging this pull request may close these issues.

[jaeger-v2] Add Meter Provider To Telemetry Settings
2 participants