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

redis: add opentelemtry.io instrumentation #129

Closed
glimchb opened this issue Oct 18, 2023 · 1 comment
Closed

redis: add opentelemtry.io instrumentation #129

glimchb opened this issue Oct 18, 2023 · 1 comment

Comments

@glimchb
Copy link
Contributor

glimchb commented Oct 18, 2023

from https://github.com/redis/go-redis/blob/master/example/otel/client.go

        import "github.com/redis/go-redis/extra/redisotel/v9"

	rdb := redis.NewClient(&redis.Options{
		Addr: ":6379",
	})
	if err := redisotel.InstrumentTracing(rdb); err != nil {
		panic(err)
	}
	if err := redisotel.InstrumentMetrics(rdb); err != nil {
		panic(err)
	}
@glimchb
Copy link
Contributor Author

glimchb commented Oct 31, 2023

closed, see comments in #131

@glimchb glimchb closed this as completed Oct 31, 2023
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 a pull request may close this issue.

1 participant