httpmetrics

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 14 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 util.Logger) (context.Context, util.Logger)

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