Jade McGough
e58a846f7b
updateRP
2017-03-23 06:13:41 -07:00
Jade McGough
2a990e2b3e
clean up some dashboards code
2017-03-23 05:49:33 -07:00
Jade McGough
c547ca5ebc
add missing patch responses swagger
2017-03-23 05:16:49 -07:00
Jade McGough
ba8609d7b6
go format
2017-03-23 04:56:36 -07:00
Jade McGough
b40a90b9d1
dropRP
2017-03-23 04:51:08 -07:00
Jade McGough
b378dd7c27
createRP
2017-03-23 04:27:53 -07:00
Jade McGough
2438090e70
get retention policies
2017-03-23 03:06:59 -07:00
Jade McGough
766ee9b517
drop db API
2017-03-23 01:04:35 -07:00
Jade McGough
c21a378629
db creation seems to be working
2017-03-22 23:21:21 -07:00
Jade McGough
523a0788f7
WIP
2017-03-22 22:21:25 -07:00
Jade McGough
15b2744a5c
write db info to dbresponse
2017-03-22 13:46:30 -07:00
Jade McGough
6a4c4122bb
it's working!
2017-03-22 13:27:36 -07:00
Jade McGough
19729da202
cleanup
2017-03-22 11:29:38 -07:00
Jade McGough
cea9d9a8dc
uuuugh
2017-03-22 04:01:55 -07:00
Jade McGough
056abde56d
WIP
2017-03-22 01:40:30 -07:00
Jade McGough
36ffe0c436
dbs GET returns list of databases
2017-03-21 12:59:27 -07:00
Jade McGough
e1ccda806c
WIP db endpoint
2017-03-20 15:26:48 -07:00
Jade McGough
b443d857ca
add db and rp routes to mux.go
2017-03-20 14:23:29 -07:00
Jade McGough
4ac8d72902
link to retention policies in db response
2017-03-20 11:58:09 -07:00
Jade McGough
626b313d98
add links to retentionpolicy swagger
2017-03-20 11:52:49 -07:00
Jade McGough
5859beb603
add links to database swagger object
2017-03-20 11:48:25 -07:00
Chris Goller
02c85cd2a0
Fix reporting stats to update uptime
2017-03-17 09:59:52 -05:00
Jade McGough
b9e101c831
add example for retention policy
2017-03-14 16:53:41 -07:00
Jade McGough
310f7dc7c5
fix swagger errors, add tags
2017-03-14 16:44:44 -07:00
Jade McGough
141c93bc5f
db rp server endpoint objects
2017-03-14 16:05:13 -07:00
Jade McGough
460f23c0c0
first whack at db rp server endpoints
2017-03-14 15:31:57 -07:00
Jade McGough
be2860af7d
db rp documentation WIP
2017-03-14 14:01:28 -07:00
Andrew Watkins
81f5ca9ebb
Make name not required
2017-03-13 15:15:01 -07:00
Chris Goller
01588e0e08
Add ping and detection of influxdb source types
2017-03-13 16:45:05 -05:00
Chris Goller
a12fb32a2e
Update user's roles validation
2017-03-10 18:06:06 -06:00
Chris Goller
9bd8a95e2a
Update roles to check if role already exists
2017-03-10 17:24:52 -06:00
Chris Goller
2652a3aeb0
Add ability to update roles on a user resource
2017-03-10 16:52:24 -06:00
Chris Goller
d5addb2038
Fix updating of OSS user permissions
2017-03-10 14:53:30 -06:00
Chris Goller
44aa0526ed
Update user/role responses to return empty arrays
2017-03-10 13:24:48 -06:00
Chris Goller
b60901e766
Add structured logging to underlying http server
2017-03-06 15:16:45 -06:00
Chris Goller
8dc012aeac
Update to fix go linter issues
2017-03-06 10:11:52 -06:00
Chris Goller
33cdb383c8
Update swagger documentation for roles and users examples
2017-03-01 19:39:03 -06:00
Chris Goller
8d014e9b94
Update InfluxEnterprise users to return their roles
2017-03-01 19:13:44 -06:00
Chris Goller
27b50fde22
Update schema for /permissions endpoint to have scopes
2017-02-27 13:31:38 -06:00
Chris Goller
5dcc5213db
Update source timeseries client to change if meta server is set
2017-02-24 14:48:42 -06:00
Chris Goller
bbd899cecb
Merge branch 'master' into feature/#54-tr-enterprise-client
...
Conflicts:
bolt/internal/internal.pb.go
2017-02-24 13:02:32 -06:00
Chris Goller
275116711f
Merge branch 'master' into feature/connection-info#825
...
Conflicts:
CHANGELOG.md
2017-02-24 11:29:43 -06:00
Chris Goller
1839cb9885
Fix enterprise create user to add permissions
2017-02-24 01:16:28 -06:00
Chris Goller
d279778f4a
Enhance server logging for connection errors
2017-02-24 00:34:50 -06:00
Chris Goller
46b1a08aa5
Merge branch 'master' into feature/#54-tr-enterprise-client
...
Conflicts:
Makefile
chronograf.go
server/routes.go
server/users.go
2017-02-23 23:26:09 -06:00
Chris Goller
a4a5b53bf5
Add roles endpoint and switching between OSS and enterprise
2017-02-23 21:54:20 -06:00
Chris Goller
2ee0008f42
Merge pull request #922 from influxdata/feature/oauth-google
...
Support Multiple OAuth2 Providers - Add Heroku and Google
2017-02-23 17:34:01 -06:00
Tim Raymond
38c9abc1c9
Merge branch 'master' into feature/oauth-google
...
Conflicts:
server/dashboards.go
server/server.go
ui/.eslintrc
ui/src/index.js
2017-02-23 18:13:39 -05:00
Jared Scheib
1a99240fd5
Merge 'master' into 751-stack_graph, resolve conflicts
2017-02-23 14:33:07 -08:00
Tim Raymond
d4788c5f83
Move OAuth configuration into server/server.go
...
This uses a provide() function in server/server.go, to push the
necessary oauth2.Provider and oauth2.Mux into the scope of the
server.Mux. This allows the server.Mux to configure its routes without
caring which Providers are enabled, which switches/ENVs are set etc. It
configures its routes optimistically and leaves the higher-order logic
to decide whether to actually invoke the logic used by the mux to
configure routes for that provider.
2017-02-23 17:17:28 -05:00
Jared Scheib
10771838ea
Add stacked and stepplot graph display options as new types to canned Docker graphs and swagger def
2017-02-23 14:08:45 -08:00
Chris Goller
5aa6a4ef2b
Add roles to chronograf
2017-02-23 16:02:53 -06:00
Chris Goller
5e99657bb7
Add examples for most swagger JSON schemas
2017-02-22 12:52:55 -06:00
Chris Goller
cbbee60ad6
Update swagger to include users and permissions endpoints
2017-02-22 11:35:19 -06:00
Chris Goller
cc11f8831f
Add dashboards PATCH for incremental update of name or cells
2017-02-22 11:08:50 -06:00
Chris Goller
e1c7cd1878
Update dashboards to have a minimum width/height of 4
2017-02-22 11:05:20 -06:00
Chris Goller
72dbae043f
Add tests to sources/users endpoints
2017-02-21 23:54:24 -06:00
Chris Goller
1fcdee485f
Add tests for /me endpoint
2017-02-21 21:36:23 -06:00
Chris Goller
292c1b5b1e
Update comments for go vet
2017-02-21 21:35:24 -06:00
Tim Raymond
3af13aa490
Add organization restriction on Heroku provider
...
This allows operators to permit access to Chronograf only to users belonging
to a set of specific Heroku organizations. This is controlled using the
HEROKU_ORGS env or the --heroku-organizations switch.
2017-02-21 13:09:42 -05:00
Chris Goller
d1c71a1afe
Fix server tests with additional links
2017-02-19 14:37:45 -06:00
Chris Goller
c29b9fc3cb
Add permissions endpoint to get all possible permission strings
2017-02-19 14:00:34 -06:00
Chris Goller
3eb7da2f1a
Refactor Influx OSS users
2017-02-19 00:54:52 -06:00
Chris Goller
31c42c6969
Add routes for users
2017-02-17 20:47:23 -06:00
Chris Goller
8ccda8b64d
Add permissions to users
2017-02-17 16:03:49 -06:00
Chris Goller
7653dfdfec
Add get of all users for a data source
2017-02-17 15:13:51 -06:00
Chris Goller
cdd4575b98
Add GET/POST handlers for source users
2017-02-17 14:33:10 -06:00
Chris Goller
67746b86c5
Refactor proxy into influx
2017-02-17 14:02:02 -06:00
Chris Goller
26b10dabd7
Update users to be go 1.7 compatible
2017-02-17 13:52:21 -06:00
Chris Goller
9b24351732
Refactor users and add client usersstore
2017-02-17 13:37:00 -06:00
Tim Raymond
d17507a8cd
Rename JWTMux to CookieMux
...
JWTMux was a disingenuous name because while JWTs are a very good choice
for a cookie encoding, they were not strictly required for use with this
mux. To better indicate the responsibilities of this mux, it's been
renamed "CookieMux," since its responsibilities end with persisting the
oauth2.Authenticator's encoded state in the browser. It is up to the
oauth2.Authenticator to choose the encoding.
2017-02-17 12:57:08 -05:00
Tim Raymond
0ebe675f6e
Configure Mux to use Heroku OAuth2 provider
...
If a --token-secret, --heroku-client-id, and --heroku-secret are
provided to Chronograf, it will add Heroku as an OAuth2 provider. These
tokens can be obtained (as of this writing) by visiting your "manage
account" page, navigating to "Applications," and then clicking "Register
New API Client" under the "API Clients" section.
2017-02-16 12:56:59 -05:00
Chris Goller
2017944b68
Add unified OAuth2 logout route redirecting to provider logout
...
Signed-off-by: Tim Raymond <tim@timraymond.com>
2017-02-15 16:29:13 -06:00
Chris Goller
7e28642e8c
Add routes for oauth providers
2017-02-15 14:07:33 -06:00
Hunter Trujillo
6d601d527f
Add frontend support for OAuth changes.
2017-02-15 11:57:52 -07:00
Chris Goller
7b4a649130
Add --public-url CLI option to support google oauth redirect uri
2017-02-14 23:34:15 -06:00
Chris Goller
b9b37f3b90
Add google oauth provider. Need redirect_uri
2017-02-14 23:11:11 -06:00
Chris Goller
3eb39d85a8
Remove unneeded authenticator from github
2017-02-14 23:09:34 -06:00
Tim Raymond
d07c7ca1d6
Reorganize OAuth2 Logic
...
Created an oauth2 package which encapsulates all oauth2 providers,
utility functions, types, and interfaces. Previously some methods of the
Github provider were used as http.HandlerFuncs. These have now been
pulled into a concrete type called a JWTMux to implement other Oauth2
providers.
JWTMux has all of the functionality required to take a token from any
provider and store it as a JWT in a browser, and that is the extent of
its responsibilities. It implements the oauth2.Mux interface which would
potentially allow other strategies of oauth2 credential storage.
2017-02-14 16:18:41 -05:00
Chris Goller
f1e7ae30c3
WIP
2017-02-13 18:02:43 -06:00
Chris Goller
eb173a879c
WIP
2017-02-13 08:45:37 -06:00
Chris Goller
442b892bc3
Fix go vet commiting of NewListener
2017-02-12 21:48:12 -06:00
Chris Goller
44c40d4c7b
Add TLS w/ env vars TLS_CERTIFICATE/TLS_PRIVATE_KEY
2017-02-12 21:33:27 -06:00
Chris Goller
7c81fca497
Add HSTS handler to add headers for upcoming TLS support
2017-02-12 18:21:49 -06:00
Chris Goller
0b7e3b8fe1
Update chronograf sources response
2017-02-12 16:38:05 -06:00
Chris Goller
c125c48efc
Fix swagger JSON formatting
2017-02-10 13:57:12 -06:00
Chris Goller
1d9bb70414
Add disable and enable to kapacitor alerts
2017-02-10 13:48:42 -06:00
Chris Goller
13d7b8ff90
Merge pull request #859 from influxdata/feature/server-gzip
...
Add gzip compression to all of our server responses and caching for assets
2017-02-10 10:27:21 -06:00
Jade McGough
8cc684588e
add metaURL to source
2017-02-09 23:14:04 -06:00
Jade McGough
4074698814
add metaUrl to swagger
2017-02-09 23:11:51 -06:00
Chris Goller
f37bed5403
Fix url_prefixer to write asset headers
2017-02-09 17:13:34 -06:00
Chris Goller
0b8c334c9d
Add gzip compression to all of our server respones
2017-02-09 14:35:38 -06:00
Chris Goller
1402a4916d
Update swagger spec to include alertNodes for kapacitor
2017-02-09 00:50:59 -06:00
Chris Goller
aa4b6fb689
Add kapacitor alert node structs
2017-02-08 22:18:23 -06:00
Chris Goller
7deaf845a7
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
Chris Goller
98198dbf5b
Update kapacitor alert rule to have detail field
2017-02-07 17:09:14 -06:00
Chris Goller
2e4172ae7e
Add temporary /chronograf/v1/query endpoint to parse InfluxQL
2017-02-06 09:40:05 -06:00
Chris Goller
1522dc6e4e
Remove explorations from backend server
2017-02-01 15:09:02 -06:00
Chris Goller
cfc3bf357f
Add BASE_PATH env var to -basepath cli option
2017-01-28 10:47:30 -06:00
Chris Goller
456b02a7b3
Update dashboard swagger definition to use LayoutQuery instead of a string
2017-01-27 19:08:40 -06:00
Tim Raymond
ee8b9345e9
Fix typo
...
Spelling is hard.
2017-01-27 19:31:57 -05:00
Tim Raymond
594c1fc587
Merge branch 'master' into feature/tr-host-under-path
...
Conflicts:
- CHANGELOG.md
2017-01-27 19:30:43 -05:00
Tim Raymond
3752affedf
Remove extraneous lines
...
One of these was from experimental work during working on this feature.
The other is just... well, extra.
2017-01-27 19:27:59 -05:00
Tim Raymond
31621b460d
Make URLPrefixer use the chronograf.Logger
...
We have a unified structured logging package in Chronograf, and this
should use it.
2017-01-27 19:24:51 -05:00
Tim Raymond
a0ba920046
Move Basepath prop to better match style
...
Since this is a flag that is being accepted by the application, it makes
sense to group it with the other flags. Also, the `json` struct tag was
a remnant from an earlier attempt at implementing this feature, and is
no longer necessary.
2017-01-27 19:15:56 -05:00
Tim Raymond
e3186479cd
Move URLPrefixer setup to mux, add default
...
URLPrefixer had nothing to do with assets, so it actually belongs up in
the mux, where we're assembling handlers together across the
application.
Also, the setup was painful to look at, and others will probably use the
same `Attrs`, so a `NewDefaultURLPrefixer` was added to spawn a prefixer
with only a prefix and a next handler.
2017-01-27 19:14:21 -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
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
cf243794af
Improve docs on URL Prefixer
...
These were a little too brief. Hopefully these make it clearer to others
2017-01-27 17:00:08 -05:00
Tim Raymond
e6a4635266
Make basepath configureable
...
/chronograf was hard-coded for developing this feature. This adds a
--basepath flag that lets users configure what the basepath will
actually be
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
Tim Raymond
33256914b3
Add URL Prefixer
...
In order to support hosting chronograf under an arbitrary path[1], we
need to be able to rewrite all the URLs that are served in HTML and CSS.
Take, for example, the scenario where Chronograf is to be hosted under
`/chronograf` using Caddy and this example Caddyfile:
```
localhost:2020
gzip
proxy /chronograf localhost:8888 {
without /chronograf
}
```
Chronograf will not load properly when visiting
`http://localhost:2020/chronograf ` because the requests for CSS, and
fonts will go to `http://localhost:2020/app-somegianthash.js ` when they
should go to `http://localhost:2020/chronograf/app-somegianthash.js `.
This is the essence of issue #721 .
To solve this, we add a URLPrefixer http.Handler, that acts as a
middleware. It inserts itself between any upstream handlers, and the
handler that was passed to it as its `Next` parameter and searches for
`src="` attributes. Upon discovering one of these attributes, it writes
the detected attribute and then the configured prefix. It then continues
writing the stream to the upstream http.ResponseWriter until
encountering another attribute until EOF.
2017-01-27 17:00:08 -05:00
Jade McGough
154f6f312c
fix dashboards routes
2017-01-27 04:59:13 -08:00
Jade McGough
fdb6de3503
fix bugs
2017-01-27 04:51:31 -08:00
gunnaraasen
58a2a82d52
Add X-Chronograf-Version header
2017-01-23 23:29:12 -08:00
Chris Goller
a8729df725
Fix kapacitor auth with basic auth in header
...
Proxying the basic auth via URL path was not working, so, this
places it directly into the header.
2017-01-10 18:51:25 -06:00
Chris Goller
a8252b5cda
Merge pull request #738 from influxdata/feature/go-orphan-kapacitor
...
Update source remove to also remove kapacitor and rules resources
2017-01-09 15:49:05 -06:00
Chris Goller
3dc578aa59
Merge pull request #733 from influxdata/feature/go-oauth-gh-orgs
...
Add Github organization restriction to authentication
2017-01-06 13:27:25 -06:00
Hunter Trujillo
10a0ea1c14
Clarifying operator values.
2017-01-06 10:45:54 -07:00
Chris Goller
bc3a0e1b3d
Add Github organization restriction to authentication
2017-01-06 11:39:20 -06:00
Chris Goller
c852618342
Merge pull request #728 from influxdata/feature/go-insecure-tls
...
Add insecureSkipVerify option to source to accept all influxdb certs
2017-01-05 16:08:58 -06:00
Chris Goller
18b7dd1932
Fix formatting of swagger.json
2017-01-05 15:59:46 -06:00
Chris Goller
291bab7f16
Update removal of sources to include removing kapacitor and rules resources
2017-01-05 14:47:44 -06:00
Chris Goller
bf415e5eea
Update kapacitor alert rules to accept inside and outside range
2017-01-04 22:20:12 -06:00
Chris Goller
439a4d32e8
Add insecureSkipVerify option to source to accept all influxdb certs
...
The insecureSkipVerify defaults to false, but when true, instructs
the server to accept any certificate coming from the InfluxDB server.
2017-01-04 19:35:07 -06:00
Mark Rushakoff
84d28e3aad
Miscellaneous lint cleanup
2016-12-20 12:59:56 -08:00
Chris Goller
ad2374fbb7
Merge pull request #700 from influxdata/jz-add-uptime
...
Add server uptime reporting
2016-12-19 16:10:14 -06:00
Jack Zampolin
9994097ebc
Address PR comments
2016-12-19 13:29:33 -08:00
Jack Zampolin
3ab2c13364
Add server uptime reporting
2016-12-19 12:09:59 -08:00
Jade McGough
1be3eef2e2
Merge pull request #691 from influxdata/feature/dashboards
...
Feature/dashboards
2016-12-15 13:54:23 -08:00
Jade McGough
32f1097a7d
fix json decoding
2016-12-15 13:53:43 -08:00
Jade McGough
ffe9943212
clean up pointer usage
2016-12-15 13:37:11 -08:00
Jade McGough
7d275b9551
add dashboard validation
2016-12-15 13:22:32 -08:00
Jade McGough
00f66e7593
fix bugs
2016-12-15 11:27:06 -08:00
Jade McGough
d3e77fd253
wording
2016-12-15 00:41:42 -08:00
Jade McGough
eda132df08
add update function for dashboards api
2016-12-15 00:31:53 -08:00
Jade McGough
52e845844f
formatting
2016-12-14 12:55:21 -08:00
Jade McGough
e8d1094be9
add dashboard creation to API
2016-12-14 12:54:58 -08:00
Jade McGough
8bc8ba151e
formatting
2016-12-14 12:12:20 -08:00
Jade McGough
7986ecce3f
add dashboard GET and DELETE handlers
2016-12-14 09:37:47 -08:00
Jade McGough
8f939f8fbf
omg it compiled
2016-12-13 23:56:26 -08:00
Jade McGough
ccf93b4781
fix errors
2016-12-13 22:57:52 -08:00
Jade McGough
4cd1037ce0
update internal.pb.go
2016-12-13 03:07:24 -08:00
Jade McGough
70e64b6baf
WIP
2016-12-08 19:28:40 -08:00
Chris Goller
34b79fd0eb
Fix Content-Type of the index.html page to be text/html
2016-12-08 21:03:11 -06:00
Chris Goller
a073f26078
Merge pull request #673 from influxdata/remove_endpoint
...
removing unimplemented endpoint from swagger
2016-12-08 17:23:38 -06:00
Jade McGough
7393e4b321
removing unimplemented endpoint from swagger
2016-12-08 15:12:39 -08:00
Jade McGough
7599369eed
add dashboards interface/structs
2016-12-07 16:31:22 -08:00
Jade McGough
9a2e49b4d2
add routes and stubs for dashboard API endpoints
2016-12-07 15:18:04 -08:00
Jade McGough
fa8edf94c5
add swagger documentation for dashboard routes
2016-12-07 15:17:42 -08:00
Jade McGough
37f7ba5c68
shorten TCPKeepAlive length
2016-12-07 15:17:27 -08:00
Chris Goller
a6cb4a1935
Update teapot to be informational
2016-12-07 13:28:58 -06:00
Jade McGough
ec52b8a813
update swagger
2016-12-05 22:07:11 -08:00
Chris Goller
66ac6af136
Update layout ylabel and yrange to be properties of the query.
2016-11-30 14:13:15 -08:00
Chris Goller
28bccfdcb2
Add ylabels and yranges to layouts
2016-11-30 14:04:32 -08:00
Will Piers
bc9ee7eeea
Rebase and add error logging for users endpoint
2016-11-21 14:24:01 -07:00
Will Piers
f3cdf81ab5
Return 418 when auth is turned off
2016-11-21 14:20:33 -07:00
Will Piers
d3da8998e8
Add users endpoints/storage plus me endpoint
2016-11-21 14:19:57 -07:00
Chris Goller
b63047a402
Add server error logging
2016-11-19 11:41:06 -06:00
Chris Goller
f002fd774a
Update swagger to remove rp/db for layouts
2016-11-18 16:07:53 -06:00
Chris Goller
88d60c9807
Fix tab spacing in protobuf and swagger
2016-11-18 16:07:53 -06:00
Chris Goller
923a9d3c31
Update sources endpoint to take optional telegraf database name.
2016-11-18 16:07:53 -06:00
gunnaraasen
97a3e0e939
Update reporting tag to use chronograf-ng
2016-11-16 15:25:12 -08:00
Chris Goller
6a167f2a05
Fix layouts to enforce uniqueness
2016-11-14 22:25:38 -06:00
Chris Goller
bfb5fcbe02
Revert bin layouts for now
2016-11-14 22:17:09 -06:00
Chris Goller
b6a0d7c5cc
Add layouts as bindata in case chronograf run as a single-file binary
...
Using my existing layout chaining, I added layouts wrapped in
go-bindata as the last option for loading layouts. This means
that the data store is preferred over file system over bindata.
With this functionality, we can simply distribute the single-file
binary.
2016-11-14 19:07:38 -06:00
Chris Goller
07ffedc058
Fix logger panic and put logging of queries into debug
2016-11-12 17:48:49 -06:00
Chris Goller
eb604317c7
Fix several handlers that were not returning after error
2016-11-11 12:52:34 -06:00
Chris Goller
2764db6cb1
Merge pull request #452 from influxdata/fix-kapacitor-update
...
Fix #442 ; update tickscript to be disabled during script update followed by enable
2016-11-10 13:13:03 -06:00
Chris Goller
c48bfe21b9
Fix #442 ; update tickscript to be disabled during script update followed by enable
2016-11-10 12:56:34 -06:00
Chris Goller
312254667b
Merge pull request #451 from influxdata/feature/ga-remove-pw-todos
...
Remove password in cleartext TODOs
2016-11-10 12:26:53 -06:00
gunnaraasen
950159ea47
Remove password in cleartext TODOs
2016-11-10 10:09:14 -08:00
Chris Goller
ff3d319866
Update tickscript generation to use group by time as period.
...
Add httpOut node
Remove spurious variables
2016-11-10 11:35:26 -06:00
gunnaraasen
8d57cc92ec
Add version option
2016-11-09 13:25:07 -08:00
Ross McDonald
483c999200
Minor changes to packaging:
...
* Change default host from localhost to 0.0.0.0.
* Modify default database name to `chronograf-v1.db`.
* Change default port from 10000 to 8888.
2016-11-08 08:34:03 -06:00
Chris Goller
93b249cc09
Update default cli options to be 0.0.0.0 and 8888
2016-11-07 20:50:06 -06:00
Chris Goller
3bdcb2c578
Merge pull request #387 from influxdata/remove-mrfusion
...
Remove mrfusion name from source
2016-11-07 11:33:23 -06:00
Chris Goller
16c14521df
Merge pull request #386 from influxdata/update-cli-options
...
Update cli options
2016-11-07 11:29:05 -06:00
Chris Goller
ee82586ded
Remove mrfusion name from source
2016-11-07 11:22:23 -06:00
Chris Goller
680f3ef68c
Update cli/env options to use port 10000 and remove TLS for now
2016-11-07 11:09:51 -06:00
Chris Goller
7096e2ee70
Update layouts to not use UUIDs in name and only use filesystem
2016-11-07 10:10:26 -06:00
Tim Raymond
cb37de2d76
Make /mappings use App Name instead of ID
...
Due to developer confusion over nomenclature, the ID was used in lieu of
the Application property of `Layout`. `layout.Application` holds the
user-facing name for a particular layout, and is what should be paired
with a measurement name in the `/mappings` endpoint.
Before
------
```
% curl http://localhost:8888/chronograf/v1/mappings
{
"mappings" : [
{
"name" : "18aed9a7-dc83-406e-a4dc-40d53049541a",
"measurement" : "disk"
}
]
}
```
After
-----
```
% curl http://localhost:8888/chronograf/v1/mappings
{
"mappings" : [
{
"measurement" : "disk",
"name" : "User Facing Application Name"
}
]
}
```
Connect #326
2016-11-04 14:04:50 -04:00
Chris Goller
0ab6b8073f
Update tasks to be called rules
2016-11-04 01:54:39 -05:00
Chris Goller
c3bb854803
Fix bolt scoping and minor kapacitor tickscript updates
2016-11-03 22:25:41 -05:00
Chris Goller
dd6da581df
Update to store alert information in boltdb
2016-11-03 19:52:13 -05:00
Chris Goller
fcbc84c929
Add ticker and id generator to creation of new kapa alert
2016-11-03 19:52:13 -05:00
Chris Goller
fe5700709d
Add tasks routes to swagger doc and run through linter.
2016-11-03 19:52:13 -05:00
Chris Goller
1ff551b03d
Add basic kapacitor task routes. Still need schema and storage
2016-11-03 19:52:13 -05:00
Chris Goller
b7437da989
Add kapacitor tickscript template generator for threshold, relative, deadman
2016-11-03 19:52:00 -05:00
nathan haugo
770bb0ef6e
Revert unwanted changes from commit to new_apps.sh
2016-11-03 11:13:40 -07:00
nathan haugo
a212660084
Add name and cell to new_app.sh
2016-11-03 11:03:26 -07:00
Chris Goller
9a64acc898
Merge pull request #313 from influxdata/feature/tr-wire-up-mappings
...
Wire up /mappings endpoint to layouts
2016-11-01 17:05:43 -05:00
Chris Goller
dea713465c
Fix kapacitor error message on POST with invalid data.
2016-11-01 16:45:31 -05:00
Tim Raymond
f4682c51d6
Wire up /mappings endpoint to layouts
...
This populates the /mappings with data found in the LayoutStore. It uses
the ID for the layout as the mappings Name and pulls the Measurement
from there as well.
2016-11-01 15:49:10 -04:00
gunnaraasen
39d21014dc
Add usage stats reporting
2016-10-28 14:34:55 -07:00
Chris Goller
d6a067427b
Fix mux paths to be hardcoded; clarify server start; fix golint
2016-10-28 11:27:06 -05:00
Chris Goller
d1359c09b3
Refactor to remove autogenerated code.
2016-10-26 22:10:52 -05:00