You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: instrumentation/opentelemetry-instrumentation-elasticsearch/src/opentelemetry/instrumentation/elasticsearch/__init__.py
+8-5
Original file line number
Diff line number
Diff line change
@@ -32,15 +32,15 @@
32
32
33
33
from opentelemetry.instrumentation.elasticsearch import ElasticsearchInstrumentor
34
34
import elasticsearch
35
-
35
+
from datetime import datetime
36
36
37
37
# instrument elasticsearch
38
38
ElasticsearchInstrumentor().instrument()
39
39
40
40
# Using elasticsearch as normal now will automatically generate spans
0 commit comments