Affected by GO-2022-0456
and 2 other vulnerabilities
GO-2022-0456: DoS via malicious p2p message in Go Ethereum in github.com/ethereum/go-ethereum
GO-2023-2046: Unbounded memory consumption in github.com/ethereum/go-ethereum
GO-2024-2819: Denial of Service in github.com/ethereum/go-ethereum
package
Version:
v1.10.4
Opens a new window with list of versions in this module.
Published: Jun 17, 2021
License: GPL-3.0, BSD-2-Clause-Views
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 185
Opens a new window with list of known importers.
Documentation
¶
Hook go-metrics into expvar
on any /debug/metrics request, load all vars from the registry into expvar, and execute regular expvar handler
Exp will register an expvar powered metrics handler with http.DefaultServeMux on "/debug/vars"
ExpHandler will return an expvar powered metrics handler.
Setup starts a dedicated metrics server at the given address.
This function enables metrics reporting separate from pprof.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.