Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
telemetry: fix early meterprovider shutdown
In 4b5a196, we changed the CLI global meter provider shutdown in order to handle any error returned by the metric export. Unfortunately, we dropped a `defer` during the fix, which causes the meter provider to be immediately shutdown after being created and metrics to not be collected/exporter. Signed-off-by: Laura Brehm <[email protected]> (cherry picked from commit 1355d7e) Signed-off-by: Laura Brehm <[email protected]>
- Loading branch information