aboutsummaryrefslogtreecommitdiff
path: root/src/lib/metrics/prometheus.h
blob: faa7681daad7f60f285c076b13004ee09c208e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Copyright (c) 2020-2021, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * @file prometheus.h
 * @brief Header for feature/metrics/prometheus.c
 **/

#ifndef TOR_LIB_METRICS_PROMETHEUS_H
#define TOR_LIB_METRICS_PROMETHEUS_H

#include "lib/buf/buffers.h"
#include "lib/metrics/metrics_store_entry.h"

void prometheus_format_store_entry(const metrics_store_entry_t *entry,
                                   buf_t *data, bool no_comment);

#endif /* !defined(TOR_LIB_METRICS_PROMETHEUS_H) */