Commit Graph

891 Commits (3bd73cf40b4d6b0b96364fefcd0453357d38deb0)

Author SHA1 Message Date
Alex P 3344c4e447 DE Graph Labels cannot be selected 2017-02-09 13:55:12 -08:00
Alex P d6cf66e91c Merge remote-tracking branch 'origin/de-organize' into de-organize 2017-02-09 13:52:43 -08:00
Andrew Watkins 6717b342f8 Introduce ResizerHandle back into DE 2017-02-09 13:51:52 -08:00
Alex P 42c3c53860 Change groupbytime bg color to match adjacent toggles 2017-02-09 12:50:59 -08:00
Andrew Watkins f5c3414bb0 Update copy 2017-02-09 11:42:13 -08:00
Andrew Watkins 2bbe98ce1d Improve and clarify Group BY tags 2017-02-09 11:15:51 -08:00
Andrew Watkins 4d5d9e4728 Merge branch 'de-organize' of github.com:influxdata/chronograf into de-organize 2017-02-09 10:27:27 -08:00
Andrew Watkins bec895726d Merge github.com:influxdata/chronograf into de-organize 2017-02-09 10:26:59 -08:00
Alex P b61a243bd2 Fix Kapacitor Rule Builder weirdness 2017-02-09 09:53:48 -08:00
Andrew Watkins be016fee68 Fix new rule not loading 2017-02-09 09:39:34 -08:00
Alex P 801a93cce0 Polish query editor list items 2017-02-09 09:17:35 -08:00
Alex P 622735bd64 Fix positioning of query editor list headers
measurements filter, group by time, and accept/reject
2017-02-09 09:14:07 -08:00
Alex P b6934e2eb4 Fix vertical marker in DE 2017-02-09 08:47:11 -08:00
Chris Goller 3414012d7c Update Makefile and webpack to make builds incremental 2017-02-08 21:15:56 -06:00
Chris Goller a4aa900bf8 Merge pull request #852 from influxdata/feature/kapacitor-detail-field
Update kapacitor alert rule to have detail field
2017-02-08 20:50:48 -06:00
Alex P 5009e67b1e Clean up the DE columns 2017-02-08 15:50:11 -08:00
Alex P 0b272b21e3 Style queries tab list in DE 2017-02-08 15:22:49 -08:00
Alex P 56373d3cd1 Make DE graph huge 2017-02-08 15:22:35 -08:00
Andrew Watkins e0c4c2d748 Add column name headers 2017-02-08 14:24:01 -08:00
Andrew Watkins 51b641b2c3 Remove concept of Panels 2017-02-08 13:58:15 -08:00
Andrew Watkins 3a7ed1a32f Use QueryBuilder and Visualization in DE 2017-02-08 13:41:17 -08:00
Andrew Watkins f1000ffbb3 Turn QB tabs into columns 2017-02-08 13:40:46 -08:00
Andrew Watkins 7c64187d7f Separate query from panel 2017-02-08 13:36:36 -08:00
Andrew Watkins 8bbd9e5d58 Change style 2017-02-08 13:35:21 -08:00
Andrew Watkins 8d856bdb49 Start reorganization of DE 2017-02-08 11:19:33 -08:00
Andrew Watkins 70e184f655 Merge pull request #841 from influxdata/de-struction
Simplify DataExplorer
2017-02-08 08:38:56 -08:00
Andrew Watkins 06f07706a5 Add details alert data for SMTP 2017-02-07 15:15:43 -08:00
Andrew Watkins 5bf86bd0a8 Remove unused handler 2017-02-07 15:15:43 -08:00
Andrew Watkins ac76351100 Introduce UPDATE_DETAILS action 2017-02-07 15:15:43 -08:00
Andrew Watkins 783e25d5f1 Fix typo 2017-02-06 12:53:36 -08:00
Andrew Watkins 6fbdfe898d Remove getState in new object 2017-02-06 12:50:31 -08:00
Andrew Watkins 603944de5d Merge pull request #833 from influxdata/timeSeriesToDygraph-refactor
Time series to dygraph refactor
2017-02-06 12:08:37 -08:00
Andrew Watkins bd6157ddff Add active panel spec 2017-02-06 11:54:22 -08:00
Andrew Watkins b1a6858c58 Move test dir to data_explorer 2017-02-06 11:41:42 -08:00
Andrew Watkins 31ccd37c1c Add and persist activePanel state 2017-02-06 11:32:23 -08:00
Jade McGough 4e57118c95 Merge pull request #837 from influxdata/feature/615-change-dashboard
change dashboards via dropdown
2017-02-06 10:21:24 -08:00
Andrew Watkins 9e74c7a99e Consolidate and simplify saving to local storage 2017-02-02 15:13:09 -08:00
Alex P a9ac01e233 Make hosts dropdown menu less janky 2017-02-02 14:48:08 -08:00
Alex P 9e99e64543 Change z-index hack on react-grid-item so it no longer conflicts with dropdown menu 2017-02-02 14:47:43 -08:00
Andrew Watkins 40d6d4f526 Persist app state to localStorage 2017-02-02 11:54:56 -08:00
Andrew Watkins bdf1f01e10 Deconstruct PropTypes 2017-02-02 09:20:52 -08:00
Andrew Watkins 131d29d9aa Remove concept of 'explorations' 2017-02-01 12:34:18 -08:00
Jade McGough 428e34dc59 fix linting error 2017-02-01 11:29:52 -08:00
Jade McGough 7932c908ef simplify dashboard code 2017-02-01 10:05:26 -08:00
Alex P 26d23b95a8 Change CSS to fix usability issue from the community 2017-02-01 10:02:56 -08:00
Jade McGough 5ad61f61eb change dashboards via dropdown 2017-02-01 00:13:05 -08:00
Andrew Watkins 89bb77d3c0 Add foundation UI for http/tcp alerts 2017-01-31 14:53:37 -08:00
Andrew Watkins b04f9d1a89 Add comment 2017-01-31 08:41:45 -08:00
Andrew Watkins addb78f350 Stop modifying columns in place 2017-01-31 08:41:35 -08:00
Andrew Watkins 42fb31b525 Line up comment 2017-01-31 08:40:44 -08:00
Hunter Trujillo 991fa6fdc3 Bug fixes and performance improvements. 2017-01-30 15:47:39 -08:00
Hunter Trujillo 8ac86ab88a Reuse shared sparse arrays for GC efficiency. Use fast.js methods to further optimize speed. 2017-01-30 08:05:57 -08:00
Hunter Trujillo d9e204e450 Memoize labeling (improves performance of that function 2x, reduces overall run time by 1/10x) 2017-01-29 15:27:02 -08:00
Hunter Trujillo b7c9243f3d Improve performance of the new function by a factor of 3-4x using a memoization technique. 2017-01-29 04:41:07 -07:00
Tim Raymond 2102b779f4 Merge branch 'master' into feature/tr-host-under-path
Conflicts:
  - CHANGELOG.md
2017-01-27 19:30:43 -05:00
Jade McGough f6fe95827d Merge pull request #808 from influxdata/feature/614-dashboard-view
Feature/614 dashboard view
2017-01-27 15:49:14 -08:00
Jade McGough cf32dcbd96 remove host from dashboardpage 2017-01-27 15:31:06 -08:00
Nathan Haugo 215215a5f7 Merge pull request #797 from influxdata/bugfix/telegram#640
Fix format sent to Kapacitor for Telegram.
2017-01-27 15:19:28 -08:00
Andrew Watkins 11e21ee7dc Remove call to setState 2017-01-27 14:39:34 -08:00
Andrew Watkins 53c967a883 Change default altert option to smtp 2017-01-27 14:39:34 -08:00
Andrew Watkins 8cc7c72965 Trim whitespace 2017-01-27 14:39:34 -08:00
Andrew Watkins 60ce83206c Introduce opsgenie config 2017-01-27 14:37:50 -08:00
Hunter Trujillo f0c2856c38 Fix linting. 2017-01-27 15:36:39 -07:00
Alex P ff465e27c5 Style radio buttons in config 2017-01-27 14:14:48 -08:00
Tim Raymond 8425d2c3ed Setup front-end to work with a basepath
React-router and also the client that we use in the frontend need to be
informed on how to access the Chronograf backend when it's being hosted
on a route other than /. To accomplish this, a data attribute is written
into the `<div>` which serves as our React root. We then make the React
router aware of this if it's set and also pass the prefix to axios (our
front end HTTP client) by way of window.

Originally, it was desired to have the basepath accessible via an API,
but this proved to be impossible because to access that API, the front
end would already need to know the basepath. The technique we went with
was arrived at independently, but is also used by Jupityr notebooks
which encountered the same problem.
2017-01-27 17:00:08 -05:00
Tim Raymond 14437af28d Make prefixer support multiple tags, chunked enc
The prefixer needs to not only replace `src="` attributes as it
currently does because that is not the only place a relative URL can
appear. It needs to also prefix URLs found in CSS which can also come
from the downstream http.ResponseWriter.

This adds support for an arbitrary list of patterns that will cause the
prefixer to insert its configured prefix. This is currently set to look
for `src`, `href`, and `url()` attributes.

Also, because we are modifying the stream, we need to suppress the
Content-Length generated by any downstream http.Handlers and instead
enable Transfer-Encoding: chunked so that we can stream the modified
response (we don't know apriori how many times we'll perform a
prefixing, so we can't calculate a final Content-Length). This is
accomplished by duplicating the Headers in the wrapResponseWriter that
is handed to the `Next` handler. We also handle the chunking and
Flushing that needs to happen as a result of using chunked transfer
encoding.
2017-01-27 17:00:08 -05:00
Andrew Watkins 1c11ef32e7 Merge pull request #803 from influxdata/kapacitor-defaults
Add default values for kapacitor config
2017-01-27 13:29:23 -08:00
Chris Goller de37286c46 Fix layout autoflow to handle multiple cells per layout 2017-01-27 13:15:50 -06:00
Jade McGough 4ee483aec2 cleanup 2017-01-27 05:41:03 -08:00
Jade McGough 30a36dd4e4 cleanup 2017-01-27 05:32:59 -08:00
Jade McGough 0682091fd1 get graphs to display 2017-01-27 05:24:26 -08:00
Jade McGough e0efda3fdb don't show endless loading if there are no dashboards 2017-01-27 05:10:44 -08:00
Jade McGough 42815bfe74 dashboard graph rendering 2017-01-27 04:04:26 -08:00
Jade McGough 7e06dbae59 remove dropdown menu for now 2017-01-27 00:54:28 -08:00
nathan haugo c8b7c39e00 Revert to c6441d4b4f 2017-01-26 18:13:27 -08:00
Nathan Haugo abb96a0fb6 Revert "Revert "Bugfix/legend data order"" 2017-01-26 18:00:14 -08:00
Nathan Haugo 662ab26b91 Revert "Bugfix/legend data order" 2017-01-26 17:55:21 -08:00
Nathan Haugo 9e29983b21 Merge pull request #799 from influxdata/bugfix/legend-data-order
Bugfix/legend data order
2017-01-26 17:54:19 -08:00
Nathan Haugo c6441d4b4f Merge pull request #791 from influxdata/talk-config
Introduce Talk alert config
2017-01-26 17:52:15 -08:00
Andrew Watkins a4c39832e9 Add default values for kapacitor config 2017-01-26 17:51:37 -08:00
Hunter Trujillo d057452971 Fix Telegram parse-mode support for HTML and Markdown. 2017-01-26 17:31:51 -07:00
Hunter Trujillo 0e39dcecef Add reducer spec for shared/sources. Add nodemon script to package.json to help with TDD. Fix actual issue: duplicate defaults in sources. 2017-01-26 16:55:05 -07:00
Jade McGough bcca3e3e8f add dashboard content, make request to API 2017-01-26 14:04:51 -08:00
Andrew Watkins 3d35c5bfa2 Cleanup 2017-01-26 11:21:56 -08:00
Andrew Watkins 34a486a7cb Cleanup comments 2017-01-26 11:09:04 -08:00
Andrew Watkins 8581d6b4aa Include support for tags 2017-01-26 11:07:34 -08:00
Hunter Trujillo d70e22bf07 Fix format sent to Kapacitor for Telegram. 2017-01-25 16:22:59 -07:00
Hunter Trujillo 099da399f0 Guard against undefined series error. 2017-01-25 14:35:47 -07:00
Hunter Trujillo e10eeb66cf Cleanup. Passes linter. 2017-01-25 14:35:32 -07:00
Hunter Trujillo 2c65d3d825 Add dygraphSeries. Tests pass. 2017-01-25 14:25:03 -07:00
Andrew Watkins aa92f9d510 WIP handle duplicate field and measurement names
This solution can now handle an arbitrary number of
responses and series.  Once we munge the series out
into one flat collection, we utilize the index of each
series to identify duplicate labels.
2017-01-24 11:50:41 -08:00
Nathan Haugo b55ad59e48 Merge pull request #786 from influxdata/fix-alert-filter
Fix alert filter
2017-01-24 11:13:55 -08:00
Andrew Watkins 527c1ef604 WIP all the refactors and in teh darkness bind them 2017-01-23 21:14:39 -08:00
Andrew Watkins 147f0aba60 WIP Fix label ordering bug 2017-01-23 16:08:45 -08:00
Andrew Watkins 55c2887f36 Introduce Talk alert config 2017-01-23 13:07:37 -08:00
Andrew Watkins 431d0348d3 Merge pull request #790 from influxdata/remove-checkboxes
Remove checkboxes
2017-01-23 11:45:00 -08:00
Andrew Watkins 4709272817 Match order of keys 2017-01-23 11:30:10 -08:00
Andrew Watkins 4f3f12dcaa Remove state change only checkbox from Telegram 2017-01-23 11:27:01 -08:00
Andrew Watkins 512a854a4d Remove state change only checkbox from HipChat 2017-01-23 11:26:50 -08:00
Tim Raymond 37ce031071 Fix missing fields from non-default RP
When attempting to extract fields from a non-default retention policy in
the Data Explorer, fields would not appear. This was because the query
was sent without an explicit RP, which would use the default RP instead.
This adds an explicit RP to the SHOW FIELDS query.
2017-01-23 09:54:56 -05:00