24#ifndef SERVER_TELEMETRY_METRICS_BITS_H
25#define SERVER_TELEMETRY_METRICS_BITS_H
188 void *&measurement_context);
constexpr value_type numeric
Definition: classic_protocol_constants.h:282
static PSI_meter_info_v1 meter[]
Definition: plugin.cc:96
MetricOTELType
Definition: psi_metric_bits.h:32
MetricNumType
Definition: psi_metric_bits.h:38
void(* measurement_callback_t)(void *measurement_context, measurement_delivery_callback_t delivery, void *delivery_context)
Single metric measurement callback can return multiple measurement values.
Definition: psi_metric_bits.h:97
required bool enabled
Definition: replication_group_member_actions.proto:33
bool(* meters_iterator_get_name_t)(telemetry_meters_iterator iterator, my_h_string *out_name_handle)
Return meter name for the element pointed by Telemetry Meter (Metric Group) iterator.
Definition: server_telemetry_metrics_bits.h:236
bool(* metrics_iterator_get_unit_t)(telemetry_metrics_iterator iterator, my_h_string *out_unit_handle)
Return metric unit for the element pointed by Telemetry Metric iterator.
Definition: server_telemetry_metrics_bits.h:143
bool(* meters_iterator_get_description_t)(telemetry_meters_iterator iterator, my_h_string *out_desc_handle)
Return meter description for the element pointed by Telemetry Meter iterator.
Definition: server_telemetry_metrics_bits.h:278
bool(* metrics_iterator_get_value_t)(telemetry_metrics_iterator iterator, measurement_delivery_callback_t delivery, void *delivery_context)
Return metric name for the element pointed by Telemetry Metric iterator.
Definition: server_telemetry_metrics_bits.h:114
bool(* metrics_iterator_destroy_t)(telemetry_metrics_iterator iterator)
Uninitialize Telemetry Metric iterator.
Definition: server_telemetry_metrics_bits.h:61
bool(* metrics_iterator_get_name_t)(telemetry_metrics_iterator iterator, my_h_string *out_name_handle)
Return metric name for the element pointed by Telemetry Metric iterator.
Definition: server_telemetry_metrics_bits.h:99
bool(* metrics_iterator_get_callback_t)(telemetry_metrics_iterator iterator, measurement_callback_t &callback, void *&measurement_context)
Return metric measurement callback function for the element pointed by Telemetry Metric iterator.
Definition: server_telemetry_metrics_bits.h:186
bool(* meters_iterator_create_t)(telemetry_meters_iterator *iterator)
Initialize Telemetry Meter (Metric Group) iterator object to enumerate metrics groups,...
Definition: server_telemetry_metrics_bits.h:201
struct telemetry_metrics_iterator_imp * telemetry_metrics_iterator
Definition: server_telemetry_metrics_bits.h:35
bool(* meters_iterator_advance_t)(telemetry_meters_iterator iterator)
Advance Telemetry Meter (Metric Group) iterator to next element.
Definition: server_telemetry_metrics_bits.h:223
bool(* metrics_iterator_get_metric_type_t)(telemetry_metrics_iterator iterator, MetricOTELType &metric_type)
Return metric OTEL type for the element pointed by Telemetry Metric iterator.
Definition: server_telemetry_metrics_bits.h:171
bool(* metrics_iterator_advance_t)(telemetry_metrics_iterator iterator)
Advance Telemetry Metric iterator to next element.
Definition: server_telemetry_metrics_bits.h:72
bool(* metrics_iterator_create_t)(const char *meter, telemetry_metrics_iterator *iterator)
Initialize Telemetry Metric iterator object to enumerate metrics and read measurement values,...
Definition: server_telemetry_metrics_bits.h:49
struct telemetry_meters_iterator_imp * telemetry_meters_iterator
Definition: server_telemetry_metrics_bits.h:34
bool(* meters_iterator_destroy_t)(telemetry_meters_iterator iterator)
Uninitialize Telemetry Meter (Metric Group) iterator.
Definition: server_telemetry_metrics_bits.h:212
bool(* measurement_reading_end_t)()
Release the lock(s) needed to read system variables.
Definition: server_telemetry_metrics_bits.h:301
bool(* metrics_iterator_get_group_t)(telemetry_metrics_iterator iterator, my_h_string *out_group_handle)
Return group name for the element pointed by Telemetry Metric iterator.
Definition: server_telemetry_metrics_bits.h:85
bool(* meters_iterator_get_enabled_t)(telemetry_meters_iterator iterator, bool &enabled)
Return meter enabled status for the element pointed by Telemetry Meter iterator.
Definition: server_telemetry_metrics_bits.h:264
bool(* measurement_reading_start_t)()
Take the lock(s) needed to read system variables.
Definition: server_telemetry_metrics_bits.h:290
bool(* metrics_iterator_get_description_t)(telemetry_metrics_iterator iterator, my_h_string *out_desc_handle)
Return metric description for the element pointed by Telemetry Metric iterator.
Definition: server_telemetry_metrics_bits.h:129
bool(* meters_iterator_get_frequency_t)(telemetry_meters_iterator iterator, unsigned int &value)
Return meter update frequency for the element pointed by Telemetry Meter iterator.
Definition: server_telemetry_metrics_bits.h:250
bool(* metrics_iterator_get_numeric_type_t)(telemetry_metrics_iterator iterator, MetricNumType &numeric)
Return metric numeric type for the element pointed by Telemetry Metric iterator.
Definition: server_telemetry_metrics_bits.h:157
#define DEFINE_SERVICE_HANDLE(name)
Defines an object type that is meant for carrying handles to the implementation-specific objects used...
Definition: service.h:129
Definition: psi_metric_bits.h:77
Definition: mysql_string_service.cc:60