Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogReporter ¶
NewLogReporter returns a tally reporter that logs to the provided logger at debug level. This is useful for local development where the usual sinks are not available or refreshing the prometheus endpoint is not desirable.
func NewPrometheusReporter ¶
func NewPrometheusReporter(cfg *gatewayv1.Stats_PrometheusReporter) (tallyprom.Reporter, error)
func NewStatsdReporter ¶
func NewStatsdReporter(cfg *gatewayv1.Stats_StatsdReporter) (tally.StatsReporter, error)
Types ¶
type RuntimeStatCollector ¶
type RuntimeStatCollector struct {
// contains filtered or unexported fields
}
func NewRuntimeStats ¶
func NewRuntimeStats(scope tally.Scope, cfg *gatewayv1.Stats_GoRuntimeStats) *RuntimeStatCollector
func (*RuntimeStatCollector) Collect ¶
func (r *RuntimeStatCollector) Collect(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.