Giter VIP home page Giter VIP logo

Comments (2)

DarthSim avatar DarthSim commented on June 1, 2024 1

Hey @Darkle!

The IMGPROXY_OPEN_TELEMETRY_ENDPOINT format is host:port. I guess, we need to revise the OTel configuration to add support for custom endpoint paths

from imgproxy.

DarthSim avatar DarthSim commented on June 1, 2024 1

I revised the OpenTelemetry config in the latest build to use standard env vars when possible (have been going to do so for a long time): https://docs.imgproxy.net/latest/monitoring/open_telemetry.

Take note that imgproxy doesn't support sending logs to OpenTelemetry.

However, if you want to send request traces to Seq, you can use the latest build and set the following env vars:

  • IMGPROXY_OPEN_TELEMETRY_ENABLE=1
  • OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf"
  • OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:5341/ingest/otlp" (/v1/traces will be added automatically)

Seq doesn't support collecting OTel metrics, so IMGPROXY_OPEN_TELEMETRY_ENABLE_METRICS will not work with it.

I'm not sure if the X-Seq-ApiKey header is mandatory for Seq, but if it is, set OTEL_EXPORTER_OTLP_HEADERS="X-Seq-ApiKey=your_api_key"

from imgproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.