Commit Graph

6 Commits (b9fc93eb857f19eb8cf07f4e87dfed26648b675e)

Author SHA1 Message Date
Michael Desa 550966dbe2
chore(http): add response_code as label to http_api_* metrics (#19389)
This was added so that we can distinguish between 4XX and 401 class
errors. It should have a minimal impact in overall cardinality.

Co-authored-by: Greg Linton  <greg@influxdata.com>

Co-authored-by: Greg Linton  <greg@influxdata.com>
2020-08-19 13:19:18 -07:00
Jonathan A. Sternberg 0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
Johnny Steenbergen c8aabaf515 chore(http): fixup middleware stack and normalize metrics into same buckets for id fields 2020-01-08 15:05:34 -08:00
Jacob Marble 5f19c6cace
chore: Remove several instances of WithLogger (#15996)
* chore: Remove several instances of WithLogger

* chore: unexport Logger fields

* chore: unexport some more Logger fields

* chore: go fmt

chore: fix test

chore: s/logger/log

chore: fix test

chore: revert http.Handler.Handler constructor initialization

* refactor: integrate review feedback, fix all test nop loggers

* refactor: capitalize all log messages

* refactor: rename two logger to log
2019-12-04 15:10:23 -08:00
Alirie Gray 6a562757ad test(http): add test coverage for handler.go 2019-05-02 14:04:40 -07:00
Alirie Gray 763fe0a6e5 feat(http): add user-agent metrics to all http endpoints 2019-05-02 11:58:13 -07:00