Commit Graph

4758 Commits (7db369d826782b1a355701355577aaa512b9f031)

Author SHA1 Message Date
Chris Goller ccadd3307f Remove docker builds from circle for the moment 2016-09-16 12:53:13 -05:00
Chris Goller 9f0969751f Add simple static asset packaging.
Closes #5
2016-09-16 12:21:29 -05:00
Tim Raymond 536fa7de8f Update influx package to support MonitoredServices
The Timeseries interface was updated to include MonitoredServices as
part of its spec. This adds a stub implementation of that.
2016-09-16 12:11:28 -04:00
Tim Raymond baf41951ea Merge branch 'develop' into feature/#42-influx-client 2016-09-16 09:51:58 -04:00
Chris Goller b575628553 Merge pull request #51 from influxdata/feature/monitored-hosts
Add API for monitored services.
2016-09-15 18:41:40 -05:00
Chris Goller af3e09180d Merge pull request #55 from influxdata/feature/circle-tests
Add Makefile and update circle to run golang tests
2016-09-15 18:41:28 -05:00
Chris Goller 5706af62a1 Update circle to force using gdm from within .go_workspace 2016-09-15 18:28:42 -05:00
Chris Goller f9a5dc75a8 Add Makefile to coordinate builds 2016-09-15 16:01:51 -05:00
Chris Goller 87e8bc0fec Add go testing to circle 2016-09-15 15:00:56 -05:00
Tim Raymond d3da914994 Add timeout error for influx
This adds a type to be returned when requests to InfluxDB were cancelled
or timed out.
2016-09-15 15:08:25 -04:00
Tim Raymond a8291c602c Add coverage for bad hostnames and cancellation
The case where users passed bad hostnames to create new influx clients
was untested as well as the cancellation logic.
2016-09-15 14:01:53 -04:00
Tim Raymond e7562c298f Supprt for cancelling in-flight influx requests
If a request upstream is cancelled, we can propagate the cancellation
down to our queries to Influx using context's cancellation
functionality. This patch adds support for this.
2016-09-15 13:42:56 -04:00
Chris Goller 26d721290c Add API for monitored services.
Closes #49

The /sources/{id}/monitored endpoint will return an array of Services
describing services this data source has monitoring data for.

The response has a `TagKey` and `TagValue` that can be used to specifically
query for the service.
2016-09-15 11:28:51 -05:00
Will Piers f85c5e3435 Merge pull request #35 from influxdata/create-react-app
Use create-react-app
2016-09-15 09:24:16 -07:00
Will Piers 66981ea5ce Amend Docker setup to work with create react app 2016-09-14 15:42:36 -07:00
Will Piers 848b324796 Merge develop 2016-09-14 14:33:32 -07:00
Tim Raymond 2841364ec4 Add influx client
This adds a simple HTTP influx client to fetch time series results. It
implements the TimeSeries interface. Also included is an implementation
of the mrfusion.Results interface that wraps results returned from the
influx client.

We only support HTTP connections (there's also a UDP influx client). We
also require that all Queries to Influx be fully-qualified--they should
include the database and retention policies in the query.

This also makes Resuls a json.Marshaler. In order to hand results back
to clients, we need to guarantee that those results can be serialized to
json in some form. json.Marshaller is just such a guarantee!
2016-09-14 13:46:43 -04:00
Chris Goller 1eb09cc45e Merge pull request #41 from influxdata/feature/mock
Simple Mock implementation of Proxy and Explorations
2016-09-13 15:52:21 -05:00
Chris Goller 52331feb63 Move mock handlers to mock and implement proxy.
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-12 18:32:44 -05:00
Chris Goller dea52dc90e Add mock handler for explorations
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-12 18:32:44 -05:00
Chris Goller 538e317582 Update swagger autogen because typo in user/users
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-12 18:32:44 -05:00
Chris Goller 79948edadf Add mock implementation of timeseries and explorerererererer
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-12 18:32:44 -05:00
Chris Goller 40ed2c2cde Merge pull request #39 from influxdata/feature/types
Add interfaces to backend data and logic.
2016-09-12 18:32:17 -05:00
Chris Goller 6ff6bdf4a7 Add interfaces to backend data and logic. 2016-09-12 14:43:37 -05:00
Chris Goller 8e2c952d17 Merge pull request #36 from influxdata/feature/tr-autogen-server
Auto-generate backend with stubbed ops
2016-09-12 14:42:16 -05:00
Tim Raymond 1f9bbc47e9 Add a Godeps file
This initializes `gdm` for tracking our application dependencies. This
was generated using verison 1.4 of `gdm` which can be fetched from
`github.com/sparcc/gdm`.
2016-09-12 15:30:54 -04:00
Tim Raymond 912acdd1e6 Auto-generate backend with stubbed ops
This was generated using go-swagger's `swagger` command. The specific
command used was:

`swagger generate server -f swagger.yaml  --with-context`

Fixes #6
2016-09-12 15:12:30 -04:00
Chris Goller c0a3abe620 Merge pull request #1 from feature/design-draft
* feature/design-draft:
  Update swagger definition to use Explorations instead of Explorers
  Update design doc
  Use the chronograf name instead of enterprise
  Update swagger definition based on group discussion.
  Update design to reflect discussions.
  Update query response definition to simplify links.
  Reword swagger definition description of dashboard PUT
  Update swagger definition so users will have roles and ACLs are now Permissions.
  Update swagger definition to fix /dashboards/{id} response object typo.
  Update swagger definition to rename layout to dashboard.
  Fix invalid swagger definitions
  Update swagger interface to reflect our discussions.
  Spelling
  Update query proxy section
  Update design document organization; Add more specifics about releases and queries.
  Add a possible sequence flow for queries
  Add initial draft (sketch) of design
2016-09-12 14:08:02 -05:00
Chris Goller bc80480d69 Update swagger definition to use Explorations instead of Explorers 2016-09-12 14:02:05 -05:00
Chris Goller 8820899a3d Update design doc 2016-09-12 14:02:05 -05:00
Chris Goller 0ee1a125a0 Use the chronograf name instead of enterprise 2016-09-12 14:02:05 -05:00
Chris Goller 22134acfff Update swagger definition based on group discussion. 2016-09-12 14:02:05 -05:00
Chris Goller d9a3a957a9 Update design to reflect discussions. 2016-09-12 14:02:05 -05:00
Chris Goller c35bed3cff Update query response definition to simplify links. 2016-09-12 14:02:05 -05:00
Chris Goller 670d4dd17b Reword swagger definition description of dashboard PUT 2016-09-12 14:02:05 -05:00
Chris Goller 81c90208ba Update swagger definition so users will have roles and ACLs are now Permissions. 2016-09-12 14:02:05 -05:00
Chris Goller ee7dc04e44 Update swagger definition to fix /dashboards/{id} response object typo. 2016-09-12 14:02:05 -05:00
Chris Goller dc7eab7f17 Update swagger definition to rename layout to dashboard. 2016-09-12 14:02:05 -05:00
Chris Goller 36c0fb674c Fix invalid swagger definitions 2016-09-12 14:02:05 -05:00
Chris Goller 0899c297a6 Update swagger interface to reflect our discussions. 2016-09-12 14:02:05 -05:00
gunnaraasen 009f865603 Spelling 2016-09-12 14:02:05 -05:00
gunnaraasen ed38a53077 Update query proxy section 2016-09-12 14:02:05 -05:00
Chris Goller 97e524b798 Update design document organization; Add more specifics about releases and queries. 2016-09-12 14:02:05 -05:00
Chris Goller 1d2c6e352d Add a possible sequence flow for queries 2016-09-12 14:02:05 -05:00
Chris Goller b3152a7ca7 Add initial draft (sketch) of design
Signed-off-by: Gunnar Aasen <gunnar+github@gunnar.me>
2016-09-12 14:02:05 -05:00
gunnaraasen 9377074be5 Tag image on circle before pushing to heroku 2016-09-11 17:29:57 -07:00
Andrew Watkins 48c48d075a Specify registry domain 2016-09-09 17:58:21 -07:00
Andrew Watkins a4c4f6ad92 Merge pull request #34 from influxdata/feature/acceptance-server
Run on Heroku
2016-09-09 17:48:09 -07:00
Andrew Watkins 9864eb64cf Add an autodeploy to circle 2016-09-09 17:45:06 -07:00
Andrew Watkins a4b5ce1b96 Add heroku instructions to README 2016-09-09 17:11:18 -07:00