Skip to content

deepakdevcast/ethereum_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinkedIn


Ethereum Exporter

An Ethereum Exporter to generate prometheus metrics

Table of Contents
  1. About
  2. Getting Started
  3. Contact

About

This project is build to generate prometheus metrics for multiple ethereum rpc clients.

Metrics:

  1. eth_syncing
  2. eth_block_height
  3. eth_chainId
  4. eth_gasPrice

Here's why:

  • This will helps you to monitor ethereum and get useful metrics
  • You can scape these metrics using prometheus
  • And eventually use grafana dashboard.

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

  • go

Installation

Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.

  1. Clone the repo
    git clone https://github.com/deepakdevcast/ethereum_exporter.git
  2. initialize .env | Config clients
     # the prometheus metrics endpoint
     METRICS_PORT=':7201'
     <!-- {[CLIENT1],[CLIENT2],...]} -->
     CLIENT_INFO='[{"client":"local","url":"https://localhost:8545"}]'
  3. Run
     cd cmd/ethereum_exporter
     go run .

Contact

Deepak Kumar - @deepakkdev

About

The Ethereum Prometheus Metric Exporter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages