opencensus-python icon indicating copy to clipboard operation
opencensus-python copied to clipboard

Send to multiple exporters from tracer

Open c24t opened this issue 6 years ago • 3 comments

This is an experimental branch to address #181. It changes Tracer such that it can use multiple exporters at once.

c24t avatar Nov 14 '18 00:11 c24t

@c24t this appears to work, thanks! note, there are other parts of the library that also need to be updated. For example, opencensus/trace/ext/flask/flask_middleware.py

flands avatar Nov 15 '18 02:11 flands

@c24t looks cool. Does that mean we'll have one background thread / exporter here ?

ocervell avatar Nov 16 '18 16:11 ocervell

Does that mean we'll have one background thread / exporter here ?

We will for each exporter that's using a background thread transporter, but we're blocking between calls to export. If we expect users to use many exporters with blocking transports at once we might want to make the calls from (e.g.) an async executor instead.

c24t avatar Nov 16 '18 23:11 c24t