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
bff7b90829
fix(http): create view
2019-04-16 18:06:39 -04: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
zhulongcheng
1c6bdb6c3e
fix(http): remove view ID
2019-04-14 12:31:35 +08:00
zhulongcheng
4e54bbf21c
docs(http): add oplog user
2019-04-13 00:51:12 +08:00
Kelvin Wang
a5f53e48c4
fix(http): fix go vet issue
2019-04-12 12:46:26 -04:00
zhulongcheng
7c5755556e
docs(http): add missing Zap-Trace-Span header
2019-04-13 00:14:34 +08:00
jlapacik
816bd74af8
refactor(http): change all instances of spec compiler to repl compiler ( #13268 )
2019-04-12 07:15:27 -07:00
jlapacik
fb47b8cd42
fix(http): use lang.Compile
2019-04-12 07:15:27 -07:00
jlapacik
fbd7596aaa
refactor(http): remove /query/spec from swagger file
...
Closes #12882 .
2019-04-12 07:15:27 -07:00
jlapacik
5cf5806880
refactor(http): remove api/v2/query/spec endpoint and handler
2019-04-12 07:15:27 -07:00
Jonathan A. Sternberg
b68b5053db
refactor: replace usages of the spec compiler with the ast compiler ( #13222 )
...
This replaces usages of the spec compiler with the ast compiler and it
removes the error message referencing the spec compiler as an available
input.
It does not remove any of the code using the spec compiler that is
involved for proxying requests and it does not remove it from the API.
2019-04-12 07:15:27 -07:00
Jade McGough
b5f6effda4
Merge pull request #13315 from influxdata/filter-label-org
...
feat(http): filter label response by organization
2019-04-12 02:07:33 -07:00
Jade McGough
cfd521b47a
fix label tests
2019-04-12 01:29:49 -07:00
Jade McGough
7914a04f0b
organizationID -> orgID
2019-04-12 01:29:42 -07:00
Jade McGough
81e6a7116b
feat(http): filter label response by organization
2019-04-12 01:29:32 -07:00
Nathaniel Cook
f37e65f26c
fix(query): change logging bridge to be a service instead
...
It is no longer necessary for the query logging to be a bridge as the
stats are available for consumption from the ProxyQueryService.
This change changes the logging bridge to directly implement the proxy
query service instead of implementing a bridge.
2019-04-11 14:46:45 -06:00
Kelvin Wang
92e82884a6
feat(http): accept label id for template post
2019-04-11 13:16:39 -04:00
kelwang
5958192788
Merge pull request #12795 from influxdata/swagger_scaraper_get_by_id
...
fix(http): swagger add get target by id
2019-04-11 11:24:54 -04:00
kelwang
67bf2f54ac
Merge pull request #13052 from influxdata/auth_update_interface
...
fix(influxdb): updated auth shall return
2019-04-11 11:24:02 -04: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
ec6895531d
feat(http): add document labe handler
2019-04-10 15:08:03 -04:00
kelwang
be674622c6
Revert "fix(inmem): remove the old inmem implementation"
2019-04-09 14:24:40 -04:00
kelwang
d0022dfd5c
Merge pull request #13039 from zhulongcheng/rm-inmem-impl
...
fix(inmem): remove the old inmem implementation
2019-04-09 13:06:50 -04:00
kelwang
bfcf82d7b5
Merge pull request #13152 from zhulongcheng/docs-rm-view
...
docs(http): remove unused Views schema
2019-04-08 16:11:55 -04:00
kelwang
c7d043a3b4
Merge pull request #13154 from zhulongcheng/doc-rm-view-link
...
docs(http): remove view link from api links
2019-04-08 16:11:26 -04:00
kelwang
34d631a9fc
Merge pull request #13156 from zhulongcheng/docs-rm-FluxLinks
...
docs(http): remove FluxLinks schema
2019-04-08 16:11:13 -04:00
zhulongcheng
cacd6a8223
fix(inmem): replace inmem.Service with kv.Service
2019-04-08 15:18:38 +08:00
Kelvin Wang
8a825a8f9f
feat(influxdb): get docs by org id
2019-04-04 12:51:30 -04:00
zhulongcheng
53412e3e6a
docs(http): remove FluxLinks schema
2019-04-05 00:16:59 +08:00
zhulongcheng
153ef54d0f
docs(http): remove view link from api links
2019-04-04 23:58:13 +08:00
zhulongcheng
c745a8dfd9
docs(http): remove unused Views schema
2019-04-04 23:38:11 +08:00
Brandon Farmer
8fc86ba17e
Update swagger endpoints to include orgID parameters
2019-04-03 16:44:16 -07:00
kelwang
dd55308b77
Merge pull request #13071 from influxdata/bucket_not_found
...
fix(kv): fix bucket not found by name
2019-04-03 17:16:12 -04:00
Alirie Gray
f04de15144
Merge pull request #13109 from influxdata/chore/add-description-to-variables
...
chore(variables): add description property to Variable struct
2019-04-03 14:00:43 -07:00
Alirie Gray
bdd260c25b
chore(variables): add description property to Variable struct
2019-04-03 13:36:32 -07:00
Kelvin Wang
1cf600aca9
remove proto
2019-04-03 15:42:25 -04:00
Kelvin Wang
054ce89dc5
fix(kv): fix bucket not found by name
2019-04-02 15:10:56 -04:00
Kelvin Wang
bcadefd8cb
fix(http): swagger proto definition
2019-04-02 14:26:04 -04:00
Jade McGough
060f893a93
fix(http): update swagger to include correct label add responses
2019-04-01 13:01:24 -07:00
kelwang
6190ba6af3
Merge pull request #13058 from influxdata/swagger_ready_health
...
fix(http): fix swagger health & ready
2019-04-01 14:43:10 -04:00
kelwang
73e51ef5b5
Merge pull request #13056 from influxdata/swagger_dashboard_links
...
fix(http): swagger dashboard links
2019-04-01 14:22:05 -04:00
kelwang
43d582c484
Merge pull request #13008 from zhulongcheng/fix-proto-404
...
fix(http/proto): return 404 if proto not found
2019-04-01 14:04:36 -04:00
Kelvin Wang
c09182d0cb
fix(http): fix swagger health & ready
2019-04-01 14:02:35 -04:00
Kelvin Wang
4e87f34f96
fix(http): swagger dashboard links
2019-04-01 13:10:33 -04:00
Kelvin Wang
712010d013
if(influxdb): updated auth shall return
2019-04-01 12:56:29 -04:00
Jade McGough
05f26b0236
Merge pull request #13032 from influxdata/secret-key-links
...
fix(http): nest secret key response links in swagger
2019-04-01 09:35:28 -07:00
Jade McGough
f092a5538a
fix(http): start -> started in swagger
2019-04-01 00:46:46 -07:00
Jade McGough
d5e9d10e31
fix(http): nest secret key response links in swagger
2019-04-01 00:39:41 -07:00
Jade McGough
5fbed0b6a5
Merge pull request #12978 from influxdata/varible-labels
...
feat(http): add labels to variables
2019-03-29 17:50:14 -07:00
Jade McGough
079d7f835a
fix tests
2019-03-29 17:19:11 -07:00
kelwang
22dd44c4d1
Merge pull request #12955 from influxdata/auth_description_update
...
feat(kv): add auth description update
2019-03-29 14:08:34 -04:00
kelwang
2f9c0f8ae3
Merge pull request #13017 from influxdata/swagger_variable_map
...
fix(http): addtional property of variable map
2019-03-29 13:33:45 -04:00
kelwang
1cbfc7320a
Merge pull request #13019 from influxdata/swagger_dashboard_date_time
...
fix(http): swagger dashboard meta date-time
2019-03-29 13:33:28 -04:00
Kelvin Wang
cc23caeb92
fix(http): swagger dashboard meta date-time
2019-03-29 12:21:27 -04:00
Kelvin Wang
c5f93a9b9f
fix(http): swagger user password reset to 204
2019-03-29 12:09:47 -04:00
Kelvin Wang
aefe32d70b
fix(http): addtional property of variable map
2019-03-29 12:04:37 -04:00
zhulongcheng
10f79fdb9b
fix(http/proto): return 404 if proto not found
2019-03-29 11:19:56 +08:00
Lyon Hill
c78344c441
update task schedler to use the new task control service ( #12949 )
2019-03-28 16:52:25 -06:00
Jade McGough
945569a29d
fix botched rebase
2019-03-28 15:42:06 -07:00
Jade McGough
d21d96e35b
feat(http): add labels to variables
2019-03-28 15:05:13 -07:00
kelwang
abbfc17fa2
Merge pull request #12964 from zhulongcheng/docs-var-link
...
docs(http): add Variable org link
2019-03-28 12:34:12 -04:00
Kelvin Wang
a2c0bdbe77
feat(kv): add new update
2019-03-28 11:46:41 -04:00
zhulongcheng
e0f2fdbc76
docs(http): add Document links
2019-03-28 15:23:37 +08:00