mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Add --telemetry-service-name CLI flag for OpenTelemetry service name override (#7903)
Allows users to customize the OpenTelemetry service name instead of using the hardcoded default `lighthouse`. Defaults to 'lighthouse-bn' for beacon node, 'lighthouse-vc' for validator client, or 'lighthouse' for other subcommands. This is useful when analysing traces from multiple nodes, see Grafana screenshot below with service name overrides in Kurtosis (`ethereum-package` PR: https://github.com/ethpandaops/ethereum-package/pull/1160): <img width="1148" height="627" alt="image" src="https://github.com/user-attachments/assets/7e875639-10f7-4756-837f-2006fa4b12e0" />
This commit is contained in:
@@ -395,6 +395,10 @@ Options:
|
||||
--telemetry-collector-url <URL>
|
||||
URL of the OpenTelemetry collector to export tracing spans (e.g.,
|
||||
http://localhost:4317). If not set, tracing export is disabled.
|
||||
--telemetry-service-name <NAME>
|
||||
Override the OpenTelemetry service name. Defaults to 'lighthouse-bn'
|
||||
for beacon node, 'lighthouse-vc' for validator client, or 'lighthouse'
|
||||
for other subcommands.
|
||||
--trusted-peers <TRUSTED_PEERS>
|
||||
One or more comma-delimited trusted peer ids which always have the
|
||||
highest score according to the peer scoring system.
|
||||
|
||||
@@ -79,6 +79,10 @@ Options:
|
||||
--telemetry-collector-url <URL>
|
||||
URL of the OpenTelemetry collector to export tracing spans (e.g.,
|
||||
http://localhost:4317). If not set, tracing export is disabled.
|
||||
--telemetry-service-name <NAME>
|
||||
Override the OpenTelemetry service name. Defaults to 'lighthouse-bn'
|
||||
for beacon node, 'lighthouse-vc' for validator client, or 'lighthouse'
|
||||
for other subcommands.
|
||||
-V, --version
|
||||
Print version
|
||||
|
||||
|
||||
@@ -137,6 +137,10 @@ Options:
|
||||
--telemetry-collector-url <URL>
|
||||
URL of the OpenTelemetry collector to export tracing spans (e.g.,
|
||||
http://localhost:4317). If not set, tracing export is disabled.
|
||||
--telemetry-service-name <NAME>
|
||||
Override the OpenTelemetry service name. Defaults to 'lighthouse-bn'
|
||||
for beacon node, 'lighthouse-vc' for validator client, or 'lighthouse'
|
||||
for other subcommands.
|
||||
--validator-registration-batch-size <INTEGER>
|
||||
Defines the number of validators per validator/register_validator
|
||||
request sent to the BN. This value can be reduced to avoid timeouts
|
||||
|
||||
@@ -80,6 +80,10 @@ Options:
|
||||
--telemetry-collector-url <URL>
|
||||
URL of the OpenTelemetry collector to export tracing spans (e.g.,
|
||||
http://localhost:4317). If not set, tracing export is disabled.
|
||||
--telemetry-service-name <NAME>
|
||||
Override the OpenTelemetry service name. Defaults to 'lighthouse-bn'
|
||||
for beacon node, 'lighthouse-vc' for validator client, or 'lighthouse'
|
||||
for other subcommands.
|
||||
|
||||
Flags:
|
||||
--disable-log-timestamp
|
||||
|
||||
@@ -96,6 +96,10 @@ Options:
|
||||
--telemetry-collector-url <URL>
|
||||
URL of the OpenTelemetry collector to export tracing spans (e.g.,
|
||||
http://localhost:4317). If not set, tracing export is disabled.
|
||||
--telemetry-service-name <NAME>
|
||||
Override the OpenTelemetry service name. Defaults to 'lighthouse-bn'
|
||||
for beacon node, 'lighthouse-vc' for validator client, or 'lighthouse'
|
||||
for other subcommands.
|
||||
|
||||
Flags:
|
||||
--disable-deposits
|
||||
|
||||
@@ -76,6 +76,10 @@ Options:
|
||||
--telemetry-collector-url <URL>
|
||||
URL of the OpenTelemetry collector to export tracing spans (e.g.,
|
||||
http://localhost:4317). If not set, tracing export is disabled.
|
||||
--telemetry-service-name <NAME>
|
||||
Override the OpenTelemetry service name. Defaults to 'lighthouse-bn'
|
||||
for beacon node, 'lighthouse-vc' for validator client, or 'lighthouse'
|
||||
for other subcommands.
|
||||
--validators-file <PATH_TO_JSON_FILE>
|
||||
The path to a JSON file containing a list of validators to be imported
|
||||
to the validator client. This file is usually named "validators.json".
|
||||
|
||||
@@ -85,6 +85,10 @@ Options:
|
||||
--telemetry-collector-url <URL>
|
||||
URL of the OpenTelemetry collector to export tracing spans (e.g.,
|
||||
http://localhost:4317). If not set, tracing export is disabled.
|
||||
--telemetry-service-name <NAME>
|
||||
Override the OpenTelemetry service name. Defaults to 'lighthouse-bn'
|
||||
for beacon node, 'lighthouse-vc' for validator client, or 'lighthouse'
|
||||
for other subcommands.
|
||||
--validators <STRING>
|
||||
The validators to be moved. Either a list of 0x-prefixed validator
|
||||
pubkeys or the keyword "all".
|
||||
|
||||
Reference in New Issue
Block a user