userver: userver/utils/statistics/graphite.hpp Source File
Loading...
Searching...
No Matches
graphite.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/utils/statistics/graphite.hpp
4/// @brief Statistics output in Graphite format.
5
6#include <string>
7
8#include <userver/utils/statistics/storage.hpp>
9
10USERVER_NAMESPACE_BEGIN
11
12namespace utils::statistics {
13
14/// Output `statistics` in Graphite format with tags (labels).
15std::string ToGraphiteFormat(
16 const utils::statistics::Storage& statistics,
17 const utils::statistics::Request& statistics_request = {});
18
19} // namespace utils::statistics
20
21USERVER_NAMESPACE_END