Commit Graph

29914 Commits (36a33bcb9f31f2a9e5615989b6140bd1d13c4cc8)

Author SHA1 Message Date
Stuart Carnie 36a33bcb9f
feat(tsdb): Teach storage how to only decode timestamps from a block
TimestampArray.Contains(min,max) API performs a binary search to
determine if timestamps exist for the given time interval.

It also implements Exclude to drop timestamps that have been tombstoned.

DecodeTimestampArrayBlock decodes only the timestamps of the provided
block.
2019-04-18 16:19:18 -07:00
Stuart Carnie 7fc9661b7b
chore: Move StringIterator to cursors package for wider reuse 2019-04-18 16:19:17 -07:00
Stuart Carnie e74f2f8e08
chore(cursors): Remove unused field 2019-04-18 16:19:17 -07:00
Stuart Carnie d67b1ef245
fix(cursors): Add go:generate directive 2019-04-18 16:19:17 -07:00
Jonathan A. Sternberg c98c29c1d1
feat(query): add push down rule for filters to read range procedure (#13512)
The read range procedure that uses the new rpc endpoints will now accept
filters using the same rules as the previous physical from procedure
spec.
2019-04-18 18:18:41 -05:00
Iris Scholten 00acbff017
Merge pull request #13510 from influxdata/org-name-dash-page
feat(ui): Add orgname to dashboard page title
2019-04-18 13:09:37 -07:00
Iris Scholten 24bd1850a6 feat(ui): Add orgname to dashboard page title 2019-04-18 12:57:29 -07:00
Christopher Davis 85b246e8c6
Merge pull request #13462 from influxdata/fix-readme-doc
Adding a tool dependency install note
2019-04-18 14:47:24 -04:00
Nathaniel Cook 1c2fd2eedd
Merge pull request #13506 from influxdata/flux-staging
Update to Flux v0.26.0
2019-04-18 12:13:49 -06:00
Delmer 87121fba1f
feat(ui/variables/csv): add csv variable (#13503) 2019-04-18 13:37:00 -04:00
Nathaniel Cook 4c77e3598b Merge branch 'master' into flux-staging 2019-04-18 11:01:22 -06:00
Nathaniel Cook 4c1cdd2095 fix(query): add panic stack to logs for query logging recovery 2019-04-18 10:57:43 -06:00
Nathaniel Cook 63cb413971 chore(dep): update Flux to v0.26.0 2019-04-18 10:51:35 -06:00
Nathaniel Cook 07f98e31e7 fix(query): fix misc tests with new master Flux 2019-04-18 10:51:35 -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
Delmer 875855c4bb
feat(ui/variables/map): add map type variables (#13466) 2019-04-18 09:23:07 -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
Jade McGough 199c387682
Merge pull request #13461 from toddboom/tp-fix-typos-in-other-packages
Fix typos in miscellaneous packages
2019-04-17 18:40:42 -07:00
Jade McGough 1792995a68
Merge pull request #13460 from toddboom/tp-fix-typos-in-tsdb
Fix typos in tsdb package
2019-04-17 18:37:27 -07:00
Iris Scholten 63ab5e6d75
Merge pull request #13493 from influxdata/feat/rename-org
feat(ui): Add ability to rename org
2019-04-17 17:10:07 -07:00
Iris Scholten 5fbca241d6 feat(ui): Add ability to rename org 2019-04-17 16:57:18 -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
cmd-influx c1241cedb5 Adding a tool dependency install note 2019-04-17 16:51:46 -04:00
Todd Persen cd64ec8718 Fix typos in miscellaneous packages 2019-04-17 13:30:22 -07:00
Todd Persen 138c17f22c Fix typos in tsdb package 2019-04-17 12:55:38 -07:00
Nathaniel Cook 8b918539db Merge branch 'master' into flux-staging 2019-04-17 12:26:10 -06:00
Ben Johnson 52d6135daf
Merge pull request #13382 from influxdata/fix/remove-tsi-stats-file-cache
fix(tsdb): Remove TSI stats file cache
2019-04-17 12:13:46 -06:00
Jacob Marble ff82e844ae
feat(storage): Add StringIteratorWriter.WrittenN() (#13456) 2019-04-17 11:05:45 -07:00
Ben Johnson 2b3ce82852
fix(tsdb): Remove TSI stats file cache
Removes the `STATS` file generated during TSI compaction as it had
potential for becoming inconsistent with the index data. Instead,
stats are recalculated on start up and on each compaction on a
per-partition basis.

Computing stats for 10M series across 10K measurements takes
approximately 0.171s.
2019-04-17 09:34:32 -06:00
Michael Desa 53c28250d6
Merge pull request #13303 from influxdata/feat/track-usage
Add prometheus counters for tracking write/query usage
2019-04-17 11:31:43 -04:00
Lyon Hill 9a41cc46e4
Create an analytical storage middleware layer (#13418)
* Create an analytical storage middleware layer
2019-04-17 08:41:05 -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
Jacob Marble 53810fadeb
feat(storage): Implement storage schema RPC de/serializer, merge, APIs (#13409)
* Extend storage service protobuf with TagKeys and TagValues

Co-authored-by: Michael Desa <mjdesa@gmail.com>
Co-authored-by: Jacob Marble <jacobmarble@influxdata.com>

* Extend the reads.Store interface with new TagKeys and TagValues APIs

* Extend readservice.store to implement refactored reads.Store interface

* Implement a StringIterator gRPC writer / serializer

* Implement a StringIterator gRPC reader / deserializer

* Implement a StringIterator merger
2019-04-16 16:01:05 -07:00
alexpaxton 2b8c17b767
Polish Create From Template Overlay (#13424)
* Move and rename components

* Break overlay into subcomponents

* Create empty state with link when no templates exist

* Break down template overlay components further

* Enable scrolling in overlay

Use custom UI instead of responsive grid

* Updoot changelog

* Fix e2e test

* Improve readability of code

* Import types from src/types instead of directly from client

* Import type from src/types instead of directly from client

* Do not display version of template in details panel

* WIP import types from src/types instead of directly from client

* Fix template types
2019-04-16 13:58:27 -07:00
Iris Scholten 5487ed6661
Merge pull request #13423 from influxdata/disable-autorefresh-timerange
Set autorefresh of dashboard to pause if absolute time range is selected
2019-04-16 10:56:47 -07:00
Iris Scholten a14e64af27 feat(ui): Set autorefresh of that dashboard to pause if absolute time range is selected 2019-04-16 10:45:36 -07:00
Mark Rushakoff d0517f288a fix(query): return statistics even in encoder error case
The ProxyQueryServiceAsyncBridge was not returning statistics when there
was an encoder error. Because the encoder was just writing to an
io.Writer, it was possible that a remote disconnect could happen and
statistics could not be reported.
2019-04-16 09:51:13 -07:00
Delmer 9d0c91f5f0
Fix/variable update overlay (#13438) 2019-04-16 12:46:03 -04:00
karel-rehor 8d178ebda1 test(e2e): bonitoo cypress onboarding (#13087)
* added writeData command

* better junit reporting

* adding package-lock.json as per circle-ci hint

* delinting

* removed chainable .only.

* removed commented line

* starting onboarding test

* onboarding assert

* complete onboarding to quick start

* additional onboarding tests

* delinting

* adding field requirements test

* fixing merge conflicts

* WIP - updating to new org ctx - stablizing

* WIP - linting - stablizing

* fixing merge conflicts

* refactor onboarding test to leverage data-testid

* fixing jstests with new data-testid attribs

* resynch promql.go

* refactor add last data-testid replacements onb test

* replacing lost asserts

* improving assert

* passing in additional data-testid values

* removing bin_gen.go from branch
2019-04-16 09:06:16 -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
Palakp41 3c3d3c2d03
Merge pull request #13420 from influxdata/fix/feedback-button-cloud
Put feedback nav item below the cloud nav item
2019-04-15 16:39:48 -07:00
Brandon Farmer 4315daffb6
Merge pull request #13416 from influxdata/fix-cloud-logout
Fix logout for cloud, use environment variable
2019-04-15 16:26:11 -07:00
Palakp41 65cbc789ce
Merge pull request #13406 from influxdata/route-member-overlay
Add route to new member overlay
2019-04-15 16:26:05 -07:00
Christopher Henn 11bfc0b41c Ensure column selections are saved with histograms
Closes #13407
2019-04-15 16:09:30 -07:00
Christopher Henn a9f88f5aa7 Extract view saving logic from component to thunk 2019-04-15 16:09:30 -07:00
Christopher Henn e08457cde2 Rename vis provisioning components for clarity
In preparation for #13310.
2019-04-15 16:09:30 -07:00
Brandon Farmer 3ecf6870d0 Fix logout for cloud, use environment variable 2019-04-15 15:49:01 -07:00
Palak Bhojani a26e87beec Put feedback nav item below the cloud nav item 2019-04-15 15:47:57 -07:00
Palak Bhojani 024ee048df Add route to new member overlay 2019-04-15 15:46:13 -07:00