From 5233e7804841ef73474648ff1ead19017ecf84d0 Mon Sep 17 00:00:00 2001 From: Goutham Veeramachaneni <gouthamve+github@gmail.com> Date: Tue, 3 Jul 2018 18:31:09 +0100 Subject: [PATCH] Add the required label name to the metric (#20) Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com> --- pkg/promtail/target.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/promtail/target.go b/pkg/promtail/target.go index 860ca8ce..83c9a97f 100644 --- a/pkg/promtail/target.go +++ b/pkg/promtail/target.go @@ -18,7 +18,7 @@ var ( Namespace: "promtail", Name: "read_bytes_total", Help: "Number of bytes read.", - }, []string{}) + }, []string{"path"}) ) func init() { -- GitLab