metrics

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RevaulterMetrics

type RevaulterMetrics struct {
	// contains filtered or unexported fields
}

func (*RevaulterMetrics) HTTPHandler

func (m *RevaulterMetrics) HTTPHandler() http.Handler

func (*RevaulterMetrics) Init

func (m *RevaulterMetrics) Init()

func (*RevaulterMetrics) RecordLatency

func (m *RevaulterMetrics) RecordLatency(vault string, latency time.Duration)

func (*RevaulterMetrics) RecordRequest

func (m *RevaulterMetrics) RecordRequest(operation string, key string)

func (*RevaulterMetrics) RecordResult

func (m *RevaulterMetrics) RecordResult(status string)

Jump to

Keyboard shortcuts

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