blob: cb60d3f22ed9272b352a34b845c8f55ea1d7b474 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/**
* \class CommunicationManagerMetrics
* \ingroup storageserver
*
* \brief Metrics for the communication manager.
*/
#pragma once
#include <vespa/metrics/metricset.h>
#include <vespa/metrics/valuemetric.h>
#include <vespa/metrics/countmetric.h>
namespace storage {
struct CommunicationManagerMetrics : public metrics::MetricSet {
metrics::LongAverageMetric queueSize;
metrics::DoubleAverageMetric messageProcessTime;
metrics::DoubleAverageMetric exceptionMessageProcessTime;
metrics::LongCountMetric failedDueToTooLittleMemory;
metrics::LongCountMetric convertToStorageAPIFailures;
metrics::LongCountMetric bucketSpaceMappingFailures;
metrics::DoubleAverageMetric sendCommandLatency;
metrics::DoubleAverageMetric sendReplyLatency;
CommunicationManagerMetrics(metrics::MetricSet* owner = nullptr);
~CommunicationManagerMetrics();
};
}
|