tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

prometheus.h (520B)


      1 /* Copyright (c) 2020-2021, The Tor Project, Inc. */
      2 /* See LICENSE for licensing information */
      3 
      4 /**
      5 * @file prometheus.h
      6 * @brief Header for feature/metrics/prometheus.c
      7 **/
      8 
      9 #ifndef TOR_LIB_METRICS_PROMETHEUS_H
     10 #define TOR_LIB_METRICS_PROMETHEUS_H
     11 
     12 #include "lib/buf/buffers.h"
     13 #include "lib/metrics/metrics_store_entry.h"
     14 
     15 void prometheus_format_store_entry(const metrics_store_entry_t *entry,
     16                                   buf_t *data, bool no_comment);
     17 
     18 #endif /* !defined(TOR_LIB_METRICS_PROMETHEUS_H) */