Files
evm/metrics/gatherer/interfaces.go
zeekay d32e075809 refactor: update to vm v1.0.18, migrate log and metrics packages
- Update vm dependency to v1.0.18
- Remove internal log package in favor of luxfi/log
- Migrate prometheus to gatherer package
2026-01-11 21:38:34 -08:00

15 lines
406 B
Go

// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package gatherer
import "github.com/luxfi/geth/metrics"
var _ Registry = metrics.Registry(nil)
type Registry interface {
// Call the given function for each registered metric.
Each(func(string, any))
// Get the metric by the given name or nil if none is registered.
Get(string) any
}