More packet metrics (#1982)
* found path negotation sends that weren't accounted for * Fix histogram so it will actually compile * Found more places for packet metrics
This commit is contained in:
parent
4ca3f27293
commit
06b487119d
12 changed files with 41 additions and 6 deletions
|
@ -38,7 +38,8 @@ namespace prometheus {
|
|||
static const Metric::Type static_type = Metric::Type::Counter;
|
||||
|
||||
Counter() : Metric (Metric::Type::Counter) {} ///< \brief Create a counter that starts at 0.
|
||||
|
||||
Counter(const Counter<Value_> &rhs) : Metric(static_type), value{rhs.value.load()} {}
|
||||
|
||||
// original API
|
||||
|
||||
void Increment() { ///< \brief Increment the counter by 1.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue