httpmetrics

package
v0.1.41 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Content managed by Project Forge, see [projectforge.md] for details.

Content managed by Project Forge, see [projectforge.md] for details.

Content managed by Project Forge, see [projectforge.md] for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractHeaders

func ExtractHeaders(rc *fasthttp.RequestCtx, logger *zap.SugaredLogger) *fasthttp.RequestCtx

func InjectHTTP

func InjectHTTP(rc *fasthttp.RequestCtx, span *telemetry.Span)

Types

type Metrics

type Metrics struct {
	MetricsPath string
	// contains filtered or unexported fields
}

func NewMetrics

func NewMetrics(subsystem string) *Metrics

func (*Metrics) WrapHandler

func (p *Metrics) WrapHandler(r *router.Router) fasthttp.RequestHandler

Jump to

Keyboard shortcuts

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