Commit Graph

804 Commits (5a1cfc25df3ed6471533ae99b88ebb7f3688fc33)

Author SHA1 Message Date
Andrew Watkins 5a1cfc25df Merge pull request #833 from influxdata/timeSeriesToDygraph-refactor
Time series to dygraph refactor
2017-02-06 12:08:37 -08:00
Jade McGough 802102edea Merge pull request #837 from influxdata/feature/615-change-dashboard
change dashboards via dropdown
2017-02-06 10:21:24 -08:00
Alex P 2bbdd3995a Make hosts dropdown menu less janky 2017-02-02 14:48:08 -08:00
Alex P efdcb9b22f Change z-index hack on react-grid-item so it no longer conflicts with dropdown menu 2017-02-02 14:47:43 -08:00
Jade McGough f1afb50c65 fix linting error 2017-02-01 11:29:52 -08:00
Jade McGough f0f06f887f simplify dashboard code 2017-02-01 10:05:26 -08:00
Alex P 7adbaf11fa Change CSS to fix usability issue from the community 2017-02-01 10:02:56 -08:00
Jade McGough d059cd2750 change dashboards via dropdown 2017-02-01 00:13:05 -08:00
Andrew Watkins 8fc5cbeb77 Add comment 2017-01-31 08:41:45 -08:00
Andrew Watkins a64f4c73fa Stop modifying columns in place 2017-01-31 08:41:35 -08:00
Andrew Watkins 71a7220020 Line up comment 2017-01-31 08:40:44 -08:00
Hunter Trujillo 87226b196c Bug fixes and performance improvements. 2017-01-30 15:47:39 -08:00
Hunter Trujillo cd4a683ca5 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 9f7721663b 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 9507f67b42 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 594c1fc587 Merge branch 'master' into feature/tr-host-under-path
Conflicts:
  - CHANGELOG.md
2017-01-27 19:30:43 -05:00
Jade McGough e85fed1ddd Merge pull request #808 from influxdata/feature/614-dashboard-view
Feature/614 dashboard view
2017-01-27 15:49:14 -08:00
Jade McGough 4d8e82a6fd remove host from dashboardpage 2017-01-27 15:31:06 -08:00
Nathan Haugo 36b1ddd684 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 fc57502480 Remove call to setState 2017-01-27 14:39:34 -08:00
Andrew Watkins aff31e2eee Change default altert option to smtp 2017-01-27 14:39:34 -08:00
Andrew Watkins 52dd1a87f2 Trim whitespace 2017-01-27 14:39:34 -08:00
Andrew Watkins a095b6085a Introduce opsgenie config 2017-01-27 14:37:50 -08:00
Hunter Trujillo 37970761a9 Fix linting. 2017-01-27 15:36:39 -07:00
Alex P 36fab8dadf Style radio buttons in config 2017-01-27 14:14:48 -08:00
Tim Raymond 609b7a1d1a 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 9d2e9111ef 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 6f7dcc7eb0 Merge pull request #803 from influxdata/kapacitor-defaults
Add default values for kapacitor config
2017-01-27 13:29:23 -08:00
Chris Goller 2254bcc442 Fix layout autoflow to handle multiple cells per layout 2017-01-27 13:15:50 -06:00
Jade McGough cb6d58d7ca cleanup 2017-01-27 05:41:03 -08:00
Jade McGough 6d07ddc533 cleanup 2017-01-27 05:32:59 -08:00
Jade McGough 7a37b4c9c4 get graphs to display 2017-01-27 05:24:26 -08:00
Jade McGough bc8ef6c91a don't show endless loading if there are no dashboards 2017-01-27 05:10:44 -08:00
Jade McGough db11ce66a0 dashboard graph rendering 2017-01-27 04:04:26 -08:00
Jade McGough 6cf85c98af remove dropdown menu for now 2017-01-27 00:54:28 -08:00
nathan haugo c8333acd2f Revert to f3cb3fb72b 2017-01-26 18:13:27 -08:00
Nathan Haugo 0c02deedd9 Revert "Revert "Bugfix/legend data order"" 2017-01-26 18:00:14 -08:00
Nathan Haugo 8067b32b17 Revert "Bugfix/legend data order" 2017-01-26 17:55:21 -08:00
Nathan Haugo 1da41c760a Merge pull request #799 from influxdata/bugfix/legend-data-order
Bugfix/legend data order
2017-01-26 17:54:19 -08:00
Nathan Haugo f3cb3fb72b Merge pull request #791 from influxdata/talk-config
Introduce Talk alert config
2017-01-26 17:52:15 -08:00
Andrew Watkins 857dd08468 Add default values for kapacitor config 2017-01-26 17:51:37 -08:00
Hunter Trujillo d166dcf730 Fix Telegram parse-mode support for HTML and Markdown. 2017-01-26 17:31:51 -07:00
Hunter Trujillo bfdba8de74 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 456ec00c95 add dashboard content, make request to API 2017-01-26 14:04:51 -08:00
Andrew Watkins 7bce138415 Cleanup 2017-01-26 11:21:56 -08:00
Andrew Watkins b8bb570ecc Cleanup comments 2017-01-26 11:09:04 -08:00
Andrew Watkins 5b200a315f Include support for tags 2017-01-26 11:07:34 -08:00
Hunter Trujillo c0182922ed Fix format sent to Kapacitor for Telegram. 2017-01-25 16:22:59 -07:00
Hunter Trujillo ccb94894e8 Guard against undefined series error. 2017-01-25 14:35:47 -07:00
Hunter Trujillo 81d214780e Cleanup. Passes linter. 2017-01-25 14:35:32 -07:00