Jade McGough
7855147241
Merge pull request #13636 from influxdata/delete_invalid_org_id
...
fix(http): fix delete bad org id
2019-04-29 10:15:36 -07:00
Leo Di Donato
4373392d54
feat(http): Default http transport uses the actual default values ( #13437 )
2019-04-29 16:57:30 +02:00
Jade McGough
e02c859992
Merge pull request #13677 from influxdata/org_name_not_empty
...
fix(kv): fix empty org name
2019-04-26 15:57:19 -07:00
Kelvin Wang
ea54e2c2c8
fix(kv): fix empty org name
2019-04-26 18:16:28 -04:00
Jonathan A. Sternberg
38d9fb8c79
feat(http): pretty stack trace for the http panic recovery handler ( #13509 )
...
When printing out a stacktrace with a logged error message, it is better
to set the `Stack` property on the entry than to include it as a string
within the context fields. It is also better than using `zap.Stack()`
too.
This is because certain encoders will perform a pretty print of the
stacktrace. The default zap-logfmt will read this property and include
it as a field so this code is identical when using that encoder, but the
console encoder, which is commonly used in local development because it
is automatically used with a TTY available, will print out a newline and
pretty print the stacktrace if it is included on the entry itself.
2019-04-26 15:06:41 -05:00
Jade McGough
6438999508
Merge pull request #13656 from zhulongcheng/fix-document-panic
...
fix document service panic
2019-04-26 12:30:27 -07:00
Mark Rushakoff
9a8426c3f0
fix(http): use influxdb.Error in ProxyQueryHandler
...
In our internal use of this handler, some of these errors weren't
wrapped in the expected influxdb.Error type.
2019-04-26 08:19:00 -07:00
zhulongcheng
f7635f0552
fix document service panic
2019-04-26 14:46:37 +08:00
Jade McGough
e2cac953f5
fix(http): make org param optional in document get request
2019-04-25 14:45:01 -07:00
Kelvin Wang
9fa35961fd
fix(http): fix delete bad org id
2019-04-25 15:20:28 -04:00
Kelvin Wang
717fcc44b3
feat(influxdb): add scraper filter
2019-04-25 11:33:34 -04:00
zhulongcheng
382e49b59b
fix(http): make org & orgID optional
2019-04-25 11:13:49 +08:00
Jade McGough
8428c3630c
fix(http): update bucket swagger to reflect recent changes
2019-04-24 14:11:38 -07:00
kelwang
49230619e6
Merge pull request #12754 from influxdata/swagger_telegraf_default_get
...
fix(http): fix telegraf get default swagger
2019-04-24 14:12:00 -04:00
kelwang
54fd1f81ce
Merge pull request #12802 from influxdata/swagger_basic_auth
...
fix(http): swagger define security schemes
2019-04-24 14:11:45 -04:00
kelwang
6261c274aa
Merge pull request #13444 from influxdata/swagger_orgID_not_required
...
fix(http): make getting labels orgID optional
2019-04-24 14:11:22 -04:00
kelwang
4acad08ea5
Merge pull request #13519 from influxdata/doc_desc
...
feat(influxdb): add doc description
2019-04-24 14:11:03 -04:00
kelwang
6ef624142b
Merge pull request #13556 from influxdata/org_desc
...
feat(influxdb): add org desc
2019-04-24 14:10:20 -04:00
Ben Johnson
01bfcf822b
Merge point parse & explode ( #12377 )
...
Merge point parse & explode
2019-04-24 10:30:16 -06:00
Ben Johnson
272f340c30
Merge point parse & explode.
2019-04-24 10:12:15 -06:00
kelwang
3bc1c49e91
Merge pull request #13557 from influxdata/bucket_desc
...
feat(influxdb): add bucket desc
2019-04-24 11:56:52 -04:00
Kelvin Wang
76cc27751b
feat(influxdb): add bucket desc
2019-04-24 11:20:05 -04:00
kelwang
e23824e32d
Merge pull request #13357 from zhulongcheng/docs-oplog-user
...
docs(http): add oplog user
2019-04-24 11:18:39 -04:00
kelwang
d6001bf8e1
Merge pull request #13356 from zhulongcheng/docs-trace-span
...
docs(http): add missing Zap-Trace-Span header
2019-04-24 11:18:07 -04:00
Jade McGough
0d81a1ebdd
fix(http): don't include nil values when auth responses are skipped
2019-04-23 14:34:04 -07:00
Jade McGough
0124a0c669
fix(http): don't 400 when auth GET decoration fails
2019-04-23 14:12:07 -07:00
Kelvin Wang
4c9f34122c
feat(influxdb): add org desc
2019-04-22 22:40:07 -04:00
Kelvin Wang
7a72c363f2
remove org from bucket
2019-04-22 18:39:05 -04:00
Kelvin Wang
3868149a6c
fix(http): scraper resp org
2019-04-22 18:39:03 -04:00
Kelvin Wang
9d44ac3635
rename bucket organization to org
2019-04-22 18:39:01 -04:00
Jade McGough
b4851d4ecb
fix(http): remove incorrect param from labels post
2019-04-19 14:01:24 -07:00
Kelvin Wang
53d95ecf52
feat(influxdb): add doc description
2019-04-19 12:47:31 -04:00
Kelvin Wang
5d195b63e0
fix(http): fix the swagger for cell update
2019-04-19 11:49:39 -04:00
Nathaniel Cook
4c77e3598b
Merge branch 'master' into flux-staging
2019-04-18 11:01:22 -06:00
Michael Desa
cabb8cbf98
Merge pull request #13490 from influxdata/fix/http-query-metric-org-id
...
fix(http): set org ID on event metric
2019-04-18 09:23:57 -04:00
Lorenzo Fontana
da042eb418
docs(http): default http transport commentary
...
Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-04-18 11:27:35 +02:00
Lorenzo Fontana
54a15cfe43
feat(http): Default http transport uses the actual default values
...
Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-04-18 11:27:35 +02:00
Jade McGough
1b50785fb6
Merge pull request #13449 from influxdata/error-429
...
chore(http): add 429 response to errors
2019-04-17 22:12:34 -07:00
Mark Rushakoff
f4937f1884
fix(http): set org ID on event metric
...
Looks like this field was just mistakenly overlooked when it was
introduced.
2019-04-17 16:08:32 -07:00
Todd Persen
cd64ec8718
Fix typos in miscellaneous packages
2019-04-17 13:30:22 -07:00
Nathaniel Cook
8b918539db
Merge branch 'master' into flux-staging
2019-04-17 12:26:10 -06:00
Michael Desa
e00c071c2c
feat(influxdb): add query/write http event recorders
...
feat(http): add prometheus counters for tracking write/query usage
feat(http/metric): add metric recoder for recording http metrics
feat(prometheus): implement metric.Recorder for prometheus metrics
fix(prometheus): remove erroneous fmt.Printlns
feat(http): add prometheus registry to API backend
This was done as exposing prometheus metrics to a higher level was quite
difficult. It was much simple to simply pass the registry down to
anything that needs it.
feat(cmd/influxd/launcher): pass prom registry in on api backend
feat(http): collect metrics for write and query endpoints
This was much messier than I would have preferred. Future work is
outlined in TODOs.
review(influxdb): rename metric.Metric to metric.Event
2019-04-17 08:33:31 -04:00
Jade McGough
64ca8b6f08
chore(http): add 429 response to errors
2019-04-16 16:50:35 -07:00
Kelvin Wang
cbe26c04b7
fix(http): make getting labels orgID optional
2019-04-16 14:04:29 -04:00
kelwang
57ae0857de
Merge pull request #13412 from influxdata/doc_meta_type
...
feat(influxdb): add doc meta type
2019-04-16 10:59:36 -04:00
Jade McGough
e4018fad81
Revert "docs(http): remove view id"
...
This reverts commit 78063a747d
.
2019-04-15 15:00:52 -07:00
Jade McGough
5a1ae7c704
Revert "fix(http): remove view ID"
...
This reverts commit 1c6bdb6c3e
.
2019-04-15 15:00:40 -07:00
Kelvin Wang
75b19dc1ec
feat(influxdb): add doc meta type
2019-04-15 15:48:54 -04:00
zhulongcheng
78063a747d
docs(http): remove view id
2019-04-15 23:14:06 +08:00
zhulongcheng
d5917878d0
feat(http): find auths by org
2019-04-14 18:06:19 +08:00