File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/traceloop-sdk/traceloop/sdk Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def init(
6969 block_instruments : Optional [Set [Instruments ]] = None ,
7070 image_uploader : Optional [ImageUploader ] = None ,
7171 span_postprocess_callback : Optional [Callable [[ReadableSpan ], None ]] = None ,
72- traceloop_backend : Optional [bool ] = False ,
72+ endpoint_is_traceloop : Optional [bool ] = False ,
7373 ) -> Optional [Client ]:
7474 if not enabled :
7575 TracerWrapper .set_disabled (True )
@@ -181,7 +181,7 @@ def init(
181181 Traceloop .__logger_wrapper = LoggerWrapper (exporter = logging_exporter )
182182
183183 if (
184- (api_endpoint .find ("traceloop.com" ) != - 1 or traceloop_backend )
184+ (api_endpoint .find ("traceloop.com" ) != - 1 or endpoint_is_traceloop )
185185 and api_key
186186 and (exporter is None )
187187 and (processor is None )
You can’t perform that action at this time.
0 commit comments