#include "messages.h"#include "stats-query-commands.h"#include "stats-prometheus.h"#include "stats-csv.h"#include "stats/stats-query.h"#include "control/control-connection.h"#include "scratch-buffers.h"
Typedefs | |
| typedef gboolean(* | query_cmd) (const gchar *output_fmt, const gchar *filter_expr, GString *result) |
Enumerations | |
| enum | QueryCommand { QUERY_GET = 0 , QUERY_GET_RESET , QUERY_GET_SUM , QUERY_GET_SUM_RESET , QUERY_LIST , QUERY_LIST_RESET , QUERY_CMD_MAX } |
Functions | |
| GString * | stats_execute_query_command (const gchar *command, gpointer user_data, gboolean *cancelled) |
| void | stats_process_query_command (ControlConnection *cc, GString *command, gpointer user_data, gboolean *cancelled) |
Variables | |
| const gint | CMD_STR = 0 |
| const gint | QUERY_CMD_STR = 1 |
| const gint | QUERY_OUT_FMT_STR = 2 |
| const gint | QUERY_FILTER_STR = 3 |
| typedef gboolean(* query_cmd) (const gchar *output_fmt, const gchar *filter_expr, GString *result) |
| enum QueryCommand |
| GString* stats_execute_query_command | ( | const gchar * | command, |
| gpointer | user_data, | ||
| gboolean * | cancelled | ||
| ) |
| void stats_process_query_command | ( | ControlConnection * | cc, |
| GString * | command, | ||
| gpointer | user_data, | ||
| gboolean * | cancelled | ||
| ) |
| const gint CMD_STR = 0 |
| const gint QUERY_CMD_STR = 1 |
| const gint QUERY_FILTER_STR = 3 |
| const gint QUERY_OUT_FMT_STR = 2 |