Skip to content

Log normalised full statement in Redis instrumentations #1406

@mateuszrzeszutek

Description

@mateuszrzeszutek

To be done after #1405 gets merged

Currently Lettuce 5.1 is the only instrumentation that logs the full db.statement, all others are just logging the command. DB semantic convention says that we should log full statement if possible:

For Redis, the value provided for db.statement SHOULD correspond to the syntax of the Redis CLI. If, for example, the HMSET command is invoked, "HMSET myhash field1 'Hello' field2 'World'" would be a suitable value for db.statement.

The aim of this issue is to straighten this out and use RedisCommandNormalizer in all Redis instrumentations (where it's possible to do so).

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions