imandra-ai / ocaml-opentelemetry

Instrumentation for https://opentelemetry.io
http://docs.imandra.ai/ocaml-opentelemetry/
33 stars 7 forks source link

add support for per-signal urls #56

Closed tatchi closed 1 month ago

tatchi commented 1 month ago

This PR adds support for per-signal URLs configuration. See https://opentelemetry.io/docs/specs/otel/protocol/exporter/#endpoint-urls-for-otlphttp

I've only modified the ocurl client for now to reduce diff. Once approved, I can make the same changes for the lwt client

tatchi commented 1 month ago

Thanks for the review, I've applied the same changes to the cohttp-lwt lib

c-cube commented 1 month ago

Thank you :)