Skip to content

Commit 23f042c

Browse files
committed
Add LogsData import
1 parent 8743108 commit 23f042c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

newrelic/core/otlp_utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from newrelic.packages.opentelemetry_proto.common_pb2 import AnyValue, KeyValue
2323
from newrelic.packages.opentelemetry_proto.logs_pb2 import (
2424
LogRecord,
25+
LogsData,
2526
ResourceLogs,
2627
ScopeLogs,
2728
)
@@ -69,6 +70,7 @@ def otlp_encode(*args, **kwargs):
6970
ResourceLogs = dict
7071
ScopeLogs = dict
7172
LogRecord = dict
73+
LogsData = dict
7274
OTLP_CONTENT_TYPE = "application/json"
7375

7476

0 commit comments

Comments
 (0)