Skip to content

feat: add libp2p identify table schema#57

Merged
mattevans merged 1 commit intoethpandaops:masterfrom
raulk:feat/libp2p-identify-schema
Feb 23, 2026
Merged

feat: add libp2p identify table schema#57
mattevans merged 1 commit intoethpandaops:masterfrom
raulk:feat/libp2p-identify-schema

Conversation

@raulk
Copy link
Copy Markdown
Contributor

@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
@mattevans mattevans merged commit 4ec6ba0 into ethpandaops:master Feb 23, 2026
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.

2 participants