mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 11:05:45 +00:00
metrics: add missing comma in histogram JSON export
Updates tailscale/corp#8641 Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
70a9854b39
commit
18b2638b07
@ -138,8 +138,8 @@ func (h *Histogram) String() string {
|
||||
}
|
||||
first = false
|
||||
})
|
||||
fmt.Fprintf(&b, "\"sum\": %v,", &h.sum)
|
||||
fmt.Fprintf(&b, "\"count\": %v", &h.count)
|
||||
fmt.Fprintf(&b, ",\"sum\": %v", &h.sum)
|
||||
fmt.Fprintf(&b, ",\"count\": %v", &h.count)
|
||||
fmt.Fprintf(&b, "}")
|
||||
return b.String()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user