Skip to content

EcsResource: Couldn't parse image #1788

Open
@danielcompton

Description

@danielcompton

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions