Commit Graph

985 Commits (eff0b3e21f66cff83d56362486606c8141e17579)

Author SHA1 Message Date
Jade McGough b4851d4ecb fix(http): remove incorrect param from labels post 2019-04-19 14:01:24 -07: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
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
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
Kelvin Wang a5f53e48c4 fix(http): fix go vet issue 2019-04-12 12:46:26 -04: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