metrics

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package metrics increments HTTP counters and exports them for Prometheus.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer added in v0.10.0

func StartServer(port int, namespace string) (chain.Chain, func(net.Conn, http.ConnState))

MetricsServer creates and starts the Prometheus export server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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