Get desktop application:
View/edit binary Protocol Buffers messages
The Profiling service exposes functions to remotely manage the gRPC profiling behaviour in a program.
Enable allows users to toggle profiling on and off remotely.
EnableRequest defines the fields in a /Profiling/Enable method request to toggle profiling on and off within a gRPC program.
Setting this to true will enable profiling. Setting this to false will disable profiling.
EnableResponse defines the fields in a /Profiling/Enable method response.
(message has no fields)
GetStreamStats is used to retrieve an array of stream-level stats from a gRPC client/server.
GetStreamStatsRequest defines the fields in a /Profiling/GetStreamStats method request to retrieve stream-level stats in a gRPC client/server.
(message has no fields)
GetStreamStatsResponse defines the fields in a /Profiling/GetStreamStats method response.
A Stat is a collection of Timers along with some additional metadata to tag and identify itself.
Used in:
tags is a comma-separated list of strings used to categorize a stat.
timers is an array of Timers, each representing a different (but possibly overlapping) component within this stat.
metadata is an array of bytes used to uniquely identify a stat with an undefined encoding format. For example, the Stats returned by the /Profiling/GetStreamStats service use the metadata field to encode the connection ID and the stream ID of each query.
A Timer measures the start and end of execution of a component within gRPC that's being profiled. It includes a tag and some additional metadata to identify itself.
Used in:
tags is a comma-separated list of strings used to tag a timer.
begin_sec and begin_nsec are the start epoch second and nanosecond, respectively, of the component profiled by this timer in UTC. begin_nsec must be a non-negative integer.
end_sec and end_nsec are the end epoch second and nanosecond, respectively, of the component profiled by this timer in UTC. end_nsec must be a non-negative integer.
go_id is the goroutine ID of the component being profiled.