Chris Goller
1db3b1a005
Update naming of pre-canned layouts.
...
Layouts now are served from only a directory and are named
MEAUREMENT_UUID.json.
2016-10-11 13:12:19 -05:00
Chris Goller
c2fa11c28c
Update layouts to use ID generation.
2016-10-10 21:00:49 -05:00
Chris Goller
9110d92591
Merge pull request #209 from influxdata/feature/layouts
...
Feature/layouts
2016-10-10 20:38:44 -05:00
Chris Goller
fd42c8490a
Hotfix for double slash redirect
2016-10-10 15:44:53 -05:00
Chris Goller
dbc6d83606
Fix production go-bindata assets to redirect correctly at / as compared to all other paths.
2016-10-10 15:14:33 -05:00
Chris Goller
f61a4885b2
Add layouts endpoint and storage
2016-10-05 23:43:13 -05:00
Chris Goller
408f520bbb
Update kapacitor endpoint to be scoped to sources
2016-10-04 12:49:12 -05:00
Chris Goller
e5e427f951
Fix kapacitor proxying
2016-10-04 12:49:12 -05:00
Chris Goller
f8fe71c5b9
Add kapacitors endpoint (persist/proxy/rest)
2016-10-04 12:48:36 -05:00
Tim Raymond
8d7a44ed81
Replace additional API log lines
...
There were a few other places where log.Printfs sneaked in, so this
replaces those with the logrus-powered logger.
2016-10-03 12:30:43 -04:00
Tim Raymond
62a3ae9197
Add logrus for structured logging
...
This adds the logrus package to facilitate structured logging. Logrus is
encapsulated in the log/ subpackage and currently used in the influx/
subpackage.
2016-10-03 12:30:43 -04:00
Chris Goller
583d8b4f74
Add persistence to sources and use bolt by default
2016-09-30 15:39:27 -05:00
Chris Goller
283833afb1
Add interface and mock for sources
2016-09-29 17:09:22 -05:00
Gunnar Aasen
d927377752
Hook up handlers for the bolt exploration store
...
Signed-off-by: Chris Goller <chris@influxdb.com>
2016-09-29 16:15:35 -04:00
Chris Goller
2e71909973
Add mock explorations handlers to server.
2016-09-26 18:44:45 -05:00
Chris Goller
81c95f6b0d
Update Source to have a username and password in spec
2016-09-23 14:42:54 -07:00
Andrew Watkins
08772df20f
Include env variable for influx server
...
Signed-off-by: Chris Goller <goller@gmail.com>
2016-09-22 14:20:40 -07:00
Chris Goller
113fa01323
Add simple influx backend through cli option.
2016-09-21 15:03:07 -07:00
Chris Goller
73d326d61d
Add default content to always go to index.html.
...
Add mock sources
Add links to sources
2016-09-19 19:08:32 -07:00
Chris Goller
8d43a26b9a
Update autogenerated index.html to work from /
...
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 14:16:33 -07:00
Chris Goller
0f715ddae7
Fix bug where handlers were not serving.
2016-09-19 13:45:05 -07:00
Chris Goller
2304ee76a2
Fix asset serving for development mode
...
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00
Chris Goller
4035130b80
Update build system for javascript/go asset packaging
2016-09-19 13:45:05 -07:00
Chris Goller
b9b0d4db08
Update bindata to be in dist. Use dev and debug for now
2016-09-19 13:45:05 -07:00
Chris Goller
e24a16fa9f
Update static assets to use ui/build
2016-09-16 13:47:58 -05:00
Chris Goller
9f0969751f
Add simple static asset packaging.
...
Closes #5
2016-09-16 12:21:29 -05: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
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
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