Skip to content

Comments

feat: add libp2p identify table schema#57

Open
raulk wants to merge 1 commit intoethpandaops:masterfrom
raulk:feat/libp2p-identify-schema
Open

feat: add libp2p identify table schema#57
raulk wants to merge 1 commit intoethpandaops:masterfrom
raulk:feat/libp2p-identify-schema

Conversation

@raulk
Copy link

@raulk raulk commented Feb 20, 2026

This PR adds the ClickHouse table schemas for the new libp2p_identify event
type, which captures libp2p Identify handshake results (peer agent version,
protocols, listen addresses, transport negotiation, etc.).

Table schemas

libp2p_identify_local.sql defines the ReplicatedReplacingMergeTree table with
all identify-specific columns (success, error, protocol_version, protocols,
listen_addrs, observed_addr, transport, security, muxer, direction,
remote_multiaddr) alongside the standard remote peer geo/agent columns and
meta_client/meta_network columns. The table follows the same pattern as
libp2p_connected_local.sql.

libp2p_identify.sql defines the Distributed table sharded by
cityHash64(event_date_time, meta_network_name, meta_client_name, remote_peer_id_unique_key, direction).

Configuration

The table entry is added to config.yaml with daily partitioning on
event_date_time, enabled for mainnet, hoodi, and sepolia starting
2026-02-20.

Companion PR: ethpandaops/xatu#763

@raulk raulk requested a review from Savid as a code owner February 20, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant