lib/protoparser: fix metric name of unmarshal errors in promremotewrite (#607)

The change fixes the typo in metric name `vm_protoparser_unmarshal_errors` to
respect the naming standard.
This commit is contained in:
Roman Khavronenko 2020-07-08 12:18:41 +01:00 committed by Aliaksandr Valialkin
parent e401b8d527
commit 929ad74de6

View File

@ -65,7 +65,7 @@ var (
readCalls = metrics.NewCounter(`vm_protoparser_read_calls_total{type="promremotewrite"}`)
readErrors = metrics.NewCounter(`vm_protoparser_read_errors_total{type="promremotewrite"}`)
rowsRead = metrics.NewCounter(`vm_protoparser_rows_read_total{type="promremotewrite"}`)
unmarshalErrors = metrics.NewCounter(`vm_protoparser_unmarshal_errors{type="promremotewrite"}`)
unmarshalErrors = metrics.NewCounter(`vm_protoparser_unmarshal_errors_total{type="promremotewrite"}`)
)
func getPushCtx() *pushCtx {