Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCollector ¶ added in v1.90.2
type ClientCollector struct {
// contains filtered or unexported fields
}
ClientCollector for prometheus.
func NewClientCollector ¶ added in v1.90.2
func NewClientCollector(lc fx.Lifecycle, version version.Version) *ClientCollector
NewClientCollector for prometheus.
func (*ClientCollector) Collect ¶ added in v1.90.2
func (m *ClientCollector) Collect(ch chan<- prometheus.Metric)
Collect is called by the prometheus registry when collecting metrics. The implementation sends each collected metric via the provided channel and returns once the last metric has been sent.
func (*ClientCollector) Describe ¶ added in v1.90.2
func (m *ClientCollector) Describe(ch chan<- *prometheus.Desc)
Describe sends the super-set of all possible descriptors of metrics collected by this Collector to the provided channel and returns once the last descriptor has been sent.
func (*ClientCollector) RoundTripper ¶ added in v1.90.2
func (m *ClientCollector) RoundTripper(rt http.RoundTripper) http.RoundTripper
RoundTripper for prometheus.
type ServerCollector ¶ added in v1.90.2
type ServerCollector struct {
// contains filtered or unexported fields
}
ServerCollector for prometheus.
func NewServerCollector ¶ added in v1.90.2
func NewServerCollector(lc fx.Lifecycle, version version.Version) *ServerCollector
NewServerCollector for prometheus.
func (*ServerCollector) Collect ¶ added in v1.90.2
func (m *ServerCollector) Collect(ch chan<- prometheus.Metric)
Collect is called by the Prometheus registry when collecting metrics. The implementation sends each collected metric via the provided channel and returns once the last metric has been sent.
func (*ServerCollector) Describe ¶ added in v1.90.2
func (m *ServerCollector) Describe(ch chan<- *prometheus.Desc)
Describe sends the super-set of all possible descriptors of metrics collected by this Collector to the provided channel and returns once the last descriptor has been sent.