userver: userver/tracing/set_throttle_reason.hpp Source File
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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