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
Close
Hashes for opentelemetry-resourcedetector-docker-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2723c8c7e63d78eabd9c6ebf7cca7570f4b73d3db18687544073f3c8f280c0bb |
|
MD5 | 70dd89fba810c47a541d7402879b61af |
|
BLAKE2b-256 | 38bbf30a59fd8cb41fac8d7d91ad48179e33f011eb8a7d43b1f38a93050803b7 |
Close
Hashes for opentelemetry_resourcedetector_docker-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0313ef1678f8af895b4da00b1643567fd50238ffbf2480ce56a6e73d9c7ff32c |
|
MD5 | 0048565158c6ae786661751e1197f5a4 |
|
BLAKE2b-256 | 6bc85c7737286172dcfe3c23280d1159b60d0c7f07ffe9a2cff25ade89cfbb79 |