Versions in this module Expand all Collapse all v1 v1.10.3 Dec 16, 2024 v1.10.2 Dec 15, 2024 Changes in this version + func PromRegistry() *prometheus.Registry + type Config struct + EnablePush bool + Enabled bool + Gateway string + IP string + Instance string + Legacy bool + Network string + NodeType string + Port int + Shard uint32 + TikvRole string + func (p Config) IsUsedTiKV() bool + func (p Config) String() string + type Handler struct + Handler func(http.ResponseWriter, *http.Request) + Path string + type Service struct + func NewService(cfg Config, additionalHandlers ...Handler) *Service + func (s *Service) Start() error + func (s *Service) Status() error + func (s *Service) Stop() error