Tor  0.4.6.0-alpha-dev
Functions
metrics_common.c File Reference

Common code for the metrics library. More...

#include <stddef.h>
#include "orconfig.h"
#include "lib/log/util_bug.h"
#include "lib/metrics/metrics_common.h"

Go to the source code of this file.

Functions

const char * metrics_type_to_str (const metrics_type_t type)
 

Detailed Description

Common code for the metrics library.

Definition in file metrics_common.c.

Function Documentation

◆ metrics_type_to_str()

const char* metrics_type_to_str ( const metrics_type_t  type)

Return string representation of a metric type.

Definition at line 19 of file metrics_common.c.

Referenced by prometheus_format_store_entry().