From 22da0454faac9d506f98d86042ff2985cfc4d10d Mon Sep 17 00:00:00 2001 From: Steffen Ohrendorf Date: Mon, 25 Feb 2019 14:49:46 +0100 Subject: [PATCH] Expose accidentally forgotten metrics --- Scraper/Startup.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Scraper/Startup.cs b/Scraper/Startup.cs index 3c08199..619e768 100644 --- a/Scraper/Startup.cs +++ b/Scraper/Startup.cs @@ -80,6 +80,10 @@ private static void ExposeData(HttpContext context) foreach (var aggregatedMetric in Metrics.Values) totalExposed += aggregatedMetric.ExposeTo(textStream); + totalExposed += MetricBase.Connected.ExposeTo(textStream); + totalExposed += MetricBase.LinesParsed.ExposeTo(textStream); + totalExposed += MetricBase.ParserErrors.ExposeTo(textStream); + ExposeProcessMetrics(textStream, totalExposed); }