temporal icon indicating copy to clipboard operation
temporal copied to clipboard

gocql tracing

Open mmcshane opened this issue 3 years ago • 1 comments

What changed? Add gocql tracing.

Why? Useful know when and what queries are being issued.

How did you test it? New unit tests.

Potential risks Storage latency? But this is specifically constructed so that if tracing is disabled (the default case), overhead is minimal.

Is hotfix candidate? No.

mmcshane avatar Aug 18 '22 20:08 mmcshane

Note that there's a fair amount of threading TracerProviders into place here. The main contribution is in gocql/tracing.go and its associated unit test.

We prefer this implementation to the one in otel-contrib because this one logs gocql batch queries.

mmcshane avatar Aug 18 '22 20:08 mmcshane