This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
What is the recommended way to gracefully shutdown? #226
Comments
Currently we sleep to let the stats aggregation and exporting happen, which isn't ideal. |
That is what I thought. No rush, but any plans to have something better? |
I've been thinking about it but I don't have a good proposal yet. Related discussions:
|
Have there been any progress on adding a flush capability? I ran into this problem today and had to add a wait to the end of my program (which is short lived). |
I'm afraid not. I'm very limited in how much time I can spend on OpenCensus. Check out https://github.com/open-telemetry/opentelemetry-cpp/ |
No problem, it looks like this is the relevant feature on the opentelemetry side. I look forward to migrating once everything is ready :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a recommended way to terminate short lived programs? I am thinking of examples, tests, or batch processes that may have completed their work but want to give OpenCensus time to complete its work before shutting down.
The text was updated successfully, but these errors were encountered: