Versions in this module Expand all Collapse all v0 v0.1.0 Dec 17, 2021 Changes in this version + const TelegramInlineQueryEventType + const TelegramMessageEventType + func HandlerFor(m Metrics, o Options) http.Handler + func NewDefaultHandler(o Options) http.Handler + type Metrics interface + IncTelegramCommands func(cmd string) + IncTelegramEventsIncoming func(eventType string) + IncTelegramEventsOutgoing func(eventType string) + RegisterHandler func(path string, handler *http.ServeMux) + type Options struct + EnableProfile bool + EnableRuntimeMetrics bool + Enabled bool + Prefix string + PrometheusRegistry *prometheus.Registry + func DefaultOptions() Options + type Prometheus struct + func NewDefaultPrometheus() *Prometheus + func NewPrometheus(opts Options) *Prometheus + func (p *Prometheus) CreateHandler() http.Handler + func (p *Prometheus) IncTelegramCommands(cmd string) + func (p *Prometheus) IncTelegramEventsIncoming(eventType string) + func (p *Prometheus) IncTelegramEventsOutgoing(eventType string) + func (p *Prometheus) RegisterHandler(path string, mux *http.ServeMux)