Documentation ¶
Overview ¶
** OCI Secrets Store CSI Driver Provider ** ** Copyright (c) 2022 Oracle America, Inc. and its affiliates. ** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
** OCI Secrets Store CSI Driver Provider ** ** Copyright (c) 2022 Oracle America, Inc. and its affiliates. ** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
** OCI Secrets Store CSI Driver Provider ** ** Copyright (c) 2022 Oracle America, Inc. and its affiliates. ** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
Index ¶
Constants ¶
const MetricsPath = "/metrics"
Variables ¶
This section is empty.
Functions ¶
func InitMetricsExporter ¶
Types ¶
type StatsReporter ¶
type StatsReporter interface {
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