Closed roma-glushko closed 4 months ago
cc @gernest
Probably you have otel envs setup . Default providers are none
. which is a noop provider. Looks like you have otel configured pointing to localhost:4314/v1/metrics
? the port looks like from victoria metrics or something?
You can close this, it is not a glide issue.
@roma-glushko did you check otel env vars? Just needs to make sure this is not an issue, before I start instrumentation this weekend.
@gernest I don't think I have any OTEL_* env variables set. This is reproducible when I just start a dev process via make run
and then execute some workflows like chat requests, then after some time I start seeing this warning.
In that workflow, I don't any environment variables other than provider's API keys.
Tracing and metrics should be disabled by default as they require special tools to take advantage of them and we have no assumptions/requirements around users having that in place. If I just install Glide via brew
and start the process with a simple config, there should no warnings about inability to export metrics or traces and there would no additional environment variables to setup observability (unless the user goes for that after some time playing around with Glide).
I was able to reproduce this locally, will work on a fix.
Tracing and metrics should be optional and disabled by default in case people don't have a backend to export them and view: