Commit Graph

30057 Commits (7796af716027f154978f40ba40c1fba858c5d647)

Author SHA1 Message Date
Alirie Gray 9f39ddfbef refactor(tasks): move validator to authorizer package 2019-04-24 11:36:54 -07:00
Palakp41 e5d6a81425
Merge pull request #13612 from influxdata/tasks-runs-sorting
Update task runs list to sort
2019-04-24 11:34:16 -07:00
Iris Scholten ad0b0891de
Merge pull request #13601 from influxdata/feat/buckets-token
feat(ui): Add option to generate read / write token
2019-04-24 11:19:41 -07:00
Stuart Carnie 7b97a41dcb
feat(storage): Teach TagKeys, TagValues how to accumulate statistics
This commit teaches the storage schema APIs how to track statistics
and make them available via the returned `cursors.StringIterator`.

Statistics are only tracked when decoding TSM blocks or when scanning
the in-memory cache.

Closes #13541
2019-04-24 11:14:22 -07:00
Stuart Carnie ed344d25f8
feat(storage): Teach storage how to find a distinct set of tag keys
The TagValues API will perform a linear scan if there is no predicate;
otherwise, it will use the index to find a list of candidate series
keys.

TagKeys expects the predicate to be transformed such that
`_measurement` and `_field` are remapped to `\x00` and `\xff`
respectively.

There is one TODO marked to analyze the predicate for a
`\x00 = '<measurement>'` pattern. If found, the predicate can be
eliminated and fall back to a linear prefix scan by combining the org,
bucket and measurement. This is tracked by issue #13497.
2019-04-24 11:14:22 -07:00
Stuart Carnie 87bfa06a1e
feat(storage): Add ParseTagsWithTags API
This API is a benefit when the caller is only interested in parsing
tags and reusing an existing Tags buffer. It will be used by the
storage schema APIs.
2019-04-24 11:14:22 -07:00
Stuart Carnie 35e137e1f6
feat(storage): TagKeysSet is a set of tag keys derived from models.Tags
This type will be used by the storage TagKeys API to quickly determine
the distinct set of tag keys over a set of series keys.

It is also intended to replace the implementation of keyMerger in
the reads package in a separate PR.
2019-04-24 11:14:21 -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
Iris Scholten 62f2d632e5 feat(ui): Add option to generate read / write token 2019-04-24 11:09:12 -07:00
Palak Bhojani 15ba4b58cb Update task runs list to sort using getSortedResources 2019-04-24 11:06:17 -07:00
Deniz Kusefoglu b5fffc6aab
Merge pull request #13588 from influxdata/feat-rate-limiting
Add rate limiting to dashboard asset
2019-04-24 10:19:05 -07:00
Deniz Kusefoglu 0d78a296cc use CLOUD var for detecting cloud env 2019-04-24 10:02:52 -07:00
Ben Johnson 01bfcf822b
Merge point parse & explode (#12377)
Merge point parse & explode
2019-04-24 10:30:16 -06:00
Palakp41 2997807416
Merge pull request #13590 from influxdata/fix/empty-state-dropdown-usrs
Update add users dropdown with an empty state
2019-04-24 09:24:49 -07:00
Ben Johnson 272f340c30
Merge point parse & explode. 2019-04-24 10:12:15 -06:00
Palak Bhojani 945505839f Update add users dropdown with an empty state 2019-04-24 09:10:10 -07: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
Deniz Kusefoglu 49c8d3a0f7 Move create and clone dashboard functions to actions and handle limit errors 2019-04-23 18:18:51 -07:00
alexpaxton 191c16c474
Use DapperScrollbars in inline label editor (#13584)
* wip

* Minor tweaks

* Updoot
2019-04-23 14:56:01 -07:00
Jade McGough 3ceec8c9bb
Merge pull request #13589 from influxdata/fix/auth-get-failure
fix(http): don't 400 when auth GET decoration fails
2019-04-23 14:44:30 -07: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
Deniz Kusefoglu fbdc65b98d Add asset limits getter to DashboardsIndex 2019-04-23 14:05:07 -07:00
Deniz Kusefoglu 20ac4f2357 Add cloud limits to redux state, and create asset getter component 2019-04-23 14:04:37 -07:00
alexpaxton 17caffe309
Fix Dropdown Overlapping Dot & Text (#13585)
* Only remove item padding when mode is action list and no selectedID is passed in

* Updoot
2019-04-23 12:10:28 -07:00
alexpaxton e063e8f570
Generic Builder Card Components (#13570)
* Introduce BuilderCard component family for use in query builder

* Implement BuilderCard in data card component

* Implement BuilderCard in selector list

* Update function selector

* Implement BuilderCard in tag selector and remove unused styles

* Use AddCardButton and proper container classname

* Remove unused imports
2019-04-23 11:18:35 -07:00
Palakp41 6c20c6cbeb
Merge pull request #13568 from influxdata/fix/telegraf-list-resource
Update telegraf list to use ResourceList
2019-04-23 10:59:00 -07:00
Jonathan A. Sternberg 5e77bd1e28
feat(query): implement the read tag values rpc call in the query engine (#13559)
If a pattern is seen that matches the `v1.tagValues(...)` call, then it
will be replaced with a direct RPC call to read the tag values for the
selected tag key which should be better optimized than reading from the
storage engine tsm1 files.
2019-04-23 12:56:35 -05:00
Jade McGough 808acf4a56
Merge pull request #13392 from zhulongcheng/cmd-find-auth
feat(cmd/influx): find auths by org
2019-04-23 10:29:32 -07:00
Palak Bhojani 1e4acb3815 Update telegraf list to use ResourceList 2019-04-23 09:20:34 -07:00
Kelvin Wang 4c9f34122c feat(influxdb): add org desc 2019-04-22 22:40:07 -04:00
Iris Scholten d4534dd38e
Merge pull request #13560 from influxdata/feat/all-access-token
feat(ui): Create all access token
2019-04-22 19:20:24 -07:00
Iris Scholten 0f01067f60 feat(ui): Add option to generate an all access token 2019-04-22 17:58:50 -07:00
Nathaniel Cook bc17af2118
Merge pull request #13569 from influxdata/flux-staging
chore(dep): update Flux to v0.27.0
2019-04-22 18:34:39 -06:00
kelwang 0916741838
Merge pull request #13286 from influxdata/bucket_scrapper_org_rename
Bucket scrapper org rename
2019-04-22 19:46:51 -04:00
Nathaniel Cook 2ca8ebe34d chore(dep): update Flux to v0.27.0 2019-04-22 17:02:47 -06:00
Jacob Marble bc2650813d
chore(storage): Merge StringIterator cursor stats (#13558)
* chore(storage): Merge StringIterator cursor stats

* add unit test

* properly count stats after iteration
2019-04-22 15:39:21 -07:00
Kelvin Wang 79093f1de3 fix(ui): remove orgName
Co-authored-by: Kelvin Wang <sherkrainwang@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

fix(buckets): fix linter errors

fix(telegrafs): get orgID to create dashboards for plugins

fix(telegrafs): fix linter errors
2019-04-22 18:39: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
Deniz Kusefoglu 432c4621d4
Merge pull request #13561 from influxdata/feat-rate-limiting
Rate Limiting notifications on read/write endpoints
2019-04-22 15:25:13 -07:00
Deniz Kusefoglu 47047865d6 Fix typon in create dashboard notification
Notify on 429 errors on query in dashboard and DE
Notify on 429 error in line protocol write
Query for limitStatus on Dashboard and DE load
Remove React import in LimitChecker
Rename limits folder to cloud
Add strict comparison to status code checking
Prevent blow up if error doesn't contain status
convert readLimit writeLimit to boolean sounding vars
2019-04-22 15:13:22 -07:00