mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 07:22:20 +00:00
trace: move gRPC requests from debug to trace
There are many requests to the agent that happen with relatively high frequency when a workload is running (checkRequest, as an example). Let's move from Debug to Trace to avoid bombarding journal. Signed-off-by: Eric Ernst <eric.g.ernst@gmail.com>
This commit is contained in:
parent
50fff97753
commit
a4c125a8b9
@ -2010,7 +2010,7 @@ func (k *kataAgent) sendReq(spanCtx context.Context, request interface{}) (inter
|
||||
if cancel != nil {
|
||||
defer cancel()
|
||||
}
|
||||
k.Logger().WithField("name", msgName).WithField("req", message.String()).Debug("sending request")
|
||||
k.Logger().WithField("name", msgName).WithField("req", message.String()).Trace("sending request")
|
||||
|
||||
defer func() {
|
||||
agentRPCDurationsHistogram.WithLabelValues(msgName).Observe(float64(time.Since(start).Nanoseconds() / int64(time.Millisecond)))
|
||||
|
Loading…
Reference in New Issue
Block a user