We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405eb7a commit d64577cCopy full SHA for d64577c
metrics.go
@@ -35,7 +35,7 @@ const (
35
)
36
37
// Metrics transform the stats returned by the WAF into a map of key value metrics for datadog backend
38
-func (stats *Stats) Metrics() map[string]any {
+func (stats Stats) Metrics() map[string]any {
39
tags := make(map[string]any, len(stats.Timers)+len(stats.Truncations)+1)
40
for k, v := range stats.Timers {
41
tags[k] = uint64(v.Microseconds())
0 commit comments