Commit Graph

8 Commits

Author SHA1 Message Date
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