Skip to main content

An OpenTelemetry package to populates Resource attributes from the running process

Project description

opentelemetry-resourcedetector-process

An OpenTelemetry package to populates Resource attributes from the running process.

Usage

from opentelemetry.sdk.resources import get_aggregated_resources
from opentelemetry_resourcedetector_process import ProcessResourceDetector

...

resource = get_aggregated_resources([
    ProcessResourceDetector(),
    SomeOtherResourceDetector()
])

... pass the returned `resource` to a TracerProvder, for example ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file opentelemetry-resourcedetector-process-0.0.1.tar.gz.

File metadata

File hashes

Hashes for opentelemetry-resourcedetector-process-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8f30389ffb623e806da4790e631a2e172cc213d3d6fcfa28dbe231d777fa3706
MD5 d6adaed6882e3d2f2421b51b42e06ab9
BLAKE2b-256 f0977451653772211fab2d91fce9a957c5792c155e71768ac15d54b7fedf8519

See more details on using hashes here.

File details

Details for the file opentelemetry_resourcedetector_process-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_resourcedetector_process-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8e44eb79346dc631301871cf33d75a888eb4ce74a80c53b057564a94b77180d
MD5 4c727b0cdb20c481432f1bff68298d8d
BLAKE2b-256 2a31e6ddd31f8d0d8139e2546d023c931873d5c09905977d26814ea24915777e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page