|
MetroCollect
2.3.4
|
Strcut to store Snap metric objects and metric data to make it faster to send them to Snap. More...
#include <SnapStreamInterface.h>

Classes | |
| struct | TimedMetrics |
| Simple array of metrics with a timestamp. More... | |
Public Member Functions | |
| void | clear (size_t metricsCount) |
| Reinitializes the receiver and allocates space for metrics. More... | |
Public Attributes | |
| std::vector< Plugin::Metric > | computedMetrics |
| Cache for Snap metrics. More... | |
| std::vector< Plugin::Metric * > | metricsToSend |
| Array of pointers to Snap metrics to be sent. More... | |
| std::unique_ptr< TimedMetrics > | currentMetrics |
| Earlier values that may be sent. More... | |
| std::unique_ptr< TimedMetrics > | nextMetrics |
| Latest values kept to be sent on the next iteration. More... | |
| std::vector< size_t > | metricsTimeout |
| Sub-sampling counters for constant metrics. More... | |
| std::vector< size_t * > | metricsTimeoutPointer |
| Array to match metrics to their sub-sampling counter (one is shared for all statistics) More... | |
| std::vector< bool > | secondaryMetrics |
| Array to mark the most important metric stat (average) More... | |
Strcut to store Snap metric objects and metric data to make it faster to send them to Snap.
Definition at line 49 of file SnapStreamInterface.h.
|
inline |
Reinitializes the receiver and allocates space for metrics.
| metricsCount | The total number of metrics that can be sent |
Definition at line 71 of file SnapStreamInterface.h.

| std::vector<Plugin::Metric> SnapInterface::SnapStreamInterface::MetricsPackage::computedMetrics |
Cache for Snap metrics.
Definition at line 58 of file SnapStreamInterface.h.
| std::unique_ptr<TimedMetrics> SnapInterface::SnapStreamInterface::MetricsPackage::currentMetrics |
Earlier values that may be sent.
Definition at line 60 of file SnapStreamInterface.h.
| std::vector<size_t> SnapInterface::SnapStreamInterface::MetricsPackage::metricsTimeout |
Sub-sampling counters for constant metrics.
Definition at line 62 of file SnapStreamInterface.h.
| std::vector<size_t*> SnapInterface::SnapStreamInterface::MetricsPackage::metricsTimeoutPointer |
Array to match metrics to their sub-sampling counter (one is shared for all statistics)
Definition at line 63 of file SnapStreamInterface.h.
| std::vector<Plugin::Metric*> SnapInterface::SnapStreamInterface::MetricsPackage::metricsToSend |
Array of pointers to Snap metrics to be sent.
Definition at line 59 of file SnapStreamInterface.h.
| std::unique_ptr<TimedMetrics> SnapInterface::SnapStreamInterface::MetricsPackage::nextMetrics |
Latest values kept to be sent on the next iteration.
Definition at line 61 of file SnapStreamInterface.h.
| std::vector<bool> SnapInterface::SnapStreamInterface::MetricsPackage::secondaryMetrics |
Array to mark the most important metric stat (average)
Definition at line 64 of file SnapStreamInterface.h.