Commit Graph

32685 Commits (468704bbfde1253eec52e77599521933f81f8567)

Author SHA1 Message Date
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
Russ Savage a1098f0a3e
chore(changelog): add beta 7 section 2020-03-12 13:18:31 -07:00
Russ Savage acd09bf0b7
chore(changelog): add date to beta-6 2020-03-12 13:16:40 -07:00
Jacob Marble 26ca766459
refactor(tsdb): move series file to its own package (#17224)
* refactor(storage): move type ByTagKey to the only package that uses it

* refactor(tsdb): use types in tsdb/cursors

* refactor(tsdb): remove unused type SeriesIDElems

* refactor(tsdb): inline only use of tsdb.ReadAllSeriesIDIterator

* refactor(tsdb): move series file to its own package

* refactor(storage): remove platform->influxdb aliases
2020-03-12 11:32:52 -07:00
Alirie Gray 991002d83b
fix(labels): add check for write permissions to create label (#17174) 2020-03-12 10:51:50 -07:00
Jacob Marble cdbf532f57
refactor(storage): remove dead code and rename a few things (#17217)
* refactor(storage): remove CursorIterators type

* refactor(storage): remove unused tsdb.MarshalTags()

* refactor(storage): remove unused package tsdb/internal

* refactor(storage): rename tsdb/metrics.go to tsdb/series_file_metrics.go

* refactor(storage): remove unused type tagValueSliceIterator

* refactor(storage): rename field row to seriesRow

* refactor(storage): rename tsdb/index.go to tsdb/series_iterators.go
2020-03-12 10:45:48 -07:00
Scott Anderson 047e19548f
chore(flux): Add geo package functions (#17190)
* chore(flux): Add geo package functions

* corrected geo package references

* added geo.s2CellIDToken flux function
2020-03-12 11:11:50 -06:00
Jonathan A. Sternberg 45c51128ae build(flux): update Flux to v0.64.0 2020-03-12 10:08:45 -07:00
alexpaxton b845d6a1ba
fix(ui): remove gradients from logo svg components (#17214)
* fix(ui): remove gradients from logo svg components

* chore(ui): update changelog

* fix(rubylogo): tab to space

Co-authored-by: Russ Savage <russorat@users.noreply.github.com>
Co-authored-by: Russ Savage <russ@influxdata.com>
2020-03-12 09:40:19 -07:00
kelwang 2660c6e442
Merge pull request #17170 from influxdata/cli_profiles
feat(cmd/influx): add profile management
2020-03-12 12:00:26 -04:00
Jacob Marble b91e3f36ab
refactor(hll): remove unused Sketch interface (#17218) 2020-03-12 08:59:05 -07:00
Kelvin Wang c511f06fa5 feat(cmd/influx): add profile management 2020-03-12 11:09:54 -04:00
Lorenzo Affetti 60c5825f19
Merge pull request #17219 from influxdata/la/document-auth-again
refactor(authorizer): make document permission in line with other ser…
2020-03-12 16:03:28 +01:00
Ben Johnson 889c58c17f
Merge pull request #17185 from influxdata/series-compaction
feat(storage): Series File Compaction
2020-03-12 08:01:49 -06:00
Lorenzo Affetti fa80fad800
refactor(authorizer): make document permission in line with other services 2020-03-12 09:52:37 +01:00
Ben Johnson 627b6f86bb feat(storage): Series file compaction 2020-03-11 19:31:58 -06:00
Jakub Bednář 88a6a693fe
feat(clientLibs): add PHP client library, update JavaScript/Node.js examples (#17165)
* feat(clientLibs): add PHP client library

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* feat(clientLibs): update JavaScript/Node.js examples

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* fix(php): adding logo

* fix(php): renaming graphic

Co-authored-by: Russ Savage <russ@influxdata.com>
2020-03-11 15:23:14 -07:00
Ariel Salem d2a49b8052
fix(ui): fixed dashboard cells and check query builder update bug (#17202) 2020-03-11 14:35:39 -07:00
Ariel Salem 09807736fd
fix(ui): fixed yield bug that was caused by race condition (#17208) 2020-03-11 12:51:18 -07:00
Lyon Hill 8e4fdceccb
feat(tenant): Build the crud actions for the new tenant service (#17171)
* feat(tenant): Build the crud actions for the new tenant service

To faciliate the isolation of domain specific systems we need to have a
isolated CRUD action system that we can layer business logic on top.

Co-authored-by: George <me@georgemac.com>
2020-03-11 12:31:33 -06:00
Lorenzo Affetti 76067d548e
Merge pull request #17201 from influxdata/fix/notification-endpoint-auth
fix(authorizer): fix endpoint handler auth
2020-03-11 18:30:36 +01:00
Lorenzo Affetti 4e22b0b1af
fix(authorizer): fix endpoint handler auth 2020-03-11 18:09:53 +01:00
Gavin Cabbage f5e8547482
fix(buckets): prevent returning system buckets to unauthorized users (#17117) 2020-03-11 13:06:08 -04:00
Greg f98874566c
fix: allow authorized label service to be called indirectly (#17111)
* fix: allow authorized label service to be called indirectly

17071 exists because pkger loads all service resources as authorized on
start, resulting in them all being authorized when referenced indirectly
(not hit directly via api by consumer). Rather than restructure pkger to
only authorize direct services, this allows proper indirect auth to
labels (the cause of 17071).

* Add orgService to tests

* Add resource types to find orgID from
2020-03-11 10:58:39 -06:00
George e25b8e5931
feat(kv): index utility type (#16910)
* feat(kv): new index type for managing kv indexes

* feat(kv): index verify diff now can produce list of corrupt foreign keys

* fix(testing): refactor kv index tests into testing package and integrate with bolt

* chore(kv): fix go lint error in index

* fix(kv): add test for index walk

* fix(kv): change index cursing strategy to reduce calls to source bkt.Get

* feat(kv): add delete and populate remove dangling foreign keys to index
2020-03-11 14:42:29 +00:00
Sebastian Borza 598ec8a738
Merge pull request #17164 from influxdata/flux_storage
feat(storageflux): move flux components out to separate package
2020-03-10 23:08:59 -05:00
Sebastian Borza eeece73675
chore(storageflux): update failing tests 2020-03-10 17:54:07 -05:00
Sebastian Borza 42856e1394
chore(storageflux): fix linter issue 2020-03-10 17:54:06 -05:00
Sebastian Borza a50e69451e
feat(storageflux): move flux components out to separate package 2020-03-10 17:54:04 -05:00
Alex Boatwright 49c1d85770
fix: enable variables again (#17141) 2020-03-10 15:40:16 -07:00
alexpaxton 01f3161bd1
fix(ui): fix visual defects from clockface 2 upgrade (#17176)
* refactor(ui): redesign and clean up query tabs

* refactor(ui): remove extra space in VEO empty state

* fix(ui): ensure gauge fonts render correctly

* fix(ui): ensure single stat font renders correctly

* fix(ui): update veo to match styles of other overlays

* fix(ui): update font definition in monaco editors

* refactor(ui): soften contrast of grid axes with background

* fix(ui): prevent references to Roboto

* chore(ui): prettier

* refactor(ui): use more resilient variable

* refactor(ui): polish appearance of alert and check history pages

* fix(ui): ensure create check dropdown is not clipped

* refactor(ui): update colors in view type dropdown

* refactor(ui): ensure view options toggle and panel are consistent across editors
2020-03-10 12:33:36 -07:00
Ariel Salem b678ace7aa
fix(ui): updated styling so that telegraf configs maintain their original size when filtering configs (#17168) 2020-03-10 09:42:57 -07:00
Ariel Salem 952e31fe4c
fix(ui): updated trigger to be onFocus as well as onChange (#17161) 2020-03-10 09:10:02 -07:00
Jacob Marble 9e8da7c313
refactor(storage): cleanup in storage/reads (#17163)
* refactor(storage): remove cursorContext.limit and .count

* refactor(storage): remove one-impl interface

* refactor(storage): remove one-line multiShardArrayCursors.newAggregateCursor()

* refactor(storage): mostly rename fields and variables

* refactor(storage): multiShardArrayCursors has one shard

* refactor(storage): drop misleading 'multiShard' from names
2020-03-10 07:50:47 -07:00
Lorenzo Affetti 9ab28376d1
Merge pull request #17093 from influxdata/la/fix-document-handler-auth
fix(http): fix auth in document handler
2020-03-10 09:55:04 +01:00
Lorenzo Affetti fd729f8a38
fix(http): refactor document service and fix auth 2020-03-09 20:32:31 +01:00
Bucky Schwarz f3d871fff8 fix: change variable name to match new clockface variable names 2020-03-09 12:00:50 -07:00
alexpaxton a0505cf73d
chore(ui): upgrade to Clockface 2.0.0 (#17086)
* chore(ui): upgrade clockface dependency to the latest version

* refactor(ui): address breaking changes from clockface

* refactor(ui): update design of home page

* chore(ui): prettier

* refactor(ui): update page headers to conform to new design

* refactor(ui): import stylesheet from Clockface and delete obsolete local styles

* refactor(ui): cleanup

* refactor(ui): factor out PageTitleWithOrg

* refactor(ui): remove font files and references to them

* fix(ui): update dashboard index and task index e2e tests

* fix(ui): update failing e2e test for Data Explorer

* fix(ui): derp

* refactor(ui): remove string interpolation

* refactor(ui): redesign renamable page title to match new clockface style

* refactor(ui): update VEO and CheckEO headers

* refactor(ui): flatten query builder design

* refactor(ui): polish save as dialog

* refactor(ui): cleanup

* refactor(ui): use Rubik in giraffe theme

* fix(ui): upgrade to utilize font and other fixes

* refactor(ui): fix jitter in renamable page title
2020-03-09 11:08:38 -07:00