Commit Graph

32522 Commits (b3927f494577547b43f13482194e85d9a81d70e3)

Author SHA1 Message Date
Johnny Steenbergen b3927f4945 feat(pkger): extend telegraf configs to be able to define a config and rename it 2020-03-18 15:14:48 -07:00
Andrew Watkins 794b8cd9e1
fix: set bucket limit to 100 (#17336)
* fix: set bucket limit to 100

* chore: extract limit to constant
2020-03-18 12:42:18 -07:00
Edd Robinson d96cbd4f74
Merge pull request #17016 from influxdata/er-bulk-import
feat(storage): prototype 1.x–2.x migration tooling
2020-03-18 17:57:26 +00:00
George 1d400a4f0f
feat(kv): support for migrations (#17145)
* feat(kv): migration types for managing kv buckets and indexes over time

chore(kv): fixup comments in migrator types

fix(kv): initialize migrator bucket on kv service initialize

chore(kv): remove currently unused auth index

chore(kv): remove currently unused urm index

* chore(kv): move migrator tests into testing package and run for inmem and bolt

* chore(changelog): update changelog to reflect kv migrator type

* fix(kv): update auto migration store to return migratable store

* chore(kv): wrap error using func instead of defer in index

* chore(kv): rename Name method to MigrationName for clarity

* chore(kv): update migration log messages to match influxdb standard
2020-03-18 12:23:51 +00:00
Alirie Gray 82d88d52c4
feat(logging): add logging middleware to tenant service (#17320) 2020-03-17 15:24:57 -07:00
Ariel Salem 8a027bccca
fix(ui): removed more dead code (#17318) 2020-03-17 14:43:39 -07:00
Ariel Salem e81d764fe6
fix(ui): fixed styling for login page (#17315) 2020-03-17 13:44:08 -07:00
Bucky Schwarz 46e2e2b301 feat(cloud): add user data and org data events to dataLayer 2020-03-17 13:24:50 -07:00
Bucky Schwarz 500ac5a2cd feat(cloud): add shallow wrapper around eventing in gtm 2020-03-17 13:24:50 -07:00
Johnny Steenbergen 5711415b78 feat(pkger): extend variables to be able to define a variable and rename it 2020-03-17 12:32:19 -07:00
Lyon Hill 609970c0de
feat(tenant): Add in service functions and business logic (#17296)
* feat(tenant): Add in service functions and business logic

Built on top of the crud layer of the system we should now have additional service logic.
The addition of service layer should allow for us to verify similar functionality to the kv system.
2020-03-17 13:23:00 -06:00
Johnny Steenbergen 136822da51 feat(pkger): extend endpoints to be able to define a endpoint and rename it 2020-03-17 11:31:33 -07:00
Johnny Steenbergen 97e56c0f00 fix(http): fixup logging for http middleware 2020-03-17 10:49:16 -07:00
Alirie Gray 4d7dd93627
feat(metrics): add metrics middleware to tenant service (#17301) 2020-03-17 10:43:16 -07:00
Johnny Steenbergen 43de2fb4e8 feat(pkger): extend checks to be able to define a check and rename it 2020-03-17 08:16:04 -07:00
Johnny Steenbergen 136ca295d1 fix(influx): update completion cmd with more accurate help message 2020-03-17 08:15:38 -07:00
Gershon Shif 4928259411
chore: added INFLUXPATH parameter required by backup and restore tests (#17306) 2020-03-16 20:12:38 -07:00
Jacob Marble 679215de97
chore: Revert "refactor(tsdb): remove read from unexported field (#17279)" (#17305)
This reverts commit 0ec2b453b9.

Fixes panic.
2020-03-16 17:48:01 -07:00
alexpaxton eb226776ff
feat(ui): add dashboard empty state graphics (#17297)
* chore(ui): add graphic assets for empty dashboard state

* feat(ui): implement empty dashboard graphic for both light and dark modes

* chore(ui): update changelog
2020-03-16 16:35:36 -07:00
alexpaxton 2b0a9be5de
refactor(ui): replace text with icons in dashboard light/dark toggle (#17300) 2020-03-16 16:35:03 -07:00
Johnny Steenbergen c8a4d1c018 chore(pkger): cleanup http server tests that hit an external service 2020-03-16 16:20:42 -07:00
Johnny Steenbergen de32cf94d0 feat(pkger): extend labels to be able to define a label and rename it 2020-03-16 16:20:42 -07:00
Scott Anderson 7588e126c9
chore(flux): add experimental csv.from function (#17298)
* chore(flux): add experimental csv.from function

* fix(fluxFunctions): lowercasing URL param

Co-authored-by: Russ Savage <russorat@users.noreply.github.com>
2020-03-16 17:10:08 -06:00
alexpaxton b0d459fccf
feat(dashboards): enable optional light mode for dashboards (#17232)
* refactor(ui): distill presentation mode toggle into discreet component

* refactor(ui): introduce foundations for Light Mode

* fix(ui): ensure light mode does not affect dashboards index view

* feat(ui): enable light mode for some chart types

* refactor(ui): adapt dashboard page title to light mode

* refactor(ui): polish appearance of cells in light mode

* fix(ui): make detection of dashboard viewing more resilient and precise

* fix(ui): pass in missing prop

* feat(ui): allow gauge to render as either light or dark

* fix(ui): ensure light mode of gauge is scoped to dashboard cells and not veo

* feat(ui): refactor table graphs to conditionally render light mode

* feat(ui): enable Heatmap graphs to render in light mode

* feat(ui): enable histograms to render in light mode

* feat(ui): enable scatterplots to render in light mode

* fix(ui): remove console log

* fix(ui): update test

* refactor: calc theme state

* fix: type

* refactor: fix action types

* chore: remove dead code

* refactor(ui): rename props from "lightMode" to "theme"

* refactor(ui): make variables control bar respond to theme

* fix(ui): update mockState to match current appState shape

* fix(ui): update affected tests

* refactor(theme): remove currentPage from localStorage

* chore(ui): update changelog

* fix(ui): update test

Co-authored-by: Andrew Watkins <watts@influxdb.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2020-03-16 14:34:33 -07:00
Jacob Marble 0ec2b453b9
refactor(tsdb): remove read from unexported field (#17279)
* refactor(tsdb): remove read from unexported field

* fix(tsdb): add regression test to check for panic

* fix(tsdb): detect nil without panic
2020-03-16 14:26:14 -07:00
Johnny Steenbergen 952d7d7528 feat(pkger): extend buckets to be able to define a bucket and rename it
this work is the first of making resources ALL unique by metadata.name. The
displayName is a means to rename an existing resource. This is all to support
pkger idempotency. The metadata.name field will be the unique identifier within
a pkg.
2020-03-16 14:18:30 -07:00
Gershon Shif fb300a1182
chore(litmus): run integration tests on master: (#17292)
* chore(litmus): run integration tests on master:
- aafter successful E2E run after master build, run integration tests
	modified:   .circleci/config.yml
	modified:   etc/litmus_fail_notify.sh
	modified:   etc/litmus_success_notify.sh

* chore(litmus): litmus_integration run should depend on litmus_daily test run
	modified:   .circleci/config.yml
2020-03-16 13:41:13 -07:00
alexpaxton eda7e058e2
feat(ui): update oss login page (#17291)
* feat(ui): update design of oss login page

* chore(ui): remove splash page components

* chore(ui): update changelog

* chore(ui): sort css attributes alphabetically
2020-03-16 12:58:19 -07:00
Jacob Marble 386098da36
refactor(storage): move and remove to help cleanup tsdb package (#17275)
* refactor(tsdb): move series file config to seriesfile package

* refactor(tsdb): removed unchecked const EOF

* refactor(tsdb): unexport errors

* refactor(tsdb): remove unused TagValueIterators

* refactor(tsdb): remove SeriesIDIterator usage in tsdb/seriesfile

* refactor(tsdb): remove one-use MeasurementIterators

* refactor(tsdb): remove unused type measurementSliceIterator

* refactor(tsdb): remove unused types TagKeyIterators and tagKeySliceIterator

* refactor(storage): remove unused method Engine.ApplyFnToSeriesIDSet

* refactor(tsdb): rename AllSeriesIDs() -> SeriesIDs()
2020-03-16 12:23:15 -07:00
Johnny Steenbergen 7b1efe5428 feat(influx): add completion command for users to generate the completions for the influx cli 2020-03-16 09:42:10 -07:00
Lorenzo Affetti 04b86df3be
Merge pull request #17285 from influxdata/la/fix-label-service
fix(http): make label service authorized by default
2020-03-16 14:59:51 +01:00
Ariel Salem ab1081ac78
feat(ui): made slight UI changes to the login page as per design requests (#17255) 2020-03-16 06:39:37 -07:00
George 622a38cb4b
fix(kv): add test to ensure skip first item behaviour handles single item (#17284) 2020-03-16 13:36:54 +00:00
Lorenzo Affetti 8a368fabfa
fix(http): make label service authorized by default
Fix resource type for label backends.
2020-03-16 11:32:35 +01:00
Jacob Marble 7dbc07beda
chore: Revert "refactor(storage): move and remove to help cleanup tsdb package (#17241)" (#17272)
This reverts commit 4b8a71b97f.

Fixes incident #inc-aws-error-rate-spi-5e6c1423
2020-03-13 17:14:51 -07:00
alexpaxton 57de029118
feat(ui): display graphic in time machine top when in empty state (#17271)
* feat(ui): display graphic in time machine top when in empty state

* chore(ui): prettier fix
2020-03-13 15:41:16 -07:00
Johnny Steenbergen 5211e559de chore(influx): add test coverage for root influx cmd
this verifies things like token/host and all the root lvl flags are being
set appropriately.
2020-03-13 15:00:12 -07:00
Jacob Marble 4b8a71b97f
refactor(storage): move and remove to help cleanup tsdb package (#17241)
* refactor(tsdb): move series file config to seriesfile package

* refactor(tsdb): removed unchecked const EOF

* refactor(tsdb): unexport errors

* refactor(tsdb): remove unused TagValueIterators

* refactor(tsdb): remove SeriesIDIterator usage in tsdb/seriesfile

* refactor(tsdb): remove one-use MeasurementIterators

* refactor(tsdb): remove unused type measurementSliceIterator

* refactor(tsdb): remove unused types TagKeyIterators and tagKeySliceIterator

* refactor(storage): remove unused method Engine.ApplyFnToSeriesIDSet

* refactor(tsdb): remove read from unexported field
2020-03-13 13:04:58 -07:00
Gavin Cabbage 14ba382e4f
fix(buckets): return unauthorized if no org is found for user (#17264) 2020-03-13 15:35:33 -04:00
Chris Goller 6af35aec42
feat: render models.Points to string (#17266)
Signed-off-by: Chris Goller <goller@gmail.com>
2020-03-13 14:11:10 -05:00
Russ Savage a5c368e5f8
fix(jslogo): fix for displaying in firefox (#17240)
* fix(jslogo): fix for displaying in firefox

* chore(changelog): update changelog for #17240
2020-03-13 10:34:20 -07:00
Michael Desa d3b066530f
Merge pull request #17237 from influxdata/chore/alerting
fix(ui/src/alerting): reduce points per check from 300 to 100
2020-03-13 09:07:22 -07:00
Edd Robinson 5b437a2966 refactor: fix build 2020-03-13 15:24:53 +00:00
Edd Robinson d6a22c196a refactor: add some links to current issues 2020-03-13 15:24:51 +00:00
Michael Desa de252b3017 fix(ui/src/alerting): reduce points per check from 300 to 100
This was done to reduce amount of data returned to the client. This is
problematic when there are a large number of series that get returned
from a query. Long term we will want to limit the topN tables so that
this is not an issue.
2020-03-13 08:02:51 -07:00
Edd Robinson 08add490e0 fix: ensure buckets are created properly 2020-03-13 11:00:28 +00:00
Edd Robinson bbe40aeb82 feat: prototype 1.x - 2.x migration tool 2020-03-13 11:00:28 +00:00
Edd Robinson 4e9fdf862c feat: buffered io.WriteCloser 2020-03-13 11:00:28 +00:00
Deniz Kusefoglu 1ce19b520d
feat(sampledata): Allow users to query buckets in 'other' org (#17207)
* feat(sampledata): Query appropriate org in queries

* feat(sampledata): Add bucket resource fetching to Dashboard and DE

* feat(sampledata): Get orgID from query in refreshing view

* feat(sampledata): Be the change you want to see

* feat(sampledata): Only use loading state if resource has not been loaded before

* feat(sampledata )Get buckets from api endpoint rather than through query

* feat(sampledata): Direct load tag selector and values queries to correct org

* feat(sampledata): Protect against buckets that have no orgID.
2020-03-12 16:58:55 -07:00
Russ Savage 9090517ab3
chore(changelog): removing content type change 2020-03-12 14:06:22 -07:00