Kea  2.3.2-git
isc::d2::D2Stats Class Reference

Statistics Names. More...

#include <d2_stats.h>

Static Public Member Functions

static void init ()
 Initialize D2 statistics. More...
 

Static Public Attributes

static const std::list< std::string > key
 Key DNS update statistics names. More...
 
static const std::list< std::string > ncr
 Global NCR statistics names. More...
 
static const std::list< std::string > update
 Global DNS update statistics names. More...
 

Detailed Description

Statistics Names.

Definition at line 17 of file d2_stats.h.

Member Function Documentation

◆ init()

void isc::d2::D2Stats::init ( )
static

Initialize D2 statistics.

Note
: Add default samples if needed.

Definition at line 46 of file d2_stats.cc.

References isc::stats::StatsMgr::instance(), isc::stats::StatsMgr::setMaxSampleCountDefault(), and isc::stats::StatsMgr::setValue().

Referenced by isc::d2::D2Process::D2Process().

+ Here is the call graph for this function:

Member Data Documentation

◆ key

const list< string > isc::d2::D2Stats::key
static
Initial value:
= {
"update-sent",
"update-success",
"update-timeout",
"update-error"
}

Key DNS update statistics names.

  • update-sent
  • update-success
  • update-timeout
  • update-error

Definition at line 42 of file d2_stats.h.

Referenced by isc::d2::D2TsigKey::resetStats(), and isc::d2::D2TsigKey::~D2TsigKey().

◆ ncr

const list< string > isc::d2::D2Stats::ncr
static
Initial value:
= {
"ncr-received",
"ncr-invalid",
"ncr-error"
}

Global NCR statistics names.

  • ncr-received
  • ncr-invalid
  • ncr-error

Definition at line 24 of file d2_stats.h.

◆ update

const list< string > isc::d2::D2Stats::update
static
Initial value:
= {
"update-sent",
"update-signed",
"update-unsigned",
"update-success",
"update-timeout",
"update-error"
}

Global DNS update statistics names.

  • update-sent
  • update-signed
  • update-unsigned
  • update-success
  • update-timeout
  • update-error

Definition at line 34 of file d2_stats.h.


The documentation for this class was generated from the following files: