metrics

package
v0.27.6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package metrics provides monitoring of the GitHub related metrics.

This depends on the metrics exporter of kubebuilder. See https://book.kubebuilder.io/reference/metrics.html for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register added in v0.27.5

func Register()

Types

type Transport

type Transport struct {
	Transport http.RoundTripper
}

Transport wraps a transport with metrics monitoring

func (Transport) RoundTrip

func (t Transport) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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