MCPcopy
hub / github.com/gogf/gf / MetricInitializer

Interface MetricInitializer

os/gmetric/gmetric.go:233–237  ·  view source on GitHub ↗

MetricInitializer manages the initialization for Metric. It is called internally in metric interface implements.

Source from the content-addressed store, hash-verified

231// MetricInitializer manages the initialization for Metric.
232// It is called internally in metric interface implements.
233type MetricInitializer interface {
234 // Init initializes the Metric in Provider creation.
235 // It sets the metric performer which really takes action.
236 Init(provider Provider) error
237}
238
239// PerformerExporter exports internal Performer of Metric.
240// It is called internally in metric interface implements.

Callers 1

newPriorityQueueFunction · 0.65

Implementers 15

localUpDownCounteros/gmetric/gmetric_meter_updown_counte
localCounteros/gmetric/gmetric_meter_counter.go
localObservableCounteros/gmetric/gmetric_meter_observable_co
localHistogramos/gmetric/gmetric_meter_histogram.go
localObservableGaugeos/gmetric/gmetric_meter_observable_ga
localObservableUpDownCounteros/gmetric/gmetric_meter_observable_up
sBasecmd/gf/internal/cmd/testdata/genservic
SubBasecmd/gf/internal/cmd/testdata/genservic
DomainObjectRestnet/ghttp/ghttp_z_unit_feature_router_
GroupObjRestnet/ghttp/ghttp_z_unit_feature_router_
ObjectMiddlewarenet/ghttp/ghttp_z_unit_feature_middlew
DomainObjectnet/ghttp/ghttp_z_unit_feature_router_

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…