runsc: Add Go runtime version as metadata metric label.

This allows tracking the Go runtime version of `runsc` in monitoring.

PiperOrigin-RevId: 519837349
This commit is contained in:
Etienne Perot
2023-03-27 14:59:50 -07:00
committed by gVisor bot
parent a0f4020ea5
commit 9939deac84
+1
View File
@@ -404,6 +404,7 @@ func (c *Config) MetricMetadata() map[string]string {
"overlay": c.Overlay2.String(),
"fsmode": fsMode,
"cpuarch": runtime.GOARCH,
"go": runtime.Version(),
}
}