Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

OpenTelemetry Cloud Trace Exporters

DEPRECATED

This package is deprecated. It will not receive any more updates. Please use opentelemetry-exporter-gcp-trace and opentelemetry-propagator-gcp instead. It will not receive any more updates.

This library provides classes for exporting trace data to Google Cloud Trace.

Installation

pip install opentelemetry-exporter-cloud-trace

Usage

from opentelemetry import trace
from opentelemetry.exporter.cloud_trace import CloudTraceSpanExporter
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import (
    SimpleExportSpanProcessor,
)

trace.set_tracer_provider(TracerProvider())

cloud_trace_exporter = CloudTraceSpanExporter(
    project_id='my-gcloud-project',
)
trace.get_tracer_provider().add_span_processor(
    SimpleExportSpanProcessor(cloud_trace_exporter)
)
tracer = trace.get_tracer(__name__)
with tracer.start_as_current_span('foo'):
    print('Hello world!')

References

Metadata

Release files for opentelemetry-exporter-cloud-trace 0.10b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opentelemetry-exporter-cloud-trace 0.10b1
File Size Uploaded Provenance Actions
opentelemetry-exporter-cloud-trace-0.10b1.tar.gz 7.0 kB Without provenance Details for opentelemetry-exporter-cloud-trace-0.10b1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for opentelemetry-exporter-cloud-trace 0.10b1
File Interpreter ABI Platform Actions
opentelemetry_exporter_cloud_trace-0.10b1-py3-none-any.whl Python 3 none any Details for opentelemetry_exporter_cloud_trace-0.10b1-py3-none-any.whl

Total release size: 14.6 kB

Release files / opentelemetry-exporter-cloud-trace-0.10b1.tar.gz

Download URL opentelemetry-exporter-cloud-trace-0.10b1.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
92a665d207fd8767cb62dbdb0eae925a2c415c0dadd6b7dd9fb2c99a445b2235
BLAKE2b-256 checksum
How to use checksums
00721e7b3e03e8f90ce2142b7216fb9308053c27aec421114fdb52155447a0d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

Release files / opentelemetry_exporter_cloud_trace-0.10b1-py3-none-any.whl

Download URL opentelemetry_exporter_cloud_trace-0.10b1-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdb7fb9c10af91efbc8b7978c5650a879d30928b04bc51e042c5db1a01aff7da
BLAKE2b-256 checksum
How to use checksums
5d8f0866c835977ad3d4353a8de233b0d9d4bc013133cd3929e0c2c576bed857
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

Security for opentelemetry-exporter-cloud-trace 0.10b1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page