Documentation
¶
Index ¶
Constants ¶
View Source
const (
Namespace = "eigenda_proxy"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metricer ¶
type Metricer interface { RecordInfo(version string) RecordUp() RecordRPCServerRequest(method string) func() RecordRPCClientResponse(method string, err error) Document() []metrics.DocumentedMetric }
Metricer ... Interface for metrics
type Metrics ¶
type Metrics struct { Info *prometheus.GaugeVec Up prometheus.Gauge metrics.RPCMetrics // contains filtered or unexported fields }
Metrics ... Metrics struct
func NewMetrics ¶
func (*Metrics) Document ¶
func (m *Metrics) Document() []metrics.DocumentedMetric
func (*Metrics) RecordInfo ¶
RecordInfo sets a pseudo-metric that contains versioning and config info for the proxy DA node.
func (*Metrics) StartServer ¶
StartServer starts the metrics server on the given hostname and port.
Click to show internal directories.
Click to hide internal directories.