MCPcopy
hub / github.com/IBM/AssetOpsBench / _http_endpoint_set

Function _http_endpoint_set

src/observability/tracing.py:39–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38
39def _http_endpoint_set() -> bool:
40 return bool(
41 os.environ.get("OTEL_EXPORTER_OTLP_ENDPOINT")
42 or os.environ.get("OTEL_EXPORTER_OTLP_TRACES_ENDPOINT")
43 )
44
45
46def _tracing_enabled() -> bool:

Callers 2

_tracing_enabledFunction · 0.85
init_tracingFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected