metrics

package
v1.0.1-0...-5011f7a Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

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

Registry ...

func NewRegistry

func NewRegistry(ctx context.Context) *Registry

NewRegistry ...

func (*Registry) CountHome

func (r *Registry) CountHome()

CountHome ...

func (*Registry) CountPageView

func (r *Registry) CountPageView(id int64)

CountPageView ...

func (*Registry) CountSentBytes

func (r *Registry) CountSentBytes(ip string, bytes int)

func (*Registry) Handler

func (r *Registry) Handler() http.Handler

Handler ...

func (*Registry) MustRegister

func (r *Registry) MustRegister(cs ...prometheus.Collector)

func (*Registry) UserAgent

func (r *Registry) UserAgent(s string)

UserAgent ...

Directories

Path Synopsis
exporters

Jump to

Keyboard shortcuts

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