24#ifndef SERVER_TELEMETRY_ATTRIBUTE_BITS_H
25#define SERVER_TELEMETRY_ATTRIBUTE_BITS_H
log_attribute_type
Definition: server_telemetry_attribute_bits.h:27
@ LOG_ATTRIBUTE_UINT32
Definition: server_telemetry_attribute_bits.h:31
@ LOG_ATTRIBUTE_STRING
Definition: server_telemetry_attribute_bits.h:35
@ LOG_ATTRIBUTE_UINT64
Definition: server_telemetry_attribute_bits.h:33
@ LOG_ATTRIBUTE_BOOLEAN
Definition: server_telemetry_attribute_bits.h:29
@ LOG_ATTRIBUTE_INT32
Definition: server_telemetry_attribute_bits.h:30
@ LOG_ATTRIBUTE_INT64
Definition: server_telemetry_attribute_bits.h:32
@ LOG_ATTRIBUTE_STRING_VIEW
Definition: server_telemetry_attribute_bits.h:36
@ LOG_ATTRIBUTE_DOUBLE
Definition: server_telemetry_attribute_bits.h:34
Definition: server_telemetry_attribute_bits.h:57
void set_double(const char *attr_name, double v)
Definition: server_telemetry_attribute_bits.h:92
void set_string(const char *attr_name, const char *v)
Definition: server_telemetry_attribute_bits.h:98
enum log_attribute_type type
Definition: server_telemetry_attribute_bits.h:59
void set_int64(const char *attr_name, int64_t v)
Definition: server_telemetry_attribute_bits.h:80
void set_uint32(const char *attr_name, uint32_t v)
Definition: server_telemetry_attribute_bits.h:74
void set_string_view(const char *attr_name, const char *v, size_t len)
Definition: server_telemetry_attribute_bits.h:104
void set_bool(const char *attr_name, bool v)
Definition: server_telemetry_attribute_bits.h:62
void set_uint64(const char *attr_name, uint64_t v)
Definition: server_telemetry_attribute_bits.h:86
const char * name
Definition: server_telemetry_attribute_bits.h:58
void set_int32(const char *attr_name, int32_t v)
Definition: server_telemetry_attribute_bits.h:68
log_attribute_value value
Definition: server_telemetry_attribute_bits.h:60
Definition: server_telemetry_attribute_bits.h:46
uint64_t uint64_value
Definition: server_telemetry_attribute_bits.h:51
bool bool_value
Definition: server_telemetry_attribute_bits.h:47
double double_value
Definition: server_telemetry_attribute_bits.h:52
int32_t int32_value
Definition: server_telemetry_attribute_bits.h:48
uint32_t uint32_value
Definition: server_telemetry_attribute_bits.h:49
const char * string_value
Definition: server_telemetry_attribute_bits.h:53
int64_t int64_value
Definition: server_telemetry_attribute_bits.h:50
size_t string_length
Definition: server_telemetry_attribute_bits.h:54