Commit Graph

28188 Commits (41fb45578122a45b5da32904bc943006ba104023)

Author SHA1 Message Date
Chris Goller f6a4151024
Merge pull request #11321 from influxdata/feat/bolt-metrics
feat(bolt): add metrics for resources stored in boltdb
2019-01-18 18:08:51 -06:00
Chris Goller 2b7a0099e8 feat(bolt): add scraper and telegraf metric counters 2019-01-18 18:00:10 -06:00
Iris Scholten a05e3fb421
Merge pull request #11318 from influxdata/feat/quick-start
feat(ui/onboarding): Create default scraper when Quick Start is selected
2019-01-18 15:59:01 -08:00
Palak Bhojani d16bc077b0 Update url input to not allow empty strings 2019-01-18 15:49:01 -08:00
Iris Scholten 67b87c1086 fix(ui/dataLoaders): Update Nginx configs to include urls 2019-01-18 15:47:13 -08:00
Chris Goller 8082c64556 feat(bolt): add metrics for influxdb buckets stored in boltdb 2019-01-18 17:45:45 -06:00
Chris Goller 49782c3be4 feat(bolt): add metrics for resources stored in boltdb 2019-01-18 17:45:45 -06:00
Palak Bhojani bc924b51cb Remove procstat plugin from system bundles 2019-01-18 15:29:01 -08:00
Iris Scholten f3ad63b8b6 feat(ui/onboarding): Create default scraper when Quick Start is selected in onboarding 2019-01-18 15:25:43 -08:00
Brandon Farmer f04cf3ecd9
Merge pull request #11314 from influxdata/fixes/dont-verify-line-protocol-on-change
Wait till submit to verify manual line protocol
2019-01-18 15:09:37 -08:00
Mark Rushakoff 3e1551334f fix(http): ensure response body always closed
This avoids leaking resources.

Found by manually inspecting results of `git grep -A5 -F '= hc.Do'`.
2019-01-18 14:55:48 -08:00
Delmer e2ffc17b21
fix(ui): add session timeout notification (#11281)
Co-authored-by: Chris Goller <goller@gmail.com>
2019-01-18 17:43:00 -05:00
Chris Henn fdd53fa925
Update ui/src/me/components/LogoutButton.tsx
Co-Authored-By: OfTheDelmer <delmer814+1@gmail.com>
2019-01-18 17:34:57 -05:00
Chris Goller 354010ca84
Merge pull request #11308 from influxdata/feat/proto-from-filesystem
feat(proto): read JSON files in proto
2019-01-18 16:30:58 -06:00
Brandon Farmer 22344b7f28 Wait till submit to verify manual line protocol 2019-01-18 14:26:38 -08:00
Iris Scholten 99b25311f6
Merge pull request #11311 from influxdata/fix/scrapertargets-to-scrapers
fix(ui/dataLoaders): Update scraper targets to scraper
2019-01-18 14:25:15 -08:00
Delmer Reed 337bcc4e9a fix(ui): update IndexRoute to DashboardsPage 2019-01-18 17:19:50 -05:00
Delmer Reed 19cf116e3d fix(ui): remove logout returnTo query param 2019-01-18 17:14:46 -05:00
Iris Scholten 02c02f9b40 fix(ui/dataLoaders): Update scraper targets to scraper 2019-01-18 14:08:23 -08:00
Chris Goller 101c636bbe chore(ci): add staticcheck linter ignore comments for proto 2019-01-18 15:29:23 -06:00
Chris Goller dea64a3685 feat(proto): read JSON files in proto
We used go-bindata to embed all JSON files in proto to be shipped
with our released influxdb.

We are committing the bin_gen.go so that it simplifies the building
via make and go build.

If you would like to add another proto JSON file, run make
to generate a new bin_gen.go.

Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>
2019-01-18 15:13:19 -06:00
Christopher Henn 1412124a70 Fix example `map` Flux function call 2019-01-18 12:37:54 -08:00
Iris Scholten c64f528012
Merge pull request #11274 from influxdata/fix/update-telegraf-bucket
fix(ui/dataLoaders): Fix update telegraf config
2019-01-18 11:48:52 -08:00
Christopher Henn ca4a62f3f2 Reset query builder selections when changing bucket 2019-01-18 11:32:53 -08:00
Michael Desa cdc9146b78 feat(influxdb): add authorized user resource mappings
feat(bolt): add function to find a resources organization id

rename platform to influxdb

Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

fix(bolt): rename FindResoureOrganization to FindResoureOrganizationID

feat(authorizer): add authorized user resource mapping service

Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

feat(influxdb): wire up authorized user resource mapping

Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

fix(authorizer): remove unused field from tests

Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2019-01-18 14:22:08 -05:00
Iris Scholten a5fe808680
Merge pull request #11269 from influxdata/fix/empty-scraper-verify
Remove empty scraper verify step and data loaders progress bar
2019-01-18 11:14:44 -08:00
Iris Scholten 2efa0d2a56 fix(ui/dataLoaders): Fix update telegraf config 2019-01-18 11:12:45 -08:00
Brandon Farmer 976e95c7b6
Merge pull request #11262 from influxdata/feat/show-flux-error-in-time-machine
Display flux error in UI
2019-01-18 11:07:06 -08:00
Brandon Farmer 8cb47c75cf
Merge pull request #11296 from influxdata/feat/node-npm-version
Set node and npm version requirements for project
2019-01-18 11:06:32 -08:00
Jade McGough 8a1d7ba1ba
Labels v2 (#11198)
* WIP first-class endpoint for labels

* WIP

* WIP

* add all the boilerplate

* fix boltdb

* fix http label test

* fix test

* WIP

* fix test failures

* reenable all tests

* add failing test for label mappings

* add label mapping bolt bucket

* implement resource -> label mapping fn

* add inmem label mapping

* delete label mappings

* remove unused stuff

* add missing functions

* add POST endpoint for labels

* add GET route for label

* delete label endpoint

* add label patch endpoint

* remove commented code

* add label service to api handler

* update comment

* add FindLabelByID test

* use platform.Error

* change path name

* formatting

* remove label patch from swagger

* avoid potential orphaned mapping bug

* guard against creating label mappings from nonexistent labels

* update swagger

* update swagger

* update swagger

* fix swagger indentation

* update swagger
2019-01-18 11:03:36 -08:00
Daniel Campbell 220c66dc9a
persist Add Data button (#11292)
* persist Add Data button

* swap position

* Update tip text

* remove unused import
2019-01-18 10:53:41 -08:00
Iris Scholten aded23d08b Remove empty scraper verify step and data loaders progress bar and step statuses 2019-01-18 10:48:14 -08:00
Michael Desa 4863708c58
Merge pull request #11287 from influxdata/fix/default-source-org
fix(authorizer): allow default source orgID to be in the sources list
2019-01-18 13:27:13 -05:00
Mark Rushakoff 27d854d771 fix(http): display platform error from task client 2019-01-18 10:25:06 -08:00
Edd Robinson 1437cef3ba
Merge pull request #11294 from influxdata/er-fix-drop
Fix bucket delete for all buckets
2019-01-18 18:24:44 +00:00
Michael Desa bd52ed3659 fix(authorizer): allow default source orgID to be in the sources list 2019-01-18 13:14:43 -05:00
Brandon Farmer c798655b6d Set node and npm version requirements for project 2019-01-18 09:51:42 -08:00
Brandon Farmer 7a99b2947b Display flux error in UI
Closes #11162
2019-01-18 09:43:06 -08:00
Edd Robinson 07b8eacf34 Fix bucket delete for all buckets
If a bucket had bytes in it that would be escaped by the models
parser/package, then the index would not be correctly purged of those
series data when the bucket was dropped.
2019-01-18 17:28:58 +00:00
Christopher Henn 7a900d76e5 Fix variable issue in "Save As Task" feature 2019-01-18 09:13:40 -08:00
Christopher Henn 458314830b Move query visibility icon to left of name 2019-01-18 09:13:40 -08:00
Christopher Henn e9f42738ab Rebuild query when switching to query builder mode
Previously, switching from the script editor mode to the query building
mode would not rebuild the query until a new selection in the query
builder was made. This resulted in a query builder that was inconsistent
with the graph above.
2019-01-18 09:13:40 -08:00
kelwang ecf63c7935
Merge pull request #11285 from influxdata/update_scraper_endpoint
fix(http): update scrapers endpoint
2019-01-18 11:59:09 -05:00
Lyon Hill 523e52d662
Show organization names in task api actions (#11223)
* Show organization names on task actions.

closes #10876
2019-01-18 09:10:14 -07:00
Kelvin Wang 63ae68b9eb fix(http): update scrapers endpoint 2019-01-18 10:38:28 -05:00
kelwang db3c3d907c
Merge pull request #11236 from influxdata/scraper_authorizer
Scraper authorizer
2019-01-18 10:27:08 -05:00
Leonardo Di Donato 04e541bf06 fix(authorizer): do not nead read action while writing to scrapers
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-18 10:01:52 -05:00
Kelvin Wang f0838e4c71 feat(authorizer): add scraper authorizer 2019-01-18 10:01:51 -05:00
Kelvin Wang 3bebc1bdc7 feat(influxdb): add authorizer 2019-01-18 10:01:50 -05:00
Leonardo Di Donato 0650aacdf9 fix(authorizer): do not require read action in order to perform a write 2019-01-18 14:05:36 +01:00