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: exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/_log_exporter/__init__.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
# limitations under the License.
13
13
14
14
fromosimportenviron
15
+
importsys
15
16
fromtypingimportDict, Literal, Optional, Sequence, Tuple, Union
16
17
fromtypingimportSequenceasTypingSequence
17
18
@@ -109,6 +110,11 @@ def _translate_data(
109
110
) ->ExportLogsServiceRequest:
110
111
returnencode_logs(data)
111
112
113
+
def_log_partial_success(self, partial_success):
114
+
# Override that skips the "logging" module due to the possibility
115
+
# of circular logic (logging -> OTLP logs export).
0 commit comments