Tor 0.4.9.1-alpha-dev
|
Defines the metrics entry that are collected by an onion service. More...
#include <stddef.h>
#include "orconfig.h"
#include "lib/cc/compat_compiler.h"
#include "lib/log/log.h"
#include "lib/log/util_bug.h"
#include "feature/hs/hs_metrics_entry.h"
Go to the source code of this file.
Variables | |
static const int64_t | hs_metrics_circ_build_time_buckets [] |
const hs_metrics_entry_t | base_metrics [] |
const size_t | base_metrics_size = ARRAY_LENGTH(base_metrics) |
const char * | hs_metrics_intro_req_error_reasons [] |
const size_t | hs_metrics_intro_req_error_reasons_size |
const char * | hs_metrics_rend_error_reasons [] |
const size_t | hs_metrics_rend_error_reasons_size |
Defines the metrics entry that are collected by an onion service.
Definition in file hs_metrics_entry.c.
#define HS_METRICS_ENTRY_PRIVATE |
Definition at line 9 of file hs_metrics_entry.c.
const hs_metrics_entry_t base_metrics[] |
The base metrics that is a static array of metrics that are added to every single new stores.
The key member MUST be also the index of the entry in the array.
Definition at line 46 of file hs_metrics_entry.c.
Referenced by hs_metrics_update_by_service(), and init_store().
const size_t base_metrics_size = ARRAY_LENGTH(base_metrics) |
Size of base_metrics array that is number of entries.
Definition at line 130 of file hs_metrics_entry.c.
Referenced by init_store().
|
static |
Definition at line 22 of file hs_metrics_entry.c.
const char* hs_metrics_intro_req_error_reasons[] |
Possible values for the reason label of the hs_intro_rejected_intro_req_count metric.
Definition at line 134 of file hs_metrics_entry.c.
const size_t hs_metrics_intro_req_error_reasons_size |
The number of entries in the hs_metrics_intro_req_error_reasons array.
Definition at line 143 of file hs_metrics_entry.c.
const char* hs_metrics_rend_error_reasons[] |
Possible values for the reason label of the hs_rdv_error_count metric.
Definition at line 147 of file hs_metrics_entry.c.
const size_t hs_metrics_rend_error_reasons_size |
The number of entries in the hs_metrics_rend_error_reasons array.
Definition at line 157 of file hs_metrics_entry.c.