# HG changeset patch
# User Christophe de Vienne <christophe@cdevienne.info>
# Date 1607648391 -3600
#      Fri Dec 11 01:59:51 2020 +0100
# Node ID d5c414931cdefe0165a43971a27843a8abe88cb4
# Parent  3c9dc46a1c49abeec6f72591aa522a8656c6803c
prometheus: fix 'in_flight' metric name

diff --git a/templates/server/prometheus.gotmpl b/templates/server/prometheus.gotmpl
--- a/templates/server/prometheus.gotmpl
+++ b/templates/server/prometheus.gotmpl
@@ -27,7 +27,7 @@
 
     {{ camelize .Name }}HandlerInFlight = prometheus.NewGauge(
         prometheus.GaugeOpts{
-            Name: "orus_api_handler_in_flignts",
+            Name: "orus_api_handler_in_flight",
             Help: "The number of handlers currently running.",
             ConstLabels: map[string]string{
                 "service": "{{.Name}}",