Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates to reuse code from examples/cmd/webapp rename pkg to webapp so we can import it manuall install deps renames influxdb pk name - see: github.com/influxdata/influxdb/issues/5388 updates to correct paths adds Collect & Trace implementation cleans up influxdb example adds Traces implementation & cleanups InfluxDBStore fixes naming clash updates to more consistent func names improvements on Traces implementation now two queries are executed, one for root spans and other for children spans use map literals instead for readability use default point precision 'ms' & set utc time typo updates NewInfluxDBStore param signature, using struct instead for consistency. improves code style improves strategy for replace existing spans on DB adds InfluxDBStore.findSpanPoint and removes InfluxDBStore.removeSpanIfExists since not needed anymore improves root span checking fields might contain empty values so better to start annotations slice from zero size temp fix for frontend hanging when seeing trace detail page typo Revert "temp fix for frontend hanging" - Lasting fix on 7a77805 This reverts commit 38edc7b. updates to preserve existing span fields do not replace existing annotations saved on db, just append new ones use ID's method instead of its implementation we might want to move zeroID to `id.go` set all other fields diff than Name too updates to correct error text improvements on span annotations updating handles potential closing errors if so we should return it captures potential closing error and logs it adds trace pagination related todo updates to handle multiple row values & update docs due to we already improved the strategy to remove existing span then save new one, now we just append new annotations to the existing span docs improvements on InfluxDBStore.Collect method adds missing whitespace adds support to save `schemas` field to spans measurement to keep track which schemas were saved by `Collect(...)` Revert "adds empty time value validation" This reverts commit 7a77805. Reverting since not required anymore to prevent ui breaking, There's a workaround introduced with: 6d10ff7. adds sorting related improvements improves comments for `InfluxDBStore` updates influxdb related paths; fixes introduced on v0.10 therefore not changes on travis related to influxdb import path issues is required - see: influxdata/influxdb#5617 adds support for auth to `InfluxDBStore.server` typo and fit comments into 80-char-width updates to keep 80-chars code width limit Revert "updates to keep 80-chars code width limit" This reverts commit d589fcb. adds mode(test, release) support for InfluxDBStore test mode for running tests & release mode as default. adds InfluxDBStore tests tests for Collect & Trace methods removes httptrace dependency to avoid cyclic dependencies adds test for InfluxDBStore.Traces() improvements on comments, unnecessary code & codestyle adds default retention policy support which is used to tell appdash database how long time preserve data before deleting it improves comments readability & adds a low priority TODO support to add sub-traces to it's trace parent clean-up TestInfluxDBStore & adds TestFindTraceParent code readability improvements
- Loading branch information