25#include <seastar/http/httpd.hh>
27#include <seastar/util/std-compat.hh>
28#include <seastar/util/modules.hh>
36SEASTAR_MODULE_EXPORT_BEGIN
44 std::optional<metrics::label_instance>
label;
46 bool allow_protobuf =
false;
57SEASTAR_MODULE_EXPORT_END
A representation of a possibly not-yet-computed value.
Definition: future.hh:1240
Definition: sharded.hh:182
header for metrics creation.
Seastar API namespace.
Definition: abort_on_ebadf.hh:26
Definition: prometheus.hh:41
std::optional< metrics::label_instance > label
A label that will be added to all metrics, we advice not to use it and set it on the prometheus serve...
Definition: prometheus.hh:44
sstring metric_help
Default help message for the returned metrics.
Definition: prometheus.hh:42
sstring prefix
a prefix that will be added to metric names
Definition: prometheus.hh:45
sstring hostname
hostname is deprecated, use label instead
Definition: prometheus.hh:43