segmentio / stats

Go package for abstracting stats collection
https://godoc.org/github.com/segmentio/stats
MIT License
208 stars 32 forks source link

httpstats "encoding" typo #168

Closed kevinburkesegment closed 1 month ago

kevinburkesegment commented 1 month ago

HTTPstats reports the tag for content-encoding as "endoing" for some reason.

            contentEncoding  string `tag:"http_res_content_endoing"`

        contentEncoding  string `tag:"http_req_content_endoing"`

I would like to actually fix this because it's not expected. However, I'm not sure what's going to break if I do.