summaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-12-02 15:40:36 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2016-12-12 02:55:44 +0100
commitf2fd8d33d46edb8b3c4351d14f4abbc386ffbabf (patch)
tree087f1b61806834edd4349fb52ba69c5b1dd34756 /metrics
parentf97313b7611fc90f87c656c61c97ff2baa0b22a7 (diff)
Include asciistream in implementation only.
Diffstat (limited to 'metrics')
-rw-r--r--metrics/src/vespa/metrics/metricsnapshot.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/metrics/src/vespa/metrics/metricsnapshot.cpp b/metrics/src/vespa/metrics/metricsnapshot.cpp
index 2cb10ac2dbf..e8a50419751 100644
--- a/metrics/src/vespa/metrics/metricsnapshot.cpp
+++ b/metrics/src/vespa/metrics/metricsnapshot.cpp
@@ -1,8 +1,7 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/metrics/metricsnapshot.h>
-
+#include "metricsnapshot.h"
+#include "metricmanager.h"
#include <vespa/log/log.h>
-#include <vespa/metrics/metricmanager.h>
LOG_SETUP(".metrics.snapshot");
@@ -115,7 +114,7 @@ MetricSnapshotSet::timeForAnotherSnapshot(time_t currentTime) {
LOG(warning, "Metric snapshot set %s was asked if it was time for "
"another snapshot, a whole period beyond when it "
"should have been done (Last update was at time %"
- PRIu64 ", current time is %" PRIu64" and period is %u). "
+ PRIu64 ", current time is %" PRIu64 " and period is %u). "
"Clearing data and updating time to current time.",
getName().c_str(), lastTime, currentTime, getPeriod());
reset(currentTime);