metrics-exporter

command
v1.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2020 License: LGPL-3.0, LGPL-3.0 Imports: 15 Imported by: 0

README

metrics-exporter

A tool that exports metrics from an Ethereum client. It queries metrics from either HTTP, Websocket or IPC for every period and then passes the metrics to the backends. Please note that you

Supported backends

  • Prometheus

    Expose all metrics through Prometheus gauge at http://host:port/metrics.

Supported Ethereum client

Installing

See README

Build

See README

Usage

$ metrics-exporter --help
The Ethereum metrics exporter for Prometheus.

Usage:
  metrics-exporter [flags]

Flags:
      --eth.endpoint string     The Ethereum endpoint to connect to (default ":8546")
  -h, --help                    help for metrics-exporter
      --host string             The HTTP server listening address (default "localhost")
      --labels stringToString   The labels of metrics. For example: k1=v1,k2=v2 (default [])
      --namespace string        The namespace of metrics
      --period duration         The metrics update period (default 5s)
      --port int                The HTTP server listening port (default 9092)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL