Close dd stats

This commit is contained in:
David Dworken
2023-10-23 19:26:25 -07:00
parent 352e483db5
commit df48e516ef
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ func main() {
log.Fatalf("failed to init datadog: %v", err)
}
}
defer ddStats.Close()
GLOBAL_STATSD = ddStats
} else {
fmt.Printf("Skipping exporting test stats to datadog\n")