Documentation ¶
Index ¶
Constants ¶
View Source
const (
// MetricNamePrefix of all metric names
MetricNamePrefix = "bahn_bot_"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusRegistry ¶
type PrometheusRegistry struct { TelegramInUpdatesTotal prometheus.Counter TelegramInMessagesTotal prometheus.Counter TelegramInCommandsTotal prometheus.Counter TelegramInQueriesTotal prometheus.Counter TelegramOutMessagesTotal prometheus.Counter TelegramRequestDuration prometheus.Summary }
PrometheusRegistry to collect all metrics
func NewPrometheusMetric ¶
func NewPrometheusMetric() *PrometheusRegistry
NewPrometheusMetric configuration
Click to show internal directories.
Click to hide internal directories.