Skip to content

OpenTelemetry traces #1044

Open
Open

Description

@erwinkramer

Add support for creating traces for each storage (proxy) request and allow users to publish them to an OTel exporter.

Activity

  1. hermandavid commented on Jun 1, 2026

    @hermandavid
    Contributor

    Related to #923. Existing OTEL autoinstrumentation doesn't recognize Jetty and it doesn't hook into it.

  2. erwinkramer commented on Nov 26, 2026

    @erwinkramer
    Author

    It seems to work fine:

    image

    Took notes from #923 (comment)

    My dockerfile setup now looks like this to make it emit OTel:

    FROM ghcr.io/gaul/s3proxy/container:4.2.0
    
    COPY --from=ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-java:2.34.0 \
        /javaagent.jar /opt/otel/opentelemetry-javaagent.jar
    
    ENV S3PROXY_AUTHORIZATION=none \
        S3PROXY_ENDPOINT=http://0.0.0.0:6070 \
        JCLOUDS_PROVIDER=azureblob-sdk \
        JCLOUDS_ENDPOINT=https://sabankapiprd001.blob.core.windows.net \
        JCLOUDS_IDENTITY= \
        JCLOUDS_CREDENTIAL=
    
    ENV S3PROXY_JAVA_OPTS=-javaagent:/opt/otel/opentelemetry-javaagent.jar \
        OTEL_SERVICE_NAME=s3proxy
    
    EXPOSE 6070

    I guess we can close this, it already does what I want

    @gaul would (part of) the dockerfile setup be something we can show as example in the repo? Or maybe even a separate image-flavor with the OTel lib included like I did?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions