Commit Graph

835 Commits (0204716709338f448d1d4c76b1dfaea00490ffb7)

Author SHA1 Message Date
Jade McGough 203088830c fix dashboards routes 2017-01-27 04:59:13 -08:00
Jade McGough 626ee4081e fix bugs 2017-01-27 04:51:31 -08:00
gunnaraasen 4bef66aff7 Add X-Chronograf-Version header 2017-01-23 23:29:12 -08:00
Chris Goller c287f9d244 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 587c87fd9d 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 ed4498b07e 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 935fc66cab Clarifying operator values. 2017-01-06 10:45:54 -07:00
Chris Goller 636ebedf22 Add Github organization restriction to authentication 2017-01-06 11:39:20 -06:00
Chris Goller 17f3992813 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 834f9919e5 Fix formatting of swagger.json 2017-01-05 15:59:46 -06:00
Chris Goller 2281f4cfa0 Update removal of sources to include removing kapacitor and rules resources 2017-01-05 14:47:44 -06:00
Chris Goller 6354dcb5c5 Update kapacitor alert rules to accept inside and outside range 2017-01-04 22:20:12 -06:00
Chris Goller 8e0376cec4 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 eda39410e7 Miscellaneous lint cleanup 2016-12-20 12:59:56 -08:00
Chris Goller ca377f87d2 Merge pull request #700 from influxdata/jz-add-uptime
Add server uptime reporting
2016-12-19 16:10:14 -06:00
Jack Zampolin 502887417f Address PR comments 2016-12-19 13:29:33 -08:00
Jack Zampolin ca2ce3ffb6 Add server uptime reporting 2016-12-19 12:09:59 -08:00
Jade McGough 9e71c7c8cb Merge pull request #691 from influxdata/feature/dashboards
Feature/dashboards
2016-12-15 13:54:23 -08:00
Jade McGough 59146d0637 fix json decoding 2016-12-15 13:53:43 -08:00
Jade McGough 7a8d0ba4a5 clean up pointer usage 2016-12-15 13:37:11 -08:00
Jade McGough 45c377e5a2 add dashboard validation 2016-12-15 13:22:32 -08:00
Jade McGough f42f7166f9 fix bugs 2016-12-15 11:27:06 -08:00
Jade McGough b8c7778327 wording 2016-12-15 00:41:42 -08:00
Jade McGough 17a9cc34b6 add update function for dashboards api 2016-12-15 00:31:53 -08:00
Jade McGough 03b0d0178d formatting 2016-12-14 12:55:21 -08:00
Jade McGough e7ebc9fd9e add dashboard creation to API 2016-12-14 12:54:58 -08:00
Jade McGough bdf65400f2 formatting 2016-12-14 12:12:20 -08:00
Jade McGough 11cb9a795d add dashboard GET and DELETE handlers 2016-12-14 09:37:47 -08:00
Jade McGough de0efa0b27 omg it compiled 2016-12-13 23:56:26 -08:00
Jade McGough 582bde4657 fix errors 2016-12-13 22:57:52 -08:00
Jade McGough 2bdedc0683 update internal.pb.go 2016-12-13 03:07:24 -08:00
Jade McGough 9ba8820c42 WIP 2016-12-08 19:28:40 -08:00
Chris Goller 3937c55546 Fix Content-Type of the index.html page to be text/html 2016-12-08 21:03:11 -06:00
Chris Goller c32f80a380 Merge pull request #673 from influxdata/remove_endpoint
removing unimplemented endpoint from swagger
2016-12-08 17:23:38 -06:00
Jade McGough 48f3db024d removing unimplemented endpoint from swagger 2016-12-08 15:12:39 -08:00
Jade McGough e68f380091 add dashboards interface/structs 2016-12-07 16:31:22 -08:00
Jade McGough c85b0e4e2a add routes and stubs for dashboard API endpoints 2016-12-07 15:18:04 -08:00
Jade McGough dd3edaec5e add swagger documentation for dashboard routes 2016-12-07 15:17:42 -08:00
Jade McGough 8fde9480f8 shorten TCPKeepAlive length 2016-12-07 15:17:27 -08:00
Chris Goller 42b39f0f81 Update teapot to be informational 2016-12-07 13:28:58 -06:00
Jade McGough 48e78fe894 update swagger 2016-12-05 22:07:11 -08:00
Chris Goller 38394152d6 Update layout ylabel and yrange to be properties of the query. 2016-11-30 14:13:15 -08:00
Chris Goller 761ec9d66d Add ylabels and yranges to layouts 2016-11-30 14:04:32 -08:00
Will Piers 4ae2cac479 Rebase and add error logging for users endpoint 2016-11-21 14:24:01 -07:00
Will Piers 2d352b4c1a Return 418 when auth is turned off 2016-11-21 14:20:33 -07:00
Will Piers fe14fd74e3 Add users endpoints/storage plus me endpoint 2016-11-21 14:19:57 -07:00
Chris Goller 77b861d26e Add server error logging 2016-11-19 11:41:06 -06:00
Chris Goller 0fb2818bf1 Update swagger to remove rp/db for layouts 2016-11-18 16:07:53 -06:00
Chris Goller 8f890378e2 Fix tab spacing in protobuf and swagger 2016-11-18 16:07:53 -06:00
Chris Goller 6067d5aaa8 Update sources endpoint to take optional telegraf database name. 2016-11-18 16:07:53 -06:00
gunnaraasen 84091227d7 Update reporting tag to use chronograf-ng 2016-11-16 15:25:12 -08:00
Chris Goller c5cdc9d3d3 Fix layouts to enforce uniqueness 2016-11-14 22:25:38 -06:00
Chris Goller 87de3bfdba Revert bin layouts for now 2016-11-14 22:17:09 -06:00
Chris Goller 1f82577610 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 d2e011a350 Fix logger panic and put logging of queries into debug 2016-11-12 17:48:49 -06:00
Chris Goller 1e885bce8b Fix several handlers that were not returning after error 2016-11-11 12:52:34 -06:00
Chris Goller c010596be5 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 5ece74e90b Fix #442 ; update tickscript to be disabled during script update followed by enable 2016-11-10 12:56:34 -06:00
Chris Goller 4bd305b232 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 29b51c6752 Remove password in cleartext TODOs 2016-11-10 10:09:14 -08:00
Chris Goller 4c7a13b292 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 b463e999bc Add version option 2016-11-09 13:25:07 -08:00
Ross McDonald f36e1da982 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 96ad89a773 Update default cli options to be 0.0.0.0 and 8888 2016-11-07 20:50:06 -06:00
Chris Goller 8fe8de3de1 Merge pull request #387 from influxdata/remove-mrfusion
Remove mrfusion name from source
2016-11-07 11:33:23 -06:00
Chris Goller 0d1579e4b9 Merge pull request #386 from influxdata/update-cli-options
Update cli options
2016-11-07 11:29:05 -06:00
Chris Goller d52b094b67 Remove mrfusion name from source 2016-11-07 11:22:23 -06:00
Chris Goller 96a135f2e4 Update cli/env options to use port 10000 and remove TLS for now 2016-11-07 11:09:51 -06:00
Chris Goller 6539839113 Update layouts to not use UUIDs in name and only use filesystem 2016-11-07 10:10:26 -06:00
Tim Raymond ccd3bfe350 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 a4474f877f Update tasks to be called rules 2016-11-04 01:54:39 -05:00
Chris Goller 73cbc4abc6 Fix bolt scoping and minor kapacitor tickscript updates 2016-11-03 22:25:41 -05:00
Chris Goller a95c998300 Update to store alert information in boltdb 2016-11-03 19:52:13 -05:00
Chris Goller 74713b9f0b Add ticker and id generator to creation of new kapa alert 2016-11-03 19:52:13 -05:00
Chris Goller 77bde5d7c5 Add tasks routes to swagger doc and run through linter. 2016-11-03 19:52:13 -05:00
Chris Goller f68491ce31 Add basic kapacitor task routes. Still need schema and storage 2016-11-03 19:52:13 -05:00
Chris Goller c2a663dcdd Add kapacitor tickscript template generator for threshold, relative, deadman 2016-11-03 19:52:00 -05:00
nathan haugo feb9ef05b9 Revert unwanted changes from commit to new_apps.sh 2016-11-03 11:13:40 -07:00
nathan haugo fdd1dcf3fd Add name and cell to new_app.sh 2016-11-03 11:03:26 -07:00
Chris Goller 76fce28eb6 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 5158c492d0 Fix kapacitor error message on POST with invalid data. 2016-11-01 16:45:31 -05:00
Tim Raymond 5eabf6aa12 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 b85a5be094 Add usage stats reporting 2016-10-28 14:34:55 -07:00
Chris Goller dd9f110533 Fix mux paths to be hardcoded; clarify server start; fix golint 2016-10-28 11:27:06 -05:00
Chris Goller 12348d72cb Refactor to remove autogenerated code. 2016-10-26 22:10:52 -05:00