Documentation ¶
Index ¶
- Variables
- type PrometheusAuthBasic
- type PrometheusConfigInput
- type PrometheusMetric
- type PrometheusServer
- func (p *PrometheusServer) Fire(metric *PrometheusMetric) error
- func (p *PrometheusServer) Initialize()
- func (p *PrometheusServer) IsInitialized() bool
- func (p *PrometheusServer) Reset(newConfig *ttutils.ConfigRoot) (*PrometheusServer, error)
- func (p *PrometheusServer) Shutdown() error
- func (p *PrometheusServer) Start() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PrometheusRouteCacheStatusCounter *prometheus.CounterVec PrometheusActiveConnGauge *prometheus.GaugeVec PrometheusProcessDurationSummary *prometheus.SummaryVec PrometheusConnDurationSummary *prometheus.SummaryVec )
Functions ¶
This section is empty.
Types ¶
type PrometheusAuthBasic ¶
type PrometheusConfigInput ¶
type PrometheusConfigInput struct { Config *ttutils.ConfigRoot Logger *logrus.Entry }
type PrometheusMetric ¶
type PrometheusServer ¶
type PrometheusServer struct {
// contains filtered or unexported fields
}
func NewPrometheus ¶
func NewPrometheus(prometheusConfig *PrometheusConfigInput) *PrometheusServer
func (*PrometheusServer) Fire ¶
func (p *PrometheusServer) Fire(metric *PrometheusMetric) error
func (*PrometheusServer) Initialize ¶
func (p *PrometheusServer) Initialize()
func (*PrometheusServer) IsInitialized ¶
func (p *PrometheusServer) IsInitialized() bool
func (*PrometheusServer) Reset ¶
func (p *PrometheusServer) Reset(newConfig *ttutils.ConfigRoot) (*PrometheusServer, error)
func (*PrometheusServer) Shutdown ¶
func (p *PrometheusServer) Shutdown() error
func (*PrometheusServer) Start ¶
func (p *PrometheusServer) Start() error
Click to show internal directories.
Click to hide internal directories.