Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.73 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.73 KB

celestia-bridge-metrics

Overview

celestia-bridge-metrics is a Prometheus exporter designed for simplicity and ease of use, catering specifically to Celestia bridge instances.

Full monitoring stack here: https://github.com/P-OPSTeam/celestia-tools/tree/main/grafana

Configuration

The exporter is pre-configured to transmit telemetry data to the Celestia server. This is already configured for mainnet. Refer to the configuration in conf/otel-collector-config.yaml:

# Celestia Mainnet configuration
exporters:
  otlphttp:
    endpoint: https://otel.celestia.observer
# Full config file example: otel-collector-config.yaml.mainnet

---------------------------------------------------------------	

# For mocha-4 update the endpoint with the following:
exporters:
  otlphttp:
    endpoint: https://otel.celestia-mocha.com
# Full config file example: otel-collector-config.yaml.mocha-4-testnet

Usage

Start the service with the command:

docker-compose up -d

To enable metrics collection, start your Celestia bridge with the following parameters:

--metrics --metrics.tls=false --metrics.endpoint=127.0.0.1:4318

Access metrics at the following endpoints:

Security Warning

⚠️ Exposure Risk: If your machine is exposed to the internet (has a public IP), the Docker network will expose your metrics ports to the internet. If you're unsure about securing your setup, please seek guidance through the appropriate channels.

Contact

For support issues and feature requests, please use the GitHub issue tracker.