You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change measures the latency and success of container creation.
These metrics will help capacity planning and investigating production
issues.
Updates golang/go#25224
Updates golang/go#38530
Change-Id: Id7f373acb8741d4465c6e632badb188b6e855787
Reviewed-on: https://go-review.googlesource.com/c/playground/+/229980
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
// Customizations of ochttp views. Views are updated as follows:
25
-
// * The views are prefixed with go-playground-sandbox.
26
-
// * ochttp.KeyServerRoute is added as a tag to label metrics per-route.
27
24
var (
28
-
mContainers=stats.Int64("go-playground/sandbox/container_count", "number of sandbox containers", stats.UnitDimensionless)
29
-
mUnwantedContainers=stats.Int64("go-playground/sandbox/unwanted_container_count", "number of sandbox containers that are unexpectedly running", stats.UnitDimensionless)
30
-
mMaxContainers=stats.Int64("go-playground/sandbox/max_container_count", "target number of sandbox containers", stats.UnitDimensionless)
mContainers=stats.Int64("go-playground/sandbox/container_count", "number of sandbox containers", stats.UnitDimensionless)
27
+
mUnwantedContainers=stats.Int64("go-playground/sandbox/unwanted_container_count", "number of sandbox containers that are unexpectedly running", stats.UnitDimensionless)
28
+
mMaxContainers=stats.Int64("go-playground/sandbox/max_container_count", "target number of sandbox containers", stats.UnitDimensionless)
0 commit comments