Debug
/debug/pprofGet profiling index
curl --request GET \
"http://localhost:8086/debug/pprof" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
/debug/pprof/{profile}Get profile data
Retrieve a specific Go pprof profile. Available profiles:
block: Stack traces that led to blocking on synchronization primitivesgoroutine: Stack traces of all current goroutinesheap: Sampling of stack traces for heap allocationsmutex: Stack traces of holders of contended mutexesthreadcreate: Stack traces that led to creation of new OS threadsprofile: CPU profile (usesecondsparameter to specify duration)trace: Execution trace (usesecondsparameter to specify duration)
Parameters
Path parameters
profile
required
stringblock
, goroutine
, heap
, mutex
, threadcreate
, profile
, trace
, allocs
, cmdlineQuery parameters
seconds
integer30debug
integer0
, 1curl --request GET \
"http://localhost:8086/debug/pprof/{profile}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
/debug/pprof/allGet all profiles archive
Generate a profiles.tar.gz archive containing all standard Go profiling
information and additional debugging data. Intended primarily for use by
InfluxData support.
Use the cpu parameter to include a CPU profile of the specified duration.
Parameters
Query parameters
cpu
string30s).curl --request GET \
"http://localhost:8086/debug/pprof/all" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
/debug/requestsTrack HTTP requests
/write and /query endpoints.
Returns the number of writes and queries per username and IP address
over the specified time interval.Parameters
Query parameters
seconds
integer10curl --request GET \
"http://localhost:8086/debug/requests" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
/debug/varsGet server statistics
Retrieve runtime statistics and information about the InfluxDB Enterprise instance. Returns detailed metrics in JSON format including memory usage, goroutine counts, and database statistics.
The InfluxDB Telegraf input plugin can collect these metrics automatically.
curl --request GET \
"http://localhost:8086/debug/vars" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB Enterprise v1 and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.