|
MetroCollect
2.3.4
|
#include <iostream>#include <iomanip>#include <sstream>#include <MetroCollect/MetricsController.h>
Go to the source code of this file.
Classes | |
| struct | MetroCollectStats |
| Small struct to implement MetricsController delegate. More... | |
Functions | |
| void | printMetrics (const std::vector< std::pair< std::string, std::string >> &names, const MetroCollect::MetricsController::MetricsStats &s) |
| Print metric stats on screen. More... | |
| auto | generateMetrics () |
| Generate metric request to give to the MetricsController. More... | |
| template<typename T > | |
| auto | getAllFieldNames (const MetroCollect::MetricsArray< T > &metricsArray) |
| Get fields name of all metrics. More... | |
| int | main (int argc, char *argv[]) |
| MetroCollectStats main function. More... | |
| auto generateMetrics | ( | ) |
Generate metric request to give to the MetricsController.
Definition at line 55 of file MetroCollectStats.cc.


| auto getAllFieldNames | ( | const MetroCollect::MetricsArray< T > & | metricsArray | ) |
Get fields name of all metrics.
| T | Type of MetricsArray |
| metricsArray | MetricArray to get metric names from |
Definition at line 75 of file MetroCollectStats.cc.


| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
MetroCollectStats main function.
MetroCollect's main function.
| argc | Argument count (expected: 4) |
| argv | Arguments values (sampling interval; window length; window overlap; iteration count) |
Definition at line 128 of file MetroCollectStats.cc.

| void printMetrics | ( | const std::vector< std::pair< std::string, std::string >> & | names, |
| const MetroCollect::MetricsController::MetricsStats & | s | ||
| ) |
Print metric stats on screen.
| names | array of names of the metrics |
| s | Metrics Stats Arrays to print |
Definition at line 34 of file MetroCollectStats.cc.
