diff --git a/metrics.go b/metrics.go index 39b4de4..e1544fb 100644 --- a/metrics.go +++ b/metrics.go @@ -273,6 +273,10 @@ func (e *Exporter) Collect(ch chan<- prometheus.Metric) { return } + ch <- prometheus.MustNewConstMetric( + up, prometheus.GaugeValue, 1, + ) + e.AssembleMetrics(channelIdStatusMap, channelIdStatisticsMap, ch) versionString := e.GetMirthVersion()