Sign inSign up

stellar/stellar-core-prometheus-exporter

By stellar

Updated 7 months ago

Exposes stellar-core metrics in prometheus format

Image
1

100K+

stellar/stellar-core-prometheus-exporter repository overview

The Stellar Core Prometheus Exporter reads metrics exposed by the stellar-core daemon and exposes them in prometheus format

Source code and documentation are available in github

Configuration

The image accepts 2 optional environment variables:

  • STELLAR_CORE_ADDRESS - URL to stellar-core http endpoint. Defaults to http://127.0.0.1:11626
  • PORT - HTTP port to listen on. Defaults to 9473

Example config

To deploy the exporter and point it at a local stellar-core quickstart deployment the following docker compose config can be used:

version: "2"
services:
  stellar-core:
    image: "stellar/quickstart"
    command:
      - "--testnet"
    ports:
      - "8000:8000"
    links:
      - prometheus-exporter
  prometheus-exporter:
    image: ex:latest
    environment:
      - STELLAR_CORE_ADDRESS=http://stellar-core:11626
    ports:
      - "9473:9473"

To launch the stack save this config in docker-compose.yml and run:

docker-compose up

Tag summary

Content type

Image

Digest

sha256:f3b85fd21

Size

86 MB

Last updated

7 months ago

docker pull stellar/stellar-core-prometheus-exporter