Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Attributes | List of all members
seastar::prometheus::config Struct Reference

Detailed Description

Holds prometheus related configuration

#include <seastar/core/prometheus.hh>

Public Attributes

sstring metric_help
 Default help message for the returned metrics.
 
sstring hostname
 hostname is deprecated, use label instead
 
std::optional< metrics::label_instancelabel
 A label that will be added to all metrics, we advice not to use it and set it on the prometheus server.
 
sstring prefix = "seastar"
 a prefix that will be added to metric names
 
bool allow_protobuf = false
 

Member Data Documentation

◆ allow_protobuf

bool seastar::prometheus::config::allow_protobuf = false

◆ hostname

sstring seastar::prometheus::config::hostname

hostname is deprecated, use label instead

◆ label

std::optional<metrics::label_instance> seastar::prometheus::config::label

A label that will be added to all metrics, we advice not to use it and set it on the prometheus server.

◆ metric_help

sstring seastar::prometheus::config::metric_help

Default help message for the returned metrics.

◆ prefix

sstring seastar::prometheus::config::prefix = "seastar"

a prefix that will be added to metric names


The documentation for this struct was generated from the following file: