Commit Graph

11 Commits

Author SHA1 Message Date
Jonas Lergell 39faaa1715 feat: add support for passing extra attributes added to spans 2022-02-22 14:15:28 +01:00
Nelz 3ecadf5f87
chore: instrumentation name and version () 2022-02-02 09:26:14 +02:00
Nelz bf8d4aa60c
feat(redisotel): ability to override TracerProvider () 2022-01-18 08:44:05 +02:00
Kristinn Björgvin Árdal 065b200070 fix(extra/redisotel): set span.kind attribute to client
According to the opentelemetry specification this should always be set to client for database client
libraries.

I've also removed the SetAttributes call and instead set the attributes during creation of the span.
This is what the library SHOULD be doing according to the opentelemetry api specification.
2021-10-27 10:28:48 +02:00
Vladimir Mihailenco 9b6ee9c3cc chore: gofmt all code 2021-09-08 16:52:29 +03:00
Vladimir Mihailenco ef568e261e Add constructors 2021-04-16 15:00:10 +03:00
Vladimir Mihailenco 24c92382c9 Make extra modules to follow go-redis versioning 2021-04-16 14:55:14 +03:00
lawmatsuyama dd7fefe738 change otel/label for otel/attribute 2021-03-03 22:43:10 -03:00
Vladimir Mihailenco 3921cd497c Update to otel v0.14 2020-11-21 09:56:52 +02:00
Vladimir Mihailenco 13782c03d0 Tweak otel span and attr names 2020-11-15 14:30:27 +02:00
Vladimir Mihailenco 7b1a844a5b Add extra modules 2020-10-21 15:19:27 +03:00