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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opentelemetry-resourcedetector-process-0.3.0.tar.gz.
File metadata
- Download URL: opentelemetry-resourcedetector-process-0.3.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74f51704e40ec73bda088f710f69029802a8c96a06fb0b12e597cdd03fdfe0e9
|
|
| MD5 |
071a63a6cbe8bc766a563317e0e35865
|
|
| BLAKE2b-256 |
46c1ad691893544068a008f94e0dcc39e641adf6c9ccaf13414f23c1ffbe5bbf
|
File details
Details for the file opentelemetry_resourcedetector_process-0.3.0-py3-none-any.whl.
File metadata
- Download URL: opentelemetry_resourcedetector_process-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59d770d89c93e873e87ac925b86cfde8a53a0ec04b5418be8d6293f94f42de0f
|
|
| MD5 |
bc7ddf06d04c57e7bc703585a23c4332
|
|
| BLAKE2b-256 |
4baed8f71b176eff48d7b56bc5dc54ecbb0dff4ab2f022682a2e24ca1eeb4d09
|