service_namefor JaegerSpanExporter - in current implementation it's possible only by direct changes in the code. I would say it's not user friendly. I didn't find any issue about this kind of functionality. Maybe it's worth to create one and use
OTEL_RESOURCE_ATTRIBUTESvariable to set it?
Just joined and working on my first issue (open-telemetry/opentelemetry-python#1111).
I was wondering if anybody got this error when trying to do
pip install opentelemetry-exporter-zipkin to run the tests.
ERROR: Could not find a version that satisfies the requirement opentelemetry-exporter-zipkin (from versions: none)
ERROR: No matching distribution found for opentelemetry-exporter-zipkin
Hi eveyone, is the
opentelemetry-exporter-otlppython package supposed to ship both the trace and metric exporters? I just tried installing it from pypi and looks like it only includes the trace exporter.
pip install opentelemetry-exporter-otlp ls venv/lib/python3.7/site-packages/opentelemetry/exporter/otlp/ __init__.py __pycache__/ trace_exporter/ version.py
Is this expected?
I’d like this to go in but I think it’s already on your radar. open-telemetry/opentelemetry-python#1018
CI started failing after I updated it to latest master. I assume it’s a known issue in master?
Span.pyhere I don't see any Span attributes being directly exposed. Which Attributes is the issue referring to?
Span.Attributesor the Span class's attributes like Span name, Start/End timestamp, Status etc? Thank for the help! :D
Updated auto-instrumentation PR to confirm to recently merged Otel spec. open-telemetry/opentelemetry-python#1036
Would love to hear more thoughts on it.
could you please help me to understand something. I've very simple script. I'm using auto instrumentation
opentelemetry-instrument python test.py
import requests from opentelemetry import trace from opentelemetry.sdk.trace import TracerProvider from opentelemetry.sdk.trace.export import ( ConsoleSpanExporter, SimpleExportSpanProcessor ) trace.set_tracer_provider(TracerProvider()) trace.get_tracer(__name__) trace.get_tracer_provider().add_span_processor( SimpleExportSpanProcessor(ConsoleSpanExporter()) ) def main(): requests.get("http://localhost:8082/do_espresso") print("span_id=", trace.get_current_span().get_context().span_id) main()
I would like to know why
ConsoleExporter is showing properly generated span but when I want to get only
trace.get_current_span().get_context().span_id as result I'm getting
0. Could you please tell me what I'm doing wrong? (in my flask apps I'm doing the same and I'm getting