Skip to content

Commit dac25ba

Browse files
committed
Patched time metric: give it up to 15 seconds to resolve or fail
1 parent b14cfe9 commit dac25ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NTorSpectator.Observer/Services/SpectatorJob.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class SpectatorJob : IJob
1515
private static readonly Histogram RequestDuration = Metrics.CreateHistogram("observation_duration", "duration of site observation",
1616
new HistogramConfiguration
1717
{
18-
Buckets = Histogram.LinearBuckets(0.5, 0.5, 20)
18+
Buckets = Histogram.LinearBuckets(0.5, 0.5, 30)
1919
});
2020
private static readonly Gauge TotalSessionDuration = Metrics.CreateGauge("observation_session_duration", "Total observation session duration, ms");
2121
private static readonly Gauge SiteStatus = Metrics.CreateGauge("site_aliveness", "Reports site aliveness status", "site");

0 commit comments

Comments
 (0)