Alirie Gray
763fe0a6e5
feat(http): add user-agent metrics to all http endpoints
2019-05-02 11:58:13 -07:00
Jacob Marble
f56c42794b
chore(tracing): Cleanup ( #13296 )
...
* chore(tracing): Cleanup
* broken test
* fix unused var
* fix test
2019-04-10 19:28:21 -07:00
Kelvin Wang
79ce30691e
update(http): remove kerrors, change the default to be influxdb error
2019-01-25 10:29:26 -08:00
Chris Goller
a28494ad76
feat(http): use default prom histogram buckets
2019-01-19 19:19:18 -06:00
Mark Rushakoff
d73d73c0d4
chore: rename imports from platform to influxdb
...
I did this with a dumb editor macro, so some comments changed too.
Also rename root package from platform to influxdb.
In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.
Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
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