An OpenTelemetry package to populates Resource attributes from Docker containers
Project description
opentelemetry-resourcedetector-docker
An OpenTelemetry package to populates Resource attributes from Docker containers.
Usage
from opentelemetry.sdk.resources import get_aggregated_resources
from opentelemetry_resourcedetector_docker import DockerResourceDetector
...
resource = get_aggregated_resources([
DockerResourceDetector(),
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-docker-0.4.0.tar.gz
.
File metadata
- Download URL: opentelemetry-resourcedetector-docker-0.4.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2723c8c7e63d78eabd9c6ebf7cca7570f4b73d3db18687544073f3c8f280c0bb |
|
MD5 | 70dd89fba810c47a541d7402879b61af |
|
BLAKE2b-256 | 38bbf30a59fd8cb41fac8d7d91ad48179e33f011eb8a7d43b1f38a93050803b7 |
File details
Details for the file opentelemetry_resourcedetector_docker-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: opentelemetry_resourcedetector_docker-0.4.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 | 0313ef1678f8af895b4da00b1643567fd50238ffbf2480ce56a6e73d9c7ff32c |
|
MD5 | 0048565158c6ae786661751e1197f5a4 |
|
BLAKE2b-256 | 6bc85c7737286172dcfe3c23280d1159b60d0c7f07ffe9a2cff25ade89cfbb79 |