Skip to content

Commit

Permalink
updated debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Jan 2, 2025
1 parent de58585 commit f035a8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/metrics/prometheus_middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func attachPrometheusMiddlewareMetrics(stack *middleware.Stack, requestDuration
ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler,
) (out middleware.FinalizeOutput, metadata middleware.Metadata, err error) {
operationName := middleware.GetOperationName(ctx)
klog.InfoS("operation", operationName)

timer := prometheus.NewTimer(prometheus.ObserverFunc(func(duration float64) {
status := "success"
Expand Down

0 comments on commit f035a8e

Please sign in to comment.