Skip to content

Commit

Permalink
export the request duration metrics with the local exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Sep 8, 2023
1 parent 2cbcf38 commit f21bc31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/beater/beater.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,12 +315,14 @@ func (s *Runner) Run(ctx context.Context) error {
localExporter := telemetry.NewMetricExporter(
telemetry.WithMetricFilter([]string{
"http.server." + string(request.IDRequestCount),
"http.server.request.duration",
"http.server." + string(request.IDResponseValidCount),
"http.server." + string(request.IDResponseErrorsCount),
"http.server." + string(request.IDResponseErrorsTimeout),
"http.server." + string(request.IDResponseErrorsRateLimit),

"grpc.server." + string(request.IDRequestCount),
"grpc.server.request.duration",
"grpc.server." + string(request.IDResponseValidCount),
"grpc.server." + string(request.IDResponseErrorsCount),
"grpc.server." + string(request.IDResponseErrorsTimeout),
Expand Down

0 comments on commit f21bc31

Please sign in to comment.