package
1.0.12
Repository: https://github.com/skip-mev/slinky.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewMetrics returns a Metrics implementation that exposes metrics to Prometheus.
NewMetricsFromConfig returns an oracle Metrics implementation based on the provided config.
NewNopMetrics returns a Metrics implementation that does nothing.

# Constants

DecimalsLabel is the number of decimal points associated with the price.
OracleSubsystem is a subsystem shared by all metrics exposed by this package.
PairIDLabel is the currency pair for which the metric applies.
ProviderLabel is a label for the provider name.
SuccessLabel is a label for a successful operation.
Version is a label for the Slinky version.

# Structs

OracleMetricsImpl is a Metrics implementation that does nothing.

# Interfaces

Metrics is an interface that defines the API for oracle metrics.