Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cl-mimicry): Add LIBP2P_GOSSIPSUB_ATTESTATION #318

Merged
merged 7 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
912 changes: 608 additions & 304 deletions deploy/local/docker-compose/grafana/dashboards/xatu/basic_overview.json

Large diffs are not rendered by default.

4,517 changes: 4,517 additions & 0 deletions deploy/local/docker-compose/grafana/dashboards/xatu/gossipsub.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions deploy/local/docker-compose/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ scrape_configs:
- job_name: 'vector-kafka-clickhouse'
static_configs:
- targets: ['vector-kafka-clickhouse:9598']
- job_name: 'vector-kafka-clickhouse-libp2p'
static_configs:
- targets: ['vector-kafka-clickhouse-libp2p:9598']
- job_name: 'vector-http-kafka'
static_configs:
- targets: ['vector-http-kafka:9598']
17 changes: 17 additions & 0 deletions deploy/local/docker-compose/vector-http-kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ transforms:
libp2p_trace_handle_metadata: .event.name == "LIBP2P_TRACE_HANDLE_METADATA"
libp2p_trace_handle_status: .event.name == "LIBP2P_TRACE_HANDLE_STATUS"
libp2p_trace_gossipsub_beacon_block : .event.name == "LIBP2P_TRACE_GOSSIPSUB_BEACON_BLOCK"
libp2p_trace_gossipsub_beacon_attestation : .event.name == "LIBP2P_TRACE_GOSSIPSUB_BEACON_ATTESTATION"
sinks:
metrics:
type: prometheus_exporter
Expand Down Expand Up @@ -839,3 +840,19 @@ sinks:
enabled: true
encoding:
codec: json
libp2p_trace_gossipsub_beacon_attestation_kafka:
type: kafka
buffer:
max_events: 500000
batch:
timeout_secs: 0.5
inputs:
- xatu_server_events_router.libp2p_trace_gossipsub_beacon_attestation
bootstrap_servers: "${KAFKA_BROKERS}"
key_field: "event.id"
topic: libp2p-trace-gossipsub-beacon-attestation
compression: snappy
healthcheck:
enabled: true
encoding:
codec: json
Loading
Loading