run/custom-metrics doesn't add SIGTERM/SIGINT handler for graceful shutdown #3554
Labels
api: run
Issues related to the Cloud Run API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
samples
Issues that are directly related to samples.
stale: old
Pull request is old and needs attention.
triage me
I really want to be triaged.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The Go program should add SIGTERM handler to shutdown the SDK. Right now it will just be ungracefully shutdown by Go's default SIGTERM handler, which means telemetry won't be flushed. See https://cloud.google.com/run/docs/samples/cloudrun-sigterm-handler
The text was updated successfully, but these errors were encountered: