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