Skip to content

Graceful shutdown & Forcing exporter to push telemetry #3614

Answered by cijothomas
aignatovich asked this question in Q&A
Discussion options

You must be logged in to vote

There is ForceFlush, but if your goal is to call something at app shutdown, then disposing the provider (MeterProvider, TracerProvider, LoggerFactory) is sufficient.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MichaelLogutov
Comment options

@cijothomas
Comment options

Answer selected by aignatovich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants