wyhaines / opentelemetry-instrumentation.cr

Bundled integrations for opentelemetry-api.cr (https://github.com/wyhaines/opentelemetry-api.cr).
Apache License 2.0
16 stars 4 forks source link

Kh.add crystal redis 20220504 #17

Closed wyhaines closed 2 years ago

wyhaines commented 2 years ago

This will add Redis support, for both of the Redis shards that I found, to the auto-instrumentation. Since both shards occupy the same namespace, the specs can't be configured to test both at the same time, so the default is to run against the larger and more complex of the two (Stefan Wille's shard).

Specs are borrowed from the specs for the respective shards themselves, in order to confirm full functioning of the shards, with spans being spot-checked on just a few of those specs to ensure that results are what is expected.