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
What did you expect to see? Sending Traces to AWS X-Ray should be like the following because BatchExportSpanProcessor is renamed to BatchSpanProcessor at this PR and AwsXRayIdsGenerator is renamed to AwsXRayIdGenerator at this PR.
from opentelemetry.sdk.trace.export import BatchSpanProcessor
from opentelemetry.sdk.extension.aws.trace import AwsXRayIdGenerator
# Sends generated traces in the OTLP format to an ADOT Collector running on port 4317
otlp_exporter = OTLPSpanExporter(endpoint="http://localhost:4317")
# Processes traces in batches as opposed to immediately one after the other
span_processor = BatchSpanProcessor(otlp_exporter)
from opentelemetry.sdk.trace.export import BatchExportSpanProcessor
from opentelemetry.sdk.extension.aws.trace import AwsXRayIdsGenerator
# Sends generated traces in the OTLP format to an ADOT Collector running on port 4317
otlp_exporter = OTLPSpanExporter(endpoint="http://localhost:4317")
# Processes traces in batches as opposed to immediately one after the other
span_processor = BatchExportSpanProcessor(otlp_exporter)
The text was updated successfully, but these errors were encountered:
Hi thank you for the contribution! Looks like the documentation is out of date. As a note, we do accept contributions to the website repo if you were interested in filing a PR.
Describe the bug
Tracing with ADOT Python SDK and X-Ray documentation uses some old classes.
What did you expect to see?
Sending Traces to AWS X-Ray should be like the following because
BatchExportSpanProcessor
is renamed toBatchSpanProcessor
at this PR andAwsXRayIdsGenerator
is renamed toAwsXRayIdGenerator
at this PR.What did you see instead?
At Sending Traces to AWS X-Ray, doc says:
The text was updated successfully, but these errors were encountered: