1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-20 22:42:59 +03:00

9 Commits

Author SHA1 Message Date
fa475cbc99 feat(redisotel): add WithCallerEnabled option (#3415)
* feat(redisotel): add WithCaller option

Allow the disabling the collection of the `code.function`, `code.filepath` and `code.lineno` tracing attributes.
When setting `WithCaller(false)` overall performance is increased as the "expensive" `runtime.Callers` and `runtime.(*Frames).Next` calls are no longer needed.

* chore(redisotel): improve docblock language

* chore(redisotel): rename `WithCaller` to `WithCallerEnabled`

---------

Co-authored-by: Nedyalko Dyakov <1547186+ndyakov@users.noreply.github.com>
2025-06-24 10:53:35 +03:00
5314a57132 fix(redisotel): fix the situation of reporting spans multiple times (#3168)
Co-authored-by: Nedyalko Dyakov <nedyalko.dyakov@gmail.com>
2025-02-27 17:14:46 +02:00
0f0a28464c Remove skipping span creation by checking parent spans (#2980)
* Remove skipping span creation by checking parent spans

* Update CHANGELOG
2024-05-10 09:52:32 +03:00
f3fe61148b add server address and port attributes to redis otel trace instrumentation (#2826)
Co-authored-by: esara <esara@causely.io>
2024-03-27 08:56:11 +02:00
97b491aace chore: update import path 2023-01-23 08:48:54 +02:00
3892986f01 feat(redisotel): add code attributes 2022-12-06 11:49:56 +02:00
7335ef65dc chore: cleanup 2022-11-21 11:31:38 +02:00
2ec03d9b37 fix: late binding for dial hook 2022-10-12 15:00:06 +03:00
0dff3d1461 feat: add OpenTelemetry metrics instrumentation 2022-10-12 11:09:41 +03:00