public interface DebugService
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<okhttp3.ResponseBody> |
getDebugPprofAllocs(String zapTraceSpan,
Long debug,
String seconds)
Get the memory allocations runtime profile
Get a [Go runtime profile](https://pkg.go.dev/runtime/pprof) report of all past memory allocations.
|
retrofit2.Call<okhttp3.ResponseBody> |
getDebugPprofAllProfiles(String zapTraceSpan,
String cpu)
Get all runtime profiles
Get reports for the following [Go runtime profiles](https://pkg.go.dev/runtime/pprof): - **allocs**: All past memory allocations - **block**: Stack traces that led to blocking on synchronization primitives - **cpu**: (Optional) Program counters sampled from the executing stack.
|
retrofit2.Call<okhttp3.ResponseBody> |
getDebugPprofBlock(String zapTraceSpan,
Long debug,
String seconds)
Get the block runtime profile
Get a [Go runtime profile](https://pkg.go.dev/runtime/pprof) report of stack traces that led to blocking on synchronization primitives.
|
retrofit2.Call<String> |
getDebugPprofCmdline(String zapTraceSpan)
Get the command line invocation
Get the command line that invoked InfluxDB.
|
retrofit2.Call<okhttp3.ResponseBody> |
getDebugPprofGoroutine(String zapTraceSpan,
Long debug,
String seconds)
Get the goroutines runtime profile
Get a [Go runtime profile](https://pkg.go.dev/runtime/pprof) report of all current goroutines.
|
retrofit2.Call<okhttp3.ResponseBody> |
getDebugPprofHeap(String zapTraceSpan,
Long debug,
String seconds,
Long gc)
Get the heap runtime profile
Get a [Go runtime profile](https://pkg.go.dev/runtime/pprof) report of memory allocations for live objects.
|
retrofit2.Call<okhttp3.ResponseBody> |
getDebugPprofMutex(String zapTraceSpan,
Long debug,
String seconds)
Get the mutual exclusion (mutex) runtime profile
Get a [Go runtime profile](https://pkg.go.dev/runtime/pprof) report of lock contentions.
|
retrofit2.Call<okhttp3.ResponseBody> |
getDebugPprofProfile(String zapTraceSpan,
String seconds)
Get the CPU runtime profile
Get a [Go runtime profile](https://pkg.go.dev/runtime/pprof) report of program counters on the executing stack.
|
retrofit2.Call<okhttp3.ResponseBody> |
getDebugPprofThreadCreate(String zapTraceSpan,
Long debug,
String seconds)
Get the threadcreate runtime profile
Get a [Go runtime profile](https://pkg.go.dev/runtime/pprof) report of stack traces that led to the creation of new OS threads.
|
retrofit2.Call<okhttp3.ResponseBody> |
getDebugPprofTrace(String zapTraceSpan,
String seconds)
Get the runtime execution trace
Trace execution events for the current program.
|
@GET(value="debug/pprof/all")
retrofit2.Call<okhttp3.ResponseBody> getDebugPprofAllProfiles(@Header(value="Zap-Trace-Span")
String zapTraceSpan,
@Query(value="cpu")
String cpu)
zapTraceSpan - OpenTracing span context (optional)cpu - Collects and returns CPU profiling data for the specified [duration](https://docs.influxdata.com/influxdb/v2.1/reference/glossary/#duration). (optional)@GET(value="debug/pprof/allocs")
retrofit2.Call<okhttp3.ResponseBody> getDebugPprofAllocs(@Header(value="Zap-Trace-Span")
String zapTraceSpan,
@Query(value="debug")
Long debug,
@Query(value="seconds")
String seconds)
zapTraceSpan - OpenTracing span context (optional)debug - - `0`: (Default) Return the report as a gzip-compressed protocol buffer. - `1`: Return a response body with the report formatted as human-readable text. The report contains comments that translate addresses to function names and line numbers for debugging. `debug=1` is mutually exclusive with the `seconds` query parameter. (optional)seconds - Number of seconds to collect statistics. `seconds` is mutually exclusive with `debug=1`. (optional)@GET(value="debug/pprof/block")
retrofit2.Call<okhttp3.ResponseBody> getDebugPprofBlock(@Header(value="Zap-Trace-Span")
String zapTraceSpan,
@Query(value="debug")
Long debug,
@Query(value="seconds")
String seconds)
zapTraceSpan - OpenTracing span context (optional)debug - - `0`: (Default) Return the report as a gzip-compressed protocol buffer. - `1`: Return a response body with the report formatted as human-readable text. The report contains comments that translate addresses to function names and line numbers for debugging. `debug=1` is mutually exclusive with the `seconds` query parameter. (optional)seconds - Number of seconds to collect statistics. `seconds` is mutually exclusive with `debug=1`. (optional)@GET(value="debug/pprof/cmdline") retrofit2.Call<String> getDebugPprofCmdline(@Header(value="Zap-Trace-Span") String zapTraceSpan)
zapTraceSpan - OpenTracing span context (optional)@GET(value="debug/pprof/goroutine")
retrofit2.Call<okhttp3.ResponseBody> getDebugPprofGoroutine(@Header(value="Zap-Trace-Span")
String zapTraceSpan,
@Query(value="debug")
Long debug,
@Query(value="seconds")
String seconds)
zapTraceSpan - OpenTracing span context (optional)debug - - `0`: (Default) Return the report as a gzip-compressed protocol buffer. - `1`: Return a response body with the report formatted as human-readable text. The report contains comments that translate addresses to function names and line numbers for debugging. `debug=1` is mutually exclusive with the `seconds` query parameter. (optional)seconds - Number of seconds to collect statistics. `seconds` is mutually exclusive with `debug=1`. (optional)@GET(value="debug/pprof/heap")
retrofit2.Call<okhttp3.ResponseBody> getDebugPprofHeap(@Header(value="Zap-Trace-Span")
String zapTraceSpan,
@Query(value="debug")
Long debug,
@Query(value="seconds")
String seconds,
@Query(value="gc")
Long gc)
zapTraceSpan - OpenTracing span context (optional)debug - - `0`: (Default) Return the report as a gzip-compressed protocol buffer. - `1`: Return a response body with the report formatted as human-readable text. The report contains comments that translate addresses to function names and line numbers for debugging. `debug=1` is mutually exclusive with the `seconds` query parameter. (optional)seconds - Number of seconds to collect statistics. `seconds` is mutually exclusive with `debug=1`. (optional)gc - - `0`: (Default) don't force garbage collection before sampling. - `1`: Force garbage collection before sampling. (optional)@GET(value="debug/pprof/mutex")
retrofit2.Call<okhttp3.ResponseBody> getDebugPprofMutex(@Header(value="Zap-Trace-Span")
String zapTraceSpan,
@Query(value="debug")
Long debug,
@Query(value="seconds")
String seconds)
zapTraceSpan - OpenTracing span context (optional)debug - - `0`: (Default) Return the report as a gzip-compressed protocol buffer. - `1`: Return a response body with the report formatted as human-readable text. The report contains comments that translate addresses to function names and line numbers for debugging. `debug=1` is mutually exclusive with the `seconds` query parameter. (optional)seconds - Number of seconds to collect statistics. `seconds` is mutually exclusive with `debug=1`. (optional)@GET(value="debug/pprof/profile")
retrofit2.Call<okhttp3.ResponseBody> getDebugPprofProfile(@Header(value="Zap-Trace-Span")
String zapTraceSpan,
@Query(value="seconds")
String seconds)
zapTraceSpan - OpenTracing span context (optional)seconds - Number of seconds to collect profile data. Default is `30` seconds. (optional)@GET(value="debug/pprof/threadcreate")
retrofit2.Call<okhttp3.ResponseBody> getDebugPprofThreadCreate(@Header(value="Zap-Trace-Span")
String zapTraceSpan,
@Query(value="debug")
Long debug,
@Query(value="seconds")
String seconds)
zapTraceSpan - OpenTracing span context (optional)debug - - `0`: (Default) Return the report as a gzip-compressed protocol buffer. - `1`: Return a response body with the report formatted as human-readable text. The report contains comments that translate addresses to function names and line numbers for debugging. `debug=1` is mutually exclusive with the `seconds` query parameter. (optional)seconds - Number of seconds to collect statistics. `seconds` is mutually exclusive with `debug=1`. (optional)@GET(value="debug/pprof/trace")
retrofit2.Call<okhttp3.ResponseBody> getDebugPprofTrace(@Header(value="Zap-Trace-Span")
String zapTraceSpan,
@Query(value="seconds")
String seconds)
zapTraceSpan - OpenTracing span context (optional)seconds - Number of seconds to collect profile data. (optional)Copyright © 2018–2023 InfluxData, Inc.. All rights reserved.