Documentation
¶
Index ¶
Constants ¶
View Source
const ErrDescriptionCtxKey = ContextKey("errDescription")
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnectionStat ¶
type ConnectionStat interface{}
type ContextKey ¶
type ContextKey string
func (ContextKey) String ¶
func (c ContextKey) String() string
type DBClient ¶
type DBClient struct { Connections prometheus.GaugeFunc ErrsTotal *prometheus.CounterVec TimeTotal *prometheus.CounterVec BytesTotal *prometheus.CounterVec RecordsTotal *prometheus.CounterVec }
func NewDBClient ¶
func (*DBClient) AutoRegister ¶
type HTTPIn ¶
type HTTPIn struct { Uptime prometheus.GaugeFunc ReqTotal *prometheus.CounterVec ReqBytesTotal *prometheus.CounterVec ReqErrorsTotal *prometheus.CounterVec RespTotal *prometheus.CounterVec RespBytesTotal *prometheus.CounterVec RespErrorsTotal *prometheus.CounterVec RespTimeHist *prometheus.HistogramVec RespTimeTotal *prometheus.GaugeVec }
func (*HTTPIn) AutoRegister ¶
type HTTPOut ¶
type HTTPOut struct { DNSResolveTime *prometheus.GaugeVec ConnectTime *prometheus.CounterVec HandshakeTime *prometheus.CounterVec ReqTotal *prometheus.CounterVec ReqBytesTotal *prometheus.CounterVec ReqErrorsTotal *prometheus.CounterVec RespTotal *prometheus.CounterVec RespBytesTotal *prometheus.CounterVec RespErrorsTotal *prometheus.CounterVec RespTimeToFirstByte *prometheus.GaugeVec RespTimeTotal *prometheus.CounterVec }
func NewHTTPOut ¶
func (*HTTPOut) AutoRegister ¶
Click to show internal directories.
Click to hide internal directories.