semvec/pypi-packages huggingface dataset:
opentelemetry-exporter-cloud-trace 0.10b1
Deprecated Cloud Trace integration for OpenTelemetry
License: Apache-2.0
Requires Python: >=3.4

OpenTelemetry Cloud Trace Exporters
===================================

DEPRECATED
----------

**This package is deprecated. It will not
receive any more updates.** Please use `opentelemetry-exporter-gcp-trace
<https://pypi.org/project/opentelemetry-exporter-gcp-trace/>`_ and
`opentelemetry-propagator-gcp
<https://pypi.org/project/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
-----

.. code:: python

    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
----------

* `Cloud Trace <https://cloud.google.com/trace/>`_
* `OpenTelemetry Project <https://opentelemetry.io/>`_
opentelemetry-exporter-cloud-monitoring 0.10b1
Deprecated Cloud Monitoring integration for OpenTelemetry
License: Apache-2.0
Requires Python: >=3.4

OpenTelemetry Cloud Monitoring Exporters
========================================

DEPRECATED
----------

**This package is deprecated. It will not
receive any more updates.** Please use `opentelemetry-exporter-gcp-monitoring
<https://pypi.org/project/opentelemetry-exporter-gcp-monitoring/>`_ instead. It
will not receive any more updates.

This library provides classes for exporting metrics data to Google Cloud Monitoring.

Installation
------------

::

    pip install opentelemetry-exporter-cloud-monitoring

References
----------

* `OpenTelemetry Cloud Monitoring Exporter <https://opentelemetry-python.readthedocs.io/en/latest/ext/cloud_monitoring/cloud_monitoring.html>`_
* `Cloud Monitoring <https://cloud.google.com/monitoring/>`_
* `OpenTelemetry Project <https://opentelemetry.io/>`_