1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

chore: add more metrics to redisotel

This commit is contained in:
Vladimir Mihailenco
2022-11-17 16:24:16 +02:00
parent f9e60f214b
commit 44af3c09a7
5 changed files with 54 additions and 21 deletions

View File

@ -22,7 +22,7 @@ func main() {
uptrace.ConfigureOpentelemetry(
// copy your project DSN here or use UPTRACE_DSN env var
// uptrace.WithDSN("http://project2_secret_token@localhost:14317/2"),
uptrace.WithDSN("http://project2_secret_token@localhost:14317/2"),
uptrace.WithServiceName("myservice"),
uptrace.WithServiceVersion("v1.0.0"),