基于区块链的毕业设计eth2-prometheus-exporter – eth2普罗米修斯出口商

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计eth2-prometheus-exporter – eth2普罗米修斯出口商 是一篇很好的国外资料

eth2-prometheus-exporter

A prometheus exporter that surfaces metrics from a beaconchain node. Tested with Lighthouse.

Installation

Install with go get:

go get github.com/landakram/eth2-prometheus-exporter/cmd/eth2-promethe us-exporter

Or grab a binary for your platform from the Releases page.

Usage

If you are running eth2-prometheus-exporter on the same box as your beaconchain node, simply specify the validators that you would like to track by index:

eth2-prometheus-exporter --validator-index 12345 --validator-index 98765

eth2-prometheus-exporter exposes an endpoint, http://localhost:8080/metrics by default, that is suitable for scraping by a prometheus server.

Several other options are provided:

eth2-prometheus-exporter -h Usage of eth2-prometheus-exporter:   -beacon-chain-address string     	The address of the beacon chain HTTP API. (default ":5052")   -listen-address string     	The address to listen on for HTTP requests. (default ":8080")   -refresh-interval duration     	The interval between polling the beacon-chain for metrics. (default 5s)   -validator-index value     	Validator index to gather metrics on. This option can be specified multiple times to gather metrics on multiple validators.

Available metrics

Only one metric is supported right now, which motivated creation of this tool:

  • eth2_validator_balance_gwei: A gauge that records a given validator’s balance in gwei. The metric is labeled by validator_index.

Motivation

Lighthouse does not expose validator balances as part of its metrics server. I wanted to alert based on validator balance as a warning sign that the validator is not correctly performing its duties.

Add installation instructions


eth2 prometheus exporter

一个prometheus导出器,从beaconchain节点显示度量。用灯塔测试。

安装

使用go-get安装:

go get github.com/landakram/eth2-prometheus-exporter/cmd/eth2-promethe us-exporter

或从“发布”页面获取一个适用于您的平台的二进制文件。

使用

如果您在与beanchain节点相同的框中运行eth2 prometheus exporter,只需指定要按索引跟踪的验证程序:

eth2-prometheus-exporter --validator-index 12345 --validator-index 98765

eth2 prometheus exporter公开端点,http://localhost:8080/metrics默认情况下,适合由prometheus服务器进行刮取。

提供了几个其他选项:

eth2-prometheus-exporter -h Usage of eth2-prometheus-exporter:   -beacon-chain-address string     	The address of the beacon chain HTTP API. (default ":5052")   -listen-address string     	The address to listen on for HTTP requests. (default ":8080")   -refresh-interval duration     	The interval between polling the beacon-chain for metrics. (default 5s)   -validator-index value     	Validator index to gather metrics on. This option can be specified multiple times to gather metrics on multiple validators.

可用度量

目前只支持一个度量,这促使创建此工具:

  • eth2验证程序余额 gwei:记录给定验证程序gwei余额的仪表。度量由validatoru index标记。你知道吗

动机

Lighthouse不会将验证程序余额作为其度量服务器的一部分公开。我想根据验证器余额发出警报,作为验证器未正确执行其职责的警告信号。

Add installation instructions

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/19518.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计eth2-prometheus-exporter – eth2普罗米修斯出口商

提供最优质的资源集合

立即查看 了解详情