Skip to content

Commit

Permalink
avoid writing a point with no fields
Browse files Browse the repository at this point in the history
  • Loading branch information
waisbrot committed Dec 27, 2023
1 parent 5683fcd commit 97da7d9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions metrics/influx.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ func recordInfluxFetch(station string, speciesCount int) {

func recordInfluxInvoked() {
invokeTime = time.Now()
p := influxdb.NewPointWithMeasurement("invoke").SetTime(time.Now())
writePoint(p)
}

func recordInfluxEmail(recipientCount int, bodyLength int) {
Expand Down

0 comments on commit 97da7d9

Please sign in to comment.