Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RouteEngine ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func (*Context) GetGinContext ¶
func (*Context) ResponseParseParamsFieldFail ¶
func (*Context) SetGinContext ¶
type PromeCounterStatMgr ¶
type PromeCounterStatMgr struct {
// contains filtered or unexported fields
}
func NewCounter ¶
func NewCounter(name string) *PromeCounterStatMgr
func (*PromeCounterStatMgr) InitDefaultLabels ¶
func (c *PromeCounterStatMgr) InitDefaultLabels(defaultLabels map[string]string, labels []string) *PromeCounterStatMgr
func (*PromeCounterStatMgr) InitLabels ¶
func (c *PromeCounterStatMgr) InitLabels(labels []string) *PromeCounterStatMgr
func (*PromeCounterStatMgr) LabelValues ¶
func (c *PromeCounterStatMgr) LabelValues(labels ...string) prometheus.Counter
type PromeGaugeStatMgr ¶
type PromeGaugeStatMgr struct {
// contains filtered or unexported fields
}
func NewGauge ¶
func NewGauge(name string) *PromeGaugeStatMgr
func (*PromeGaugeStatMgr) InitDefaultLabels ¶
func (c *PromeGaugeStatMgr) InitDefaultLabels(defaultLabels map[string]string, labels []string) *PromeGaugeStatMgr
func (*PromeGaugeStatMgr) InitLabels ¶
func (c *PromeGaugeStatMgr) InitLabels(labels []string) *PromeGaugeStatMgr
func (*PromeGaugeStatMgr) LabelValues ¶
func (c *PromeGaugeStatMgr) LabelValues(labels ...string) prometheus.Gauge
type PromeHistogramStatMgr ¶
type PromeHistogramStatMgr struct {
// contains filtered or unexported fields
}
func NewHistogram ¶
func NewHistogram(name string, buckets []float64) *PromeHistogramStatMgr
func (*PromeHistogramStatMgr) InitDefaultLabels ¶
func (c *PromeHistogramStatMgr) InitDefaultLabels(defaultLabels map[string]string, labels []string) *PromeHistogramStatMgr
func (*PromeHistogramStatMgr) InitLabels ¶
func (c *PromeHistogramStatMgr) InitLabels(labels []string) *PromeHistogramStatMgr
func (*PromeHistogramStatMgr) LabelValues ¶
func (c *PromeHistogramStatMgr) LabelValues(labels ...string) prometheus.Observer
Click to show internal directories.
Click to hide internal directories.