feat: add libp2p identify table schema#57
Open
raulk wants to merge 1 commit intoethpandaops:masterfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the ClickHouse table schemas for the new
libp2p_identifyeventtype, which captures libp2p Identify handshake results (peer agent version,
protocols, listen addresses, transport negotiation, etc.).
Table schemas
libp2p_identify_local.sqldefines the ReplicatedReplacingMergeTree table withall 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.sqldefines the Distributed table sharded bycityHash64(event_date_time, meta_network_name, meta_client_name, remote_peer_id_unique_key, direction).Configuration
The table entry is added to
config.yamlwith daily partitioning onevent_date_time, enabled for mainnet, hoodi, and sepolia starting2026-02-20.
Companion PR: ethpandaops/xatu#763