From 9939deac84819507cce632ef8066134e7e54c0f2 Mon Sep 17 00:00:00 2001 From: Etienne Perot Date: Mon, 27 Mar 2023 14:57:24 -0700 Subject: [PATCH] `runsc`: Add Go runtime version as metadata metric label. This allows tracking the Go runtime version of `runsc` in monitoring. PiperOrigin-RevId: 519837349 --- runsc/config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/runsc/config/config.go b/runsc/config/config.go index f1981e3b9..57e7c9550 100644 --- a/runsc/config/config.go +++ b/runsc/config/config.go @@ -404,6 +404,7 @@ func (c *Config) MetricMetadata() map[string]string { "overlay": c.Overlay2.String(), "fsmode": fsMode, "cpuarch": runtime.GOARCH, + "go": runtime.Version(), } }