Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Commit

Permalink
chore: add version
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansp committed May 5, 2018
1 parent c0221f0 commit 41079d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ type Reporter struct {
// Conn is a UDP connection to logstash.
Conn *net.UDPConn
// Name of this reporter
Name string
Name string
Version string

percentiles []float64
p []string
Expand All @@ -42,6 +43,7 @@ func NewReporter(r metrics.Registry, addr string, name string) (*Reporter, error
Conn: conn,
Registry: r,
Name: name,
Version: "0.1.0",

udpAddr: udpAddr,
percentiles: []float64{0.50, 0.75, 0.95, 0.99, 0.999},
Expand Down

0 comments on commit 41079d9

Please sign in to comment.