Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMetricsExporter ¶
Types ¶
type StatsReporter ¶
type StatsReporter interface { ReportKeyvaultRequest(ctx context.Context, duration float64, objectType, objectName, err string) ReportGRPCRequest(ctx context.Context, duration float64, method, code, message string) }
StatsReporter is the interface for reporting metrics
func NewStatsReporter ¶
func NewStatsReporter() StatsReporter
NewStatsReporter creates a new StatsReporter
Click to show internal directories.
Click to hide internal directories.