Graceful shutdown & Forcing exporter to push telemetry #3614
-
What do I want to do? What I would like to find out? Usage may look like:
Can anybody make any suggestions on that? A workaround that I am not happy about: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There is ForceFlush, but if your goal is to call something at app shutdown, then disposing the provider (MeterProvider, TracerProvider, LoggerFactory) is sufficient. |
Beta Was this translation helpful? Give feedback.
There is ForceFlush, but if your goal is to call something at app shutdown, then disposing the provider (MeterProvider, TracerProvider, LoggerFactory) is sufficient.