userver: userver/tracing/set_throttle_reason.hpp Source File
Loading...
Searching...
No Matches
set_throttle_reason.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/tracing/set_throttle_reason.hpp
4/// @brief Functions to set span throttle reason tags
5
6#include <string>
7
8USERVER_NAMESPACE_BEGIN
9
10namespace tracing {
11
12class Span;
13
14/// Sets a Span tag with overload reason
15void SetThrottleReason(std::string value);
16
17/// @overload void SetThrottleReason(std::string_view value);
18void SetThrottleReason(Span& span, std::string&& value);
19
20} // namespace tracing
21
22USERVER_NAMESPACE_END