1
0
mirror of https://github.com/redis/go-redis.git synced 2025-11-26 06:23:09 +03:00
Commit Graph

11 Commits

Author SHA1 Message Date
Udhayarajan
70dfa383fe feat(otel): add trace filter for process pipeline and dial operation (#3550)
* feat(tracing): add process pipeline and dial filtering options for tracing

* refactor(tracing): implement default command filter and process pipeline options

* refactor(tracing): rename defaultCommandFilter to DefaultCommandFilter

* refactor(tracing): add BasicCommandFilter as a deprecated alias for DefaultCommandFilter

---------

Co-authored-by: Nedyalko Dyakov <1547186+ndyakov@users.noreply.github.com>
2025-10-22 12:57:15 +03:00
Jason Parraga
f7eed76fbc Add support for filtering traces for certain commands (#3519)
* Add support for filtering commands when tracing

Signed-off-by: Jason Parraga <sovietaced@gmail.com>

* Filter sensitive data by default

Signed-off-by: Jason Parraga <sovietaced@gmail.com>

* Address comments

Signed-off-by: Jason Parraga <sovietaced@gmail.com>

---------

Signed-off-by: Jason Parraga <sovietaced@gmail.com>
Co-authored-by: Nedyalko Dyakov <1547186+ndyakov@users.noreply.github.com>
2025-10-14 18:15:58 +03:00
Warnar Boekkooi
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
Flc゛
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
Sam Xie
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
Endre Sara
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
Vladimir Mihailenco
97b491aace chore: update import path 2023-01-23 08:48:54 +02:00
Vladimir Mihailenco
3892986f01 feat(redisotel): add code attributes 2022-12-06 11:49:56 +02:00
Vladimir Mihailenco
7335ef65dc chore: cleanup 2022-11-21 11:31:38 +02:00
Vladimir Mihailenco
2ec03d9b37 fix: late binding for dial hook 2022-10-12 15:00:06 +03:00
Vladimir Mihailenco
0dff3d1461 feat: add OpenTelemetry metrics instrumentation 2022-10-12 11:09:41 +03:00