WIPACrepo / wipac-telemetry

WIPAC Telemetry: Monitoring/Tracing Applications, Supporting Infrastructures, and Services
MIT License
0 stars 0 forks source link

deprecation of InstrumentationInfo #59

Open dsschult opened 2 years ago

dsschult commented 2 years ago
 _______________________________ test_10_request ________________________________
tests/unit_client/client_test.py:45: in test_10_request
    ret = await rpc.request("POST", "test", {})
/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/wipac_telemetry/tracing_tools/spans.py:314: in async_wrapper
    span = setup(args, kwargs)
/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/wipac_telemetry/tracing_tools/spans.py:243: in setup
    return scond.get_span(FunctionInspector(func, args, kwargs))
/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/wipac_telemetry/tracing_tools/spans.py:170: in get_span
    tracer = get_tracer(tracer_name)
/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/opentelemetry/trace/__init__.py:498: in get_tracer
    return tracer_provider.get_tracer(
/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/opentelemetry/sdk/trace/__init__.py:1144: in get_tracer
    InstrumentationInfo(
/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/deprecated/classic.py:284: in wrapper_function
    warnings.warn(msg, category=category, stacklevel=_routine_stacklevel)
E   DeprecationWarning: Call to deprecated method __init__. (You should use InstrumentationScope) -- Deprecated since version 1.11.1.