Line data Source code
1 : #include "source/extensions/transport_sockets/tls/stats.h" 2 : 3 : #include "envoy/stats/scope.h" 4 : #include "envoy/stats/stats_macros.h" 5 : 6 : namespace Envoy { 7 : namespace Extensions { 8 : namespace TransportSockets { 9 : namespace Tls { 10 : 11 0 : SslStats generateSslStats(Stats::Scope& store) { 12 0 : std::string prefix("ssl."); 13 0 : return {ALL_SSL_STATS(POOL_COUNTER_PREFIX(store, prefix), POOL_GAUGE_PREFIX(store, prefix), 14 0 : POOL_HISTOGRAM_PREFIX(store, prefix))}; 15 0 : } 16 : 17 : } // namespace Tls 18 : } // namespace TransportSockets 19 : } // namespace Extensions 20 : } // namespace Envoy