opentelemetry-java-contrib icon indicating copy to clipboard operation
opentelemetry-java-contrib copied to clipboard

EcsResource: Couldn't parse image

Open danielcompton opened this issue 8 months ago • 0 comments

Component(s)

aws-resources

What happened?

Description

I can see in our logs this error:

Couldn't parse image '123456789012.dkr.ecr.us-east-2.amazonaws.com/abcdef:g123456789h12345678i12345678j12345678k12@sha256:ab1234c5678901234d567e890123f456789012345g6789012h3456789i123456'

from io.opentelemetry.contrib.aws.resource.EcsResource

Steps to Reproduce

Run a container on ECS? I haven't tried to reproduce it.

Expected Result

No errors

Actual Result

Error logged

Component version

io.opentelemetry.contrib/opentelemetry-aws-resources {:mvn/version "1.37.0-alpha"}

Log output

No response

Additional context

I'm guessing that the @sha256 extension is what is causing the problems. This came from https://aws.amazon.com/blogs/containers/announcing-software-version-consistency-for-amazon-ecs-services/

danielcompton avatar Mar 11 '25 00:03 danielcompton