Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.32 KB

analyzer.md

File metadata and controls

29 lines (18 loc) · 1.32 KB

Analyzer

Description

The analyzer feature allows for evaluating the health of an SSV client by analyzing log files. It can simultaneously analyze multiple log files, aggregate all the data, and support logs from one or multiple SSV client instances.

How to use

Configuration

CLI flags or config.yaml file.

Docker

Example of a Docker command. It assumes that the log files are stored on the local machine in the /path/to/local/dir directory.

docker run -v /path/to/local/dir:/path/in/container ghcr.io/ssvlabs/ssv-pulse:latest analyzer --log-files-directory=/path/in/container

All available CLI flags can be viewed by using the --help flag.

docker run ghcr.io/ssvlabs/ssv-pulse:latest analyzer --help

Metrics Overview

At a high level, metrics can be divided into two categories: metrics that belong to the log file owner (the Operator whose logs are being analyzed), such as peer ID, number of peers, peers’ client versions, the clusters the operator is part of, consensus client response time, and metrics related to other SSV clients the log file owner communicates with through P2P networking. The latter is fairly limited and primarily provides the log file owner’s perspective.