|
using | Parameters = fhicl::WrappedTable< Config > |
|
|
| MetricPlugin (fhicl::ParameterSet const &ps, std::string const &app_name) |
|
virtual std::string | getLibName () const |
|
void | addMetricData (MetricData data) |
|
void | sendMetrics (bool forceSend=false, std::chrono::steady_clock::time_point interval_end=std::chrono::steady_clock::now()) |
|
void | startMetrics () |
|
void | stopMetrics () |
|
void | setRunLevel (int level) |
|
int | getRunLevel () const |
|
|
virtual void | sendMetric_ (const std::string &name, const std::string &value, const std::string &unit)=0 |
|
virtual void | sendMetric_ (const std::string &name, const int &value, const std::string &unit)=0 |
|
virtual void | sendMetric_ (const std::string &name, const double &value, const std::string &unit)=0 |
|
virtual void | sendMetric_ (const std::string &name, const float &value, const std::string &unit)=0 |
|
virtual void | sendMetric_ (const std::string &name, const long unsigned int &value, const std::string &unit)=0 |
|
virtual void | startMetrics_ ()=0 |
|
virtual void | stopMetrics_ ()=0 |
|
|
int | runLevel_ |
| The threshold for sending metrics to the underlying storage. Metrics with level <= to runLevel_ will be sent.
|
|
fhicl::ParameterSet | pset |
| The ParameterSet used to configure the MetricPlugin.
|
|
double | accumulationTime_ |
| The amount of time to average metric values; except for accumulate=false metrics, will be the interval at which each metric is sent.
|
|
std::string | app_name_ |
| Name of the application which is sending metrics to this plugin.
|
|
bool | inhibit_ |
| Whether to inhibit all metric sending.
|
|
Definition at line 30 of file MetricPlugin.hh.
The documentation for this class was generated from the following file: