Class for writing metrics that is provided by utils::statistics::Storage.
Definition in file writer.hpp.
Go to the source code of this file.
#include <atomic>#include <string_view>#include <type_traits>#include <userver/utils/impl/internal_tag.hpp>#include <userver/utils/statistics/histogram_view.hpp>#include <userver/utils/statistics/labels.hpp>#include <userver/utils/statistics/rate.hpp>
This graph shows which files directly or indirectly include this file:Classes | |
| class | utils::statistics::Writer |
| Class for writing metrics that is provided by utils::statistics::Storage. More... | |
Namespaces | |
| namespace | utils |
| Utilities. | |
Functions | |
| template<class Metric> | |
| void | utils::statistics::DumpMetric (Writer &writer, const std::atomic< Metric > &m) |
Variables | |
| template<class Metric> | |
| constexpr bool | utils::statistics::kHasWriterSupport = impl::HasDumpMetricWriter<Metric>() |
Returns true, if the Metric could be written by utils::statistics::Writer. | |
| void utils::statistics::DumpMetric | ( | Writer & | writer, |
| const std::atomic< Metric > & | m ) |
Definition at line 224 of file writer.hpp.
|
inlineconstexpr |
Returns true, if the Metric could be written by utils::statistics::Writer.
In other words, checks that the DumpMetric for the Metric is provided or that the metric could be written without providing one.
Definition at line 45 of file writer.hpp.