|
using | Parameters = fhicl::WrappedTable< Config > |
|
|
| MetricPlugin (fhicl::ParameterSet const &ps, std::string const &app_name) |
|
virtual std::string | getLibName () const |
|
void | addMetricData (std::unique_ptr< MetricData > const &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 |
|
Definition at line 29 of file MetricPlugin.hh.
double artdaq::MetricPlugin::accumulationTime_ |
|
protected |
The amount of time to average metric values; except for accumulate=false metrics, will be the interval at which each metric is sent.
Definition at line 378 of file MetricPlugin.hh.
int artdaq::MetricPlugin::runLevel_ |
|
protected |
The threshold for sending metrics to the underlying storage. Metrics with level <= to runLevel_ will be sent.
Definition at line 375 of file MetricPlugin.hh.
The documentation for this class was generated from the following file: