goose
goose copied to clipboard
fix: add Close method
This enable flushing correctly the metrics
By default, metrics are buffered and sent to Datadog every 100ms
If we are for example shutting down an app, some metrics might be lost
By Closing it properly, we ensure every metrics will be actually sent
I have signed the CLA!