From 1444824911543bdaf82244352d5f1432e748f879 Mon Sep 17 00:00:00 2001 From: glightfoot Date: Mon, 15 Jun 2020 18:47:17 -0400 Subject: [PATCH] fix yaml tags Signed-off-by: glightfoot --- pkg/mapper/mapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/mapper/mapper.go b/pkg/mapper/mapper.go index 3638b1f..95d3b0c 100644 --- a/pkg/mapper/mapper.go +++ b/pkg/mapper/mapper.go @@ -65,7 +65,7 @@ type MetricMapping struct { Labels prometheus.Labels `yaml:"labels"` labelKeys []string labelFormatters []*fsm.TemplateFormatter - ObserverType ObserverType `yaml:"observer_type,omitempty"` + ObserverType ObserverType `yaml:"observer_type"` TimerType ObserverType `yaml:"timer_type,omitempty"` // DEPRECATED - field only present to preserve backwards compatibility in configs. Always empty LegacyBuckets []float64 `yaml:"buckets"` LegacyQuantiles []metricObjective `yaml:"quantiles"`