|
| PCPMMVMetric (fhicl::ParameterSet const &pset, std::string const &app_name, std::string const &metric_name) |
| Construct an instance of the PCPMMV metric. More...
|
|
std::string | getLibName () const override |
| Gets the unique library name of this plugin. More...
|
|
void | stopMetrics_ () override |
| PCPMMV does not need any specific action on stop.
|
|
void | startMetrics_ () override |
| PCPMMV does not need any specific action on start.
|
|
void | sendMetric_ (const std::string &name, const std::string &value, const std::string &unit, const std::chrono::system_clock::time_point &) override |
| Send a string metric to PCPMMV. More...
|
|
void | sendMetric_ (const std::string &name, const int &value, const std::string &unit, const std::chrono::system_clock::time_point &) override |
| Send a integer metric to PCPMMV. More...
|
|
void | sendMetric_ (const std::string &name, const double &value, const std::string &unit, const std::chrono::system_clock::time_point &) override |
| Send a double metric to PCPMMV. More...
|
|
void | sendMetric_ (const std::string &name, const float &value, const std::string &unit, const std::chrono::system_clock::time_point &) override |
| Send a float metric to PCPMMV. More...
|
|
void | sendMetric_ (const std::string &name, const uint64_t &value, const std::string &unit, const std::chrono::system_clock::time_point &) override |
| Send an unsigned long metric to PCPMMV. More...
|
|
An instance of the MetricPlugin class that sends metric data to PCPMMV.
pmlogger must be configured to log the artdaq metrics so that the web display will retrieve them. Run artdaq, and ensure that the metrics are now available through pminfo -f mmv
. Then, run (as root) cd /var/lib/pcp/pmlogger;pmlogconf -r config.default
and restart pmlogger.
Definition at line 34 of file pcpmmv_metric.cc.