Skip to content

Commit

Permalink
Expose accidentally forgotten metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen Ohrendorf committed Feb 25, 2019
1 parent 657d16d commit 22da045
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Scraper/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 22da045

Please sign in to comment.