Fawkes API
Fawkes Development Version
metrics_manager.cpp
1
2
/***************************************************************************
3
* metrics_manager.cpp - Metrics manager
4
*
5
* Created: Sat Jul 29 00:35:59 2017
6
* Copyright 2006-2017 Tim Niemueller [www.niemueller.de]
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version. A runtime exception applies to
14
* this software (see LICENSE.GPL_WRE file mentioned below for details).
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Library General Public License for more details.
20
*
21
* Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22
*/
23
24
#include <plugins/metrics/aspect/metrics_manager.h>
25
26
namespace
fawkes
{
27
28
/** @class MetricsManager <plugins/metrics/aspect/metrics_manager.h>
29
* Base class for metrics managers.
30
*
31
* @fn std::list<io::prometheus::client::MetricFamily> MetricsManager::all_metrics()
32
* Get combination of all metrics.
33
* @return list of currently available metrics
34
*
35
* @fn void MetricsManager::add_supplier(MetricsSupplier *supplier)
36
* Add metrics supplier.
37
* @param supplier supplier to add
38
*
39
* @fn void MetricsManager::remove_supplier(MetricsSupplier *supplier)
40
* Remove metrics supplier.
41
* @param supplier supplier to remove
42
*
43
* @fn const std::LockList<MetricsSupplier *> & MetricsManager::metrics_suppliers() const
44
* Get list of current metrics suppliers.
45
* @return list of metrics suppliers
46
47
48
* @author Tim Niemueller
49
*/
50
51
/** Virtual empty destructor. */
52
MetricsManager::~MetricsManager
()
53
{
54
}
55
56
}
// end namespace fawkes
fawkes::MetricsManager::~MetricsManager
virtual ~MetricsManager()
Virtual empty destructor.
Definition:
metrics_manager.cpp:52
fawkes
Fawkes library namespace.
src
plugins
metrics
aspect
metrics_manager.cpp
Generated by
1.9.4