package
0.0.0-20250108140321-06a886ea90d2
Repository: https://github.com/arithmic/eigensdk-go.git
Documentation: pkg.go.dev

# README

Eigen Metrics

This package implements the eigenlayer avs node spec eigen metrics.

For an example of how to use this package, see eigen-metrics-example

# Packages

No description provided by the author

# Functions

NewEigenMetrics Follows the structure from https://pkg.go.dev/github.com/prometheus/client_golang/prometheus#hdr-A_Basic_Example TODO(samlaf): I think each avs runs in a separate docker bridge network.
No description provided by the author

# Structs

EigenMetrics contains instrumented metrics that should be incremented by the avs node using the methods below.
No description provided by the author

# Interfaces

Metrics is the interface for the EigenMetrics server it only wraps 2 of the 6 methods required by the spec (https://docs.eigenlayer.xyz/eigenlayer/avs-guides/spec/metrics/metrics-prom-spec) the others are implemented by the economics and rpc_calls collectors, and need to be registered with the metrics server prometheus registry.