mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-30 03:03:45 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user