#include "stats/stats-prometheus.h"#include "stats/stats-registry.h"#include "stats/stats-cluster.h"#include "stats/stats-counter.h"#include "timeutils/unixtime.h"#include "str-utils.h"#include "scratch-buffers.h"#include <string.h>
Functions | |
| gchar * | stats_format_prometheus_format_value (const StatsClusterKey *key, StatsCounterItem *counter) |
| GString * | stats_prometheus_format_counter (StatsCluster *sc, gint type, StatsCounterItem *counter) |
| void | stats_generate_prometheus (StatsPrometheusRecordFunc process_record, gpointer user_data, gboolean with_legacy, gboolean without_orphaned, gboolean *cancelled) |
| gchar* stats_format_prometheus_format_value | ( | const StatsClusterKey * | key, |
| StatsCounterItem * | counter | ||
| ) |
| void stats_generate_prometheus | ( | StatsPrometheusRecordFunc | process_record, |
| gpointer | user_data, | ||
| gboolean | with_legacy, | ||
| gboolean | without_orphaned, | ||
| gboolean * | cancelled | ||
| ) |
| GString* stats_prometheus_format_counter | ( | StatsCluster * | sc, |
| gint | type, | ||
| StatsCounterItem * | counter | ||
| ) |