Metrics.hpp 760 B

1234567891011121314151617181920212223
  1. #ifndef _TCP_PROXY_METRICS_H_
  2. #define _TCP_PROXY_METRICS_H_
  3. #include "../node/Metrics.hpp"
  4. namespace ZeroTier {
  5. namespace Metrics {
  6. // extern prometheus::simpleapi::gauge_metric_t tcp_connections;
  7. // extern prometheus::simpleapi::counter_metric_t udp_open_failed;
  8. // extern prometheus::simpleapi::counter_metric_t tcp_opened;
  9. // extern prometheus::simpleapi::counter_metric_t tcp_closed;
  10. // extern prometheus::simpleapi::counter_metric_t tcp_bytes_in;
  11. // extern prometheus::simpleapi::counter_metric_t tcp_bytes_out;
  12. // extern prometheus::simpleapi::counter_metric_t udp_bytes_in;
  13. // extern prometheus::simpleapi::counter_metric_t udp_bytes_out;
  14. }
  15. }
  16. #endif // _TCP_PROXY_METRICS_H_