Skip to content

liftedinit/manifest-node-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manifest Node Exporter

CircleCI

Prometheus exporters for collecting metrics from Manifest blockchain nodes. The exporters are designed to automatically detect which services are running on the node and collect relevant metrics.

Two exporters are available:

  • manifest-node-exporter: Collects metrics from the Manifest node and exposes them in a format that Prometheus can scrape.
  • manifest-excluded-supply-exporter: Collect token supply to be excluded from the total supply to calculate the circulating supply.

Installation

Download the latest release from the releases page

Quick Start - Manifest Node Exporter

manifest-node-exporter serve [flags]

The exporter will start a Prometheus metrics server on 0.0.0.0:2112 by default.

Global Flags

Flag Description
-h, --help help for manifest-node-exporter
-l, --logLevel Set the log level. Available levels: debug, info, warn, error. Default is info.

Serve Flags

Flag Description
-h, --help help for serve
--listen-address Address to listen on for Prometheus metrics. Default is 0.0.0.0:2112.
--ipbase-key API key for IPBase to get geographical information. If not set, geo info will not be collected.
--state-file Path to the state file where the exporter will store its state. Default is ./state.json.

Metrics

Metric Name Description
manifest_tokenomics_denom_info Information about the token denominations (symbol, denom, name, display).
manifest_tokenomics_total_supply Total supply for a given token.
manifest_tokenomics_token_count The number of different tokens hosted on the Manifest blockchain.
manifest_tokenomics_denom_grpc_up Whether the gRPC query for the token denomination was successful.
manifest_tokenomics_count_grpc_up Whether the gRPC query for the token count was successful.
manifest_geo_info Node's geographical information (country, city, region, etc)
manifest_geo_latitude Node's geographical latitude
manifest_geo_longitude Node's geographical longitude

Quick Start - Manifest Excluded Supply Exporter

manifest-excluded-supply-exporter serve --addrs-endpoint [ENDPOINT] [flags]

The exporter will start a Prometheus metrics server on 0.0.0.0:2112 by default.

Global Flags

Flag Description
-h, --help help for manifest-excluded-supply-exporter
-l, --logLevel Set the log level. Available levels: debug, info, warn, error. Default is info.

Serve Flags

Flag Description
-h, --help help for serve
--listen-address Address to listen on for Prometheus metrics. Default is 0.0.0.0:2112.
--addrs-endpoint REST endpoint from where to query for excluded supply addresses.

Metrics

Metric Name Description
manifest_tokenomics_excluded_supply The amount of tokens to be subtracted from the total supply to get the circulating supply
manifest_tokenomics_excluded_supply_grpc_up Whether the gRPC query for the excluded supply was successful.

About

A Prometheus node exporter for the Manifest Network

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •