imandra-ai / ocaml-opentelemetry

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

get_url returns url from config if provided #40

Closed tatchi closed 1 year ago

tatchi commented 1 year ago

Specifying an url to the config

Config.make ~url:"http://localhost:3000"

And then calling get_url() returns the default URL (or OTEL_EXPORTER_OTLP_ENDPOINT if provided). It would make more sense to me to show the URL from the config since that's the one actually used.