Skip to content

Commit

Permalink
metering: rename response_count to message_count
Browse files Browse the repository at this point in the history
  • Loading branch information
colindickson committed Jul 6, 2023
1 parent d80dacd commit 8c8371d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions service/metering.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ func sendMetering(meter dmetering.Meter, userID, apiKeyID, ip, endpoint string,

Endpoint: endpoint,
Metrics: map[string]float64{
"egress_bytes": float64(proto.Size(resp)),
"written_bytes": float64(bytesWritten),
"read_bytes": float64(bytesRead),
"response_count": 1,
"egress_bytes": float64(proto.Size(resp)),
"written_bytes": float64(bytesWritten),
"read_bytes": float64(bytesRead),
"message_count": 1,
},
Timestamp: time.Now(),
}
Expand Down

0 comments on commit 8c8371d

Please sign in to comment.