opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

Customize internal `logger` options

Open sumerc opened this issue 1 year ago • 0 comments

I am asking this as a question rather than a request maybe there is a way to do this.

Maybe this is a duplicate of https://github.com/open-telemetry/opentelemetry-collector/issues/6986, but IMHO it is really an important feature.

We are currently using OCB to compile a custom OTEL collector with our custom extensions. I have also seen that that there is a service->telemetry configuration that helps you change logging options. However, I don't see any options to send these logs to vendors like Sentry, DataDog or any other system. It is very important to do this early on for us since in a production system we want to be able to see the logs of our infra. naturally.

Maybe I am missing a context, but is there any way to do this kind of programmatically? I am asking programmatically, because it would be really useful to add few lines of code to enable logging to these vendors rather than relying on another side process like fluentd or similar services.

Any suggestion?

sumerc avatar Jun 27 '24 15:06 sumerc