[docker_observer]: Potential issue with image regex #36239
Labels
bug
Something isn't working
extension/observer/dockerobserver
needs triage
New item requiring triage
Component(s)
extension/observer/dockerobserver
What happened?
Description
We are seeing errors regaring image parsing in the
otelcol
binary.Steps to Reproduce
Have an image running on a node with the sha256 part not being only numbers, but e.g.
<repository>:<path>@sha256:07faaa0588009ace...
The regex expects the sha256 part to contain numbers only.
What are the reasons behind the sha256 digest regex part accepting only digits?
Expected Result
Not fail the config.image parsing.
Actual Result
Error as mentioned above.
Collector version
v0.103.0
Environment information
Environment
OS: Ubuntu 22.04.5 LTS
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: