From e76fedaac68545108c7599d5284eb4d3076796b3 Mon Sep 17 00:00:00 2001 From: hc-github-team-nomad-core <82989552+hc-github-team-nomad-core@users.noreply.github.com> Date: Thu, 3 Aug 2023 15:06:19 -0500 Subject: [PATCH] backport of commit 53c53f1a47e872f7c25673a40c76818dcf9ef0c7 (#18144) This pull request was automerged via backport-assistant --- website/content/api-docs/agent.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/api-docs/agent.mdx b/website/content/api-docs/agent.mdx index 4321d5d5e44..d592ea2f3a1 100644 --- a/website/content/api-docs/agent.mdx +++ b/website/content/api-docs/agent.mdx @@ -711,13 +711,13 @@ $ go tool pprof goroutine $ curl -O -J \ --header "X-Nomad-Token: 8176afd3-772d-0b71-8f85-7fa5d903e9d4" \ - https://localhost:4646/v1/agent/profile?seconds=5&node_id=a57b2adb-1a30-2dda-8df0-25abb0881952 + https://localhost:4646/v1/agent/pprof/profile?seconds=5&node_id=a57b2adb-1a30-2dda-8df0-25abb0881952 $ go tool pprof profile $ curl -O -J \ --header "X-Nomad-Token: 8176afd3-772d-0b71-8f85-7fa5d903e9d4" \ - https://localhost:4646/v1/agent/trace?&seconds=5&server_id=server1.global + https://localhost:4646/v1/agent/pprof/trace?&seconds=5&server_id=server1.global go tool trace trace ```