From dc9cf550146e2fb5fcb70893314407fab770ba27 Mon Sep 17 00:00:00 2001 From: Daniel Olshansky Date: Fri, 6 Dec 2024 15:26:29 -0800 Subject: [PATCH] Minor NITs --- .../developer_guide/performance_troubleshooting.md | 9 +++++---- .../docs/develop/developer_guide/quickstart.md | 14 ++++++++------ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/docusaurus/docs/develop/developer_guide/performance_troubleshooting.md b/docusaurus/docs/develop/developer_guide/performance_troubleshooting.md index 277d2cecb..e45755a38 100644 --- a/docusaurus/docs/develop/developer_guide/performance_troubleshooting.md +++ b/docusaurus/docs/develop/developer_guide/performance_troubleshooting.md @@ -10,8 +10,8 @@ title: Performance troubleshooting - [How to Use `pprof`](#how-to-use-pprof) - [Available `pprof` Endpoints](#available-pprof-endpoints) - [Configure Software to Expose `pprof` Endpoints](#configure-software-to-expose-pprof-endpoints) - - [Full Nodes and Validator Configuration](#full-nodes-and-validator-configuration) - - [RelayMiner](#relayminer) + - [Full Node \& Validator pprof](#full-node--validator-pprof) + - [RelayMiner pprof](#relayminer-pprof) - [Save the Profiling Data](#save-the-profiling-data) - [Explore the Profiling Data](#explore-the-profiling-data) - [Explore without saving data](#explore-without-saving-data) @@ -91,16 +91,17 @@ or DoS your services if these endpoints are exposed to the internet. ::: -#### Full Nodes and Validator Configuration +#### Full Node & Validator pprof In `config.toml`, you can configure `pprof_laddr` to expose a `pprof` endpoint on a particular network interface and port. By default, `pprof` listens on `localhost:6060`. If the value has been modified, you must restart the process. -#### RelayMiner +#### RelayMiner pprof The `RelayMiner` can be configured to expose a `pprof` endpoint using a configuration file like this: +