You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Telegraf 1.9.1 (git: HEAD 2063609)
Docker 18.09.4, build d14af54266
Steps to reproduce:
Run a container from a private registry on a specific port, but without a tag, e.g. docker run -d repo.example.com:9003/postgres (no :latest or any other tag, which is a valid way to run a container)
Start Telegraf with the Docker input.
Run telegraf --config <file> --test --input-filter docker and observe the output.
Expected behavior:
The container_image should be repo.example.com:9003/postgres and the container_version should be latest (since no tag was specified).
Actual behavior:
The metrics will show the container_image as repo.example.com and the container_version as 9003/postgres.
Additional info:
The image parsing logic is here, and does not account for the case where the registry URL includes a port and no tag is present in the image name.
The text was updated successfully, but these errors were encountered:
Relevant telegraf.conf:
It's not really relevant, but:
System info:
Telegraf 1.9.1 (git: HEAD 2063609)
Docker 18.09.4, build d14af54266
Steps to reproduce:
docker run -d repo.example.com:9003/postgres
(no:latest
or any other tag, which is a valid way to run a container)telegraf --config <file> --test --input-filter docker
and observe the output.Expected behavior:
The
container_image
should berepo.example.com:9003/postgres
and thecontainer_version
should belatest
(since no tag was specified).Actual behavior:
The metrics will show the
container_image
asrepo.example.com
and thecontainer_version
as9003/postgres
.Additional info:
The image parsing logic is here, and does not account for the case where the registry URL includes a port and no tag is present in the image name.
The text was updated successfully, but these errors were encountered: