ApplicationInsights-Python icon indicating copy to clipboard operation
ApplicationInsights-Python copied to clipboard

Enable Custom Exporters

Open jeremydvoss opened this issue 2 years ago • 2 comments

Based off how auto instrumentation uses the exporter environment variables, I enabled the distro to use the entry points for additional exporters.

jeremydvoss avatar May 30 '23 22:05 jeremydvoss

What's the purpose of this feature? Why do we allow users to use other exporters besides azure monitor?

lzchen avatar Jun 01 '23 17:06 lzchen

What's the purpose of this feature? Why do we allow users to use other exporters besides azure monitor?

With our emphasis on using env vars for configuring the distro, it seemed to make sense to use the exporter env vars like how they are used in the auto instrumentation flow. Users may want to export to multiple places or output to the console.

Granted, it is possible to add trace and log exporters after the fact. But this approach would be needed for allowing additional periodic metric readers and seems much more user friendly for the tracing and log cases as well.

Since it is not strictly necessary, we can hold off, but is there a deeper reason for the hesitance?

jeremydvoss avatar Jun 02 '23 20:06 jeremydvoss