mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-31 06:03:21 +08:00
Update redis instrumentation to follow semantic conventions
This commit is contained in:
@ -31,7 +31,7 @@ class TestRedis(TestBase):
|
||||
spans = self.memory_exporter.get_finished_spans()
|
||||
self.assertEqual(len(spans), 1)
|
||||
span = spans[0]
|
||||
self.assertEqual(span.name, "redis.command")
|
||||
self.assertEqual(span.name, "GET")
|
||||
self.assertEqual(span.kind, SpanKind.CLIENT)
|
||||
|
||||
def test_not_recording(self):
|
||||
|
Reference in New Issue
Block a user