From 17daab76b87a9cc7491bdfdc46dd10c9d5d7023f Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Tue, 23 Jan 2018 12:31:06 +0200 Subject: Add onion service activity information to our heartbeat logs. --- src/or/hs_stats.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/or/hs_stats.h (limited to 'src/or/hs_stats.h') diff --git a/src/or/hs_stats.h b/src/or/hs_stats.h new file mode 100644 index 0000000000..a946ad75e5 --- /dev/null +++ b/src/or/hs_stats.h @@ -0,0 +1,14 @@ +/* Copyright (c) 2016-2018, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +/** + * \file hs_stats.h + * \brief Header file for hs_stats.c + **/ + +void hs_stats_note_introduce2_cell(int is_hsv3); +uint32_t hs_stats_get_n_introduce2_v3_cells(void); +uint32_t hs_stats_get_n_introduce2_v2_cells(void); +void hs_stats_note_service_rendezvous_launch(void); +uint32_t hs_stats_get_n_rendezvous_launches(void); + -- cgit v1.2.3-54-g00ecf