mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
lib/vmselectapi: add rpc call
prefix to the trace of the rpc call in order to make it more clear
This commit is contained in:
parent
78f584fb0b
commit
1b39be3305
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ func (s *Server) processRequest(ctx *vmselectRequestCtx) error {
|
|||
if err != nil {
|
||||
return fmt.Errorf("cannot read traceEnabled: %w", err)
|
||||
}
|
||||
ctx.qt = querytracer.New(traceEnabled, "%s() at vmstorage", rpcName)
|
||||
ctx.qt = querytracer.New(traceEnabled, "rpc call %s() at vmstorage", rpcName)
|
||||
|
||||
// Limit the time required for reading request args.
|
||||
if err := ctx.bc.SetReadDeadline(time.Now().Add(5 * time.Second)); err != nil {
|
||||
|
|
Loading…
Reference in a new issue