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.3.0.tar.gz.

File metadata

File hashes

Hashes for opentelemetry-resourcedetector-process-0.3.0.tar.gz
Algorithm Hash digest
SHA256 74f51704e40ec73bda088f710f69029802a8c96a06fb0b12e597cdd03fdfe0e9
MD5 071a63a6cbe8bc766a563317e0e35865
BLAKE2b-256 46c1ad691893544068a008f94e0dcc39e641adf6c9ccaf13414f23c1ffbe5bbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opentelemetry_resourcedetector_process-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59d770d89c93e873e87ac925b86cfde8a53a0ec04b5418be8d6293f94f42de0f
MD5 bc7ddf06d04c57e7bc703585a23c4332
BLAKE2b-256 4baed8f71b176eff48d7b56bc5dc54ecbb0dff4ab2f022682a2e24ca1eeb4d09

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