diff --git a/yarn-project/aztec/src/cli/cmds/start_prover_node.ts b/yarn-project/aztec/src/cli/cmds/start_prover_node.ts index 539fc44bffa..21d8a54f3f9 100644 --- a/yarn-project/aztec/src/cli/cmds/start_prover_node.ts +++ b/yarn-project/aztec/src/cli/cmds/start_prover_node.ts @@ -9,10 +9,7 @@ import { createProverNodeRpcServer, proverNodeConfigMappings, } from '@aztec/prover-node'; -import { - createAndStartTelemetryClient, - getConfigEnvVars as getTelemetryClientConfig, -} from '@aztec/telemetry-client/start'; +import { createAndStartTelemetryClient, telemetryClientConfigMappings } from '@aztec/telemetry-client/start'; import { mnemonicToAccount } from 'viem/accounts'; @@ -70,7 +67,9 @@ export const startProverNode = async ( proverConfig.l1Contracts = await createAztecNodeClient(nodeUrl).getL1ContractAddresses(); } - const telemetry = await createAndStartTelemetryClient(getTelemetryClientConfig()); + const telemetry = await createAndStartTelemetryClient( + extractRelevantOptions(options, telemetryClientConfigMappings, 'tel'), + ); const proverNode = await createProverNode(proverConfig, { telemetry }); services.push({ node: createProverNodeRpcServer(proverNode) });