metrics

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: UPL-1.0 Imports: 9 Imported by: 0

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

View Source
const MetricsPath = "/metrics"

Variables

This section is empty.

Functions

func InitMetricsExporter

func InitMetricsExporter(metricsBackend string, port int) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL