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

5 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
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
9a9423d3df chore(deps): Update otel/metric to stable API (#2607) 2023-05-24 12:07:43 +03:00
44af3c09a7 chore: add more metrics to redisotel 2022-11-17 16:24:16 +02:00
0dff3d1461 feat: add OpenTelemetry metrics instrumentation 2022-10-12 11:09:41 +03:00