#ifndef TOR_LIB_METRICS_METRICS_COMMON_H
#define TOR_LIB_METRICS_METRICS_COMMON_H
#include "lib/cc/torint.h"
#define METRICS_STR(val) #val
#define METRICS_NAME(name) METRICS_STR(tor_ ## name)
typedef enum {
METRICS_FORMAT_PROMETHEUS = 1,
} metrics_format_t;
typedef enum {
METRICS_TYPE_COUNTER,
METRICS_TYPE_GAUGE,
} metrics_type_t;
typedef struct metrics_counter_t {
uint64_t value;
} metrics_counter_t;
typedef struct metrics_gauge_t {
int64_t value;
} metrics_gauge_t;
const char *metrics_type_to_str(const metrics_type_t type);
#endif