SatoshiQaziMuhammed fe3dd7744a Build and run the backend on bookworm; bullseye's packages are no longer fetchable (#6)
Debian 11 left LTS at the end of August 2026. The runtime stage's
`apt-get install openssl` now fails: the index still names
openssl 1.1.1w-0+deb11u8 but deb.debian.org answers 404 for the file, so the
image cannot be built at all.

Moving only the runtime to bookworm would break the binaries: openssl-sys is in
the lock, so they link the system libssl, and a bullseye build wants libssl1.1,
which bookworm does not ship. Both stages move together: the builder becomes
rust:1.88-bookworm (the same toolchain ci-unified carried) and the runtime
bookworm-slim, so the binaries link the libssl3 they run with.
2026-09-25 22:42:19 +04:00
2020-04-24 12:49:52 +02:00
2021-03-29 22:21:33 +02:00
2021-11-23 18:12:14 +02:00
2018-06-18 18:39:56 +02:00
2026-01-08 16:40:51 +03:00
2021-03-25 14:23:03 +01:00

Pezkuwichain Telemetry

Overview

This repository contains the Telemetry server for Pezkuwichain nodes. It includes:

  • Backend: Rust-based ingestion server (telemetry_shard and telemetry_core)
  • Frontend: React/TypeScript dashboard for monitoring network nodes

Pezkuwichain nodes can connect to Telemetry using the --telemetry-url flag.

Messages

Nodes send telemetry messages depending on the verbosity level:

Verbosity 0 (default):

system.connected
system.interval
block.import
notify.finalized

Verbosity 1 (includes validator address):

afg.authority_set

Getting Started

Prerequisites

Backend

cd backend
cargo build --release

# Terminal 1 - Core server
./target/release/telemetry_core

# Terminal 2 - Shard server
./target/release/telemetry_shard

Default ports:

  • telemetry_core: 127.0.0.1:8000
  • telemetry_shard: 127.0.0.1:8001

Frontend

cd frontend
npm install
npm run start

Access the UI at http://localhost:3000

Connect a Node

pezkuwi --dev --telemetry-url 'ws://localhost:8001/submit 0'

Note: The "0" is the verbosity level (0-9).

Docker

Build Images

# Backend
cd backend
docker build -t pezkuwichain/telemetry-backend .

# Frontend
cd frontend
docker build -t pezkuwichain/telemetry-frontend .

Docker Compose

docker-compose up

Manual Docker Setup

# Create network
docker network create telemetry

# Backend core
docker run -d --network=telemetry --name backend-core \
  -p 8000:8000 --read-only \
  pezkuwichain/telemetry-backend \
  telemetry_core -l 0.0.0.0:8000

# Backend shard
docker run -d --network=telemetry --name backend-shard \
  -p 8001:8001 --read-only \
  pezkuwichain/telemetry-backend \
  telemetry_shard -l 0.0.0.0:8001 -c http://backend-core:8000/shard_submit

# Frontend
docker run -d --network=telemetry --name frontend \
  -p 3000:8000 \
  -e SUBSTRATE_TELEMETRY_URL=ws://localhost:8000/feed \
  pezkuwichain/telemetry-frontend

Configuration

Environment Variables

Variable Description Default
SUBSTRATE_TELEMETRY_URL WebSocket URL for frontend to connect ws://localhost:8000/feed

License

GPL-3.0

Credits

Based on substrate-telemetry by Parity Technologies.

Maintained by Dijital Kurdistan Tech Institute.

S
Description
No description provided
Readme GPL-3.0
97 MiB
1 Watchers 0 Forks
Languages
Rust 62.6%
TypeScript 31.7%
CSS 4.6%
JavaScript 0.6%
Dockerfile 0.3%
Other 0.1%