summaryrefslogtreecommitdiffstats
path: root/configd
diff options
context:
space:
mode:
authorArne Juul <arnej@yahoo-inc.com>2017-10-16 13:52:44 +0000
committerArne Juul <arnej@yahoo-inc.com>2017-10-16 13:52:44 +0000
commit6d7617977d008a2a2e41f4e97766d3f4c7b1c12b (patch)
tree96b87b6fdf2884e26e237eea37eb05a722dd4c17 /configd
parent025ca1da553ae50e22b455cc334bbf3efac4fcc6 (diff)
count restart of sentinel itself
Diffstat (limited to 'configd')
-rw-r--r--configd/src/apps/sentinel/metrics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/configd/src/apps/sentinel/metrics.cpp b/configd/src/apps/sentinel/metrics.cpp
index 078dfa275d9..42c61c06b50 100644
--- a/configd/src/apps/sentinel/metrics.cpp
+++ b/configd/src/apps/sentinel/metrics.cpp
@@ -8,7 +8,7 @@ namespace config {
namespace sentinel {
StartMetrics::StartMetrics()
- : currentlyRunningServices(0), totalRestartsCounter(0), totalRestartsLastPeriod(0),
+ : currentlyRunningServices(0), totalRestartsCounter(0), totalRestartsLastPeriod(1),
lastLoggedTime(0),
totalRestartsLastSnapshot(0),
snapshotStart(0),