20#ifndef ORES_TELEMETRY_DOMAIN_TELEMETRY_SOURCE_HPP
21#define ORES_TELEMETRY_DOMAIN_TELEMETRY_SOURCE_HPP
56 default:
return "unknown";
Domain types for telemetry and observability.
Definition attribute_value.hpp:29
telemetry_source
Source type for telemetry log entries.
Definition telemetry_source.hpp:33
@ client
Log entry from a client application.
@ server
Log entry from the server itself.
constexpr telemetry_source telemetry_source_from_string(std::string_view s)
Converts a string to telemetry_source.
Definition telemetry_source.hpp:64
constexpr std::string_view to_string(telemetry_source s)
Converts a telemetry_source to its string representation.
Definition telemetry_source.hpp:52
@ client
Indicates that the span describes a request to some remote service. This is often the client-side of ...
@ server
Indicates that the span covers the server-side handling of a synchronous RPC or other remote request.