Documentation ¶
Index ¶
- Constants
- func Module() fx.Option
- type FluxMeter
- func (fluxMeter *FluxMeter) GetAttributeKey() string
- func (fluxMeter *FluxMeter) GetFluxMeterID() iface.FluxMeterID
- func (fluxMeter *FluxMeter) GetFluxMeterName() string
- func (fluxMeter *FluxMeter) GetHistogram(decisionType flowcontrolv1.CheckResponse_DecisionType, statusCode string, ...) prometheus.Observer
- func (fluxMeter *FluxMeter) GetSelector() *selectorv1.Selector
Constants ¶
View Source
const (
// FxNameTag is Flux Meter Watcher's Fx Tag.
FxNameTag = "name:\"flux_meter\""
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FluxMeter ¶
type FluxMeter struct {
// contains filtered or unexported fields
}
FluxMeter describes single fluxmeter.
func (*FluxMeter) GetAttributeKey ¶ added in v0.1.3
GetAttributeKey returns the attribute key.
func (*FluxMeter) GetFluxMeterID ¶
func (fluxMeter *FluxMeter) GetFluxMeterID() iface.FluxMeterID
GetFluxMeterID returns the flux meter ID.
func (*FluxMeter) GetFluxMeterName ¶
GetFluxMeterName returns the metric name.
func (*FluxMeter) GetHistogram ¶
func (fluxMeter *FluxMeter) GetHistogram(decisionType flowcontrolv1.CheckResponse_DecisionType, statusCode string, featureStatus string, ) prometheus.Observer
GetHistogram returns the histogram.
func (*FluxMeter) GetSelector ¶
func (fluxMeter *FluxMeter) GetSelector() *selectorv1.Selector
GetSelector returns the selector.
Click to show internal directories.
Click to hide internal directories.