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(otlp/metrics): add in memory exporter and noop meter provider #127

Merged
merged 7 commits into from
Oct 15, 2024

Conversation

gfyrag
Copy link
Contributor

@gfyrag gfyrag commented Oct 12, 2024

No description provided.

@gfyrag gfyrag requested a review from a team as a code owner October 12, 2024 14:22
@gfyrag gfyrag enabled auto-merge (rebase) October 12, 2024 14:23
@gfyrag gfyrag force-pushed the feat/otlp-refine-metrics branch 4 times, most recently from 5cfbdd7 to 313b8d5 Compare October 12, 2024 21:33
@@ -10,9 +9,6 @@ import (
func Execute(cmd *cobra.Command) {
BindEnvToCommand(cmd)
if err := cmd.Execute(); err != nil {
if _, err := fmt.Fprintln(os.Stderr, err); err != nil {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

message display twice

@gfyrag gfyrag disabled auto-merge October 15, 2024 11:21
@gfyrag gfyrag added this pull request to the merge queue Oct 15, 2024
Comment on lines +53 to +56
if cfg.Exporter == "" {
return fx.Provide(fx.Annotate(noop.NewTracerProvider, fx.As(new(trace.TracerProvider))))
}

Copy link

Choose a reason for hiding this comment

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

I was searching this line

Merged via the queue into main with commit 0938c9d Oct 15, 2024
5 checks passed
@gfyrag gfyrag deleted the feat/otlp-refine-metrics branch October 15, 2024 11:41
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.

4 participants