LCOV - code coverage report
Current view: top level - source/common/stats - custom_stat_namespaces_impl.h (source / functions) Hit Total Coverage
Test: coverage.dat Lines: 1 1 100.0 %
Date: 2024-01-05 06:35:25 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include "envoy/stats/custom_stat_namespaces.h"
       4             : 
       5             : #include "absl/container/flat_hash_set.h"
       6             : 
       7             : namespace Envoy {
       8             : namespace Stats {
       9             : 
      10             : class CustomStatNamespacesImpl : public CustomStatNamespaces {
      11             : public:
      12        2214 :   ~CustomStatNamespacesImpl() override = default;
      13             : 
      14             :   // CustomStatNamespaces
      15             :   bool registered(const absl::string_view name) const override;
      16             :   void registerStatNamespace(const absl::string_view name) override;
      17             :   absl::optional<absl::string_view>
      18             :   stripRegisteredPrefix(const absl::string_view stat_name) const override;
      19             : 
      20             : private:
      21             :   absl::flat_hash_set<std::string> namespaces_;
      22             : };
      23             : 
      24             : } // namespace Stats
      25             : } // namespace Envoy

Generated by: LCOV version 1.15