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 GitHub
parent e59b9916aa
commit e7557e0252
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {