Michael Desa
32bd37de9a
fix(http): remove second potention call to w.WriteHeader
...
Multiple calls to w.WriteHeader were possible if there was an error that
was encountered while encoding the response. To resolve this, we simply
log any error that is encountered instead.
2018-12-20 11:11:09 -05:00
Lyon Hill
4d90d826b3
Add the ability to have readiness probe seperate from liveness probes ( #1581 )
...
* Add the ability to have readiness probe seperate from liveness probes
2018-11-27 15:29:59 -07:00
Chris Goller
7756f8dc6a
feat(cmd/influxd): add log levels
2018-10-30 02:27:51 -05:00
Chris Goller
aee35e4cde
fix(http): links updated to match swagger doc
2018-10-06 10:11:20 -05:00
Jonathan A. Sternberg
f7b4c4001e
Merge pull request #527 from influxdata/js-remove-error-field-with-no-error
...
fix(http): only log an error and reference code if it exists
2018-10-04 11:51:15 -05:00
Chris Goller
cb1de24097
feat(http) add top-level links and health
2018-09-04 17:28:59 -05:00
Nathaniel Cook
f6923881f7
feat: Add zap opentracing.Tracer
...
Propogate opentracing spans through HTTP requests.
Use zap logger to log each span as it is finished.
2018-08-16 14:32:04 -06:00
Jonathan A. Sternberg
97a636ae8e
fix(http): only log an error and reference code if it exists
...
We should not log fields that don't exist since it clutters up the logs.
2018-08-01 09:47:58 -05:00
Nathaniel Cook
ef9c26391c
feat: add errors to http logging
2018-07-31 14:34:55 -06:00
Nathaniel Cook
1ef9de6aed
feat: Add optional http logging to handler
2018-07-30 16:16:37 -06:00
Mark Rushakoff
a1bf6856fc
chore(http): integrate with prom.Registry
2018-07-11 16:54:23 -07:00
Michael Desa
eabba6986d
migrate(platform): move public dependencies into platform
...
migrate(context): move context package to platform
migrate(kit/errors): move errors package to platform
migrate(mock): move mock package to platform
migrate(prometheus): move prometheus package to platform
migrate(rand): move rand package to platform
migrate(snowflake): move snowflake package to platform
migrate(testing): move testing package to platform
migrate(zap): move zap package to platform
migrate(http): move http package to platform
migrate(platform): rename base package idpe to platform
git(base): add gitignore
dep: add dependencies
migrate(platform): remove consumer.go
migrate(platform): make secret things private again
2018-05-14 17:12:53 -04:00