Commit Graph

223 Commits (1629f6c56ba2dc4dc6c774c24615194ea024ac5e)

Author SHA1 Message Date
Jade McGough 1acf2bcb47 go format 2017-03-23 04:56:36 -07:00
Jade McGough e388a8b81e dropRP 2017-03-23 04:51:08 -07:00
Jade McGough 0023553e56 createRP 2017-03-23 04:27:53 -07:00
Jade McGough 3c666ac329 get retention policies 2017-03-23 03:06:59 -07:00
Jade McGough 6c418bb323 drop db API 2017-03-23 01:04:35 -07:00
Jade McGough 0b521f3a27 db creation seems to be working 2017-03-22 23:21:21 -07:00
Jade McGough 8954535734 WIP 2017-03-22 22:21:25 -07:00
Jade McGough 65a0612496 it's working! 2017-03-22 13:27:36 -07:00
Jade McGough b1c45e1dbc uuuugh 2017-03-22 04:01:55 -07:00
Jade McGough 1390179217 WIP ugh 2017-03-22 02:53:19 -07:00
Jade McGough e5fad520b7 WIP 2017-03-22 01:40:30 -07:00
Chris Goller a25a362360 Add ping and detection of influxdb source types 2017-03-13 16:45:05 -05:00
Chris Goller 49d8ece940 Add structured logging to underlying http server 2017-03-06 15:16:45 -06:00
Chris Goller 51c65f9111 Update InfluxEnterprise users to return their roles 2017-03-01 19:13:44 -06:00
Chris Goller 3947d5181f Update schema for /permissions endpoint to have scopes 2017-02-27 13:31:38 -06:00
Chris Goller 1f9be2e4aa 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 701a041a88 Merge branch 'master' into feature/connection-info#825
Conflicts:
	CHANGELOG.md
2017-02-24 11:29:43 -06:00
Chris Goller f60a358751 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 08271f25ef Add roles to chronograf 2017-02-23 16:02:53 -06:00
Chris Goller 9ee5c40ecc Add a listing of all possible permissions for OSS and Enterprise 2017-02-19 13:47:19 -06:00
Chris Goller 74522fd030 Refactor Influx OSS users 2017-02-19 00:54:52 -06:00
Chris Goller f49b8309ac Add updating permissions for enterprise users 2017-02-17 16:35:56 -06:00
Chris Goller 0828b47e45 Add permissions to users 2017-02-17 16:03:49 -06:00
Chris Goller b304ac256e Add get of all users for a data source 2017-02-17 15:13:51 -06:00
Chris Goller 2a2e188560 Refactor users and add client usersstore 2017-02-17 13:37:00 -06:00
Chris Goller e03c8f4f9e Merge branch 'master' into feature/#54-tr-enterprise-client 2017-02-17 10:11:55 -06:00
Tim Raymond 09e8063131 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
Jade McGough a7742fb9c1 add metaURL to source 2017-02-09 23:14:04 -06:00
Chris Goller 9148e1c1aa Add kapa alert arguments and properties 2017-02-09 00:10:23 -06:00
Chris Goller 926dfae5c8 Add kapacitor alert node structs 2017-02-08 22:18:23 -06:00
Chris Goller a4aa900bf8 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 7d0b7781d4 Update kapacitor alert rule to have detail field 2017-02-07 17:09:14 -06:00
Tim Raymond 9459f731e7 Make Open() idempotent and required
Open() wasn't a hard requirement, so it was a little surprising to need
to use it when creating an enterprise.Client in some circumstances but
not others. This returns an error when Querying if Open() was not
called, preventing panics which would otherwise result. Granted, this
would only be encountered by developers, but I believe a helpful error
is sometimes more useful than a mysterious panic when making libs that
devs actually enjoy using. Furthermore, a preflight check to see whether
dataNodes was initialized makes the Open() method idempotent.
2017-02-02 16:18:26 -08:00
Chris Goller 75cd6cebff Remove explorations from backend server 2017-02-01 15:09:02 -06:00
Jade McGough 626ee4081e fix bugs 2017-01-27 04:51:31 -08: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 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
Jade McGough 2f39cb771c add kapacitor range alerting to API 2016-12-20 12:22:53 -08:00
Jade McGough 7a8d0ba4a5 clean up pointer usage 2016-12-15 13:37:11 -08:00
Jade McGough f42f7166f9 fix bugs 2016-12-15 11:27:06 -08:00
Jade McGough bdf65400f2 formatting 2016-12-14 12:12:20 -08:00
Jade McGough de0efa0b27 omg it compiled 2016-12-13 23:56:26 -08:00
Jade McGough 16327a87d7 wow did it actually just compile? 2016-12-13 23:22:54 -08:00
Jade McGough 582bde4657 fix errors 2016-12-13 22:57:52 -08:00
Jade McGough 39ba29b893 add and get methods for dashboard 2016-12-13 02:44:19 -08:00
Jade McGough 9ba8820c42 WIP 2016-12-08 19:28:40 -08:00
Jade McGough e68f380091 add dashboards interface/structs 2016-12-07 16:31:22 -08:00
Jade McGough dc95ca2b6e add type to cell interface 2016-12-06 02:48:12 -08:00
Chris Goller 5afad83d8b Allow upper and lower bound to be zero 2016-11-30 14:13:15 -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
Tim Raymond 4ba7e10931 Fix template layout ordering
This divides templates into two classes: autoflow and static. This is
controlled by a boolean "autoflow" property on templates. Any autoflow
templates that will be rendered for a host, have their cells arranged in
a left-to-right, top-to-bottom fashion.

Static templates, are assumed to have precise positioning information
for their graphs. The only adjustment made to them will be a translation
of their Y coords so they do not overlap other layouts.

The autoflow templates, after processing, become a static layout as
defined above and are positioned accordingly.
2016-11-29 17:41:19 -05:00
Will Piers fe14fd74e3 Add users endpoints/storage plus me endpoint 2016-11-21 14:19:57 -07:00
Chris Goller a77850183f Update pre-canned layouts to not have the telegraf database specified. 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
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
Chris Goller 8d97980aad Add wheres to layouts 2016-11-07 20:35:46 -06:00
Chris Goller b274363149 Add groupby options to layouts 2016-11-07 16:31:48 -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
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 cd98eb2433 Update kapacitor generator to match with frontend UI changes. 2016-11-03 19:52:13 -05:00
Chris Goller 463e10a0b7 Update kapacitor tick generation to validate with pipeline 2016-11-03 19:52:13 -05:00
Chris Goller c3b4fa6dda Add kapacitor script generation 2016-11-03 19:52:13 -05:00
Chris Goller a4b4107e14 Add alert interface 2016-11-03 19:52:13 -05:00
Timothy J. Raymond d5cfcb5fa7 Merge pull request #297 from influxdata/feature/tr-layouts
Render layouts from API
2016-10-28 19:26:10 -04:00
Tim Raymond 433290a209 Remove erroneous ,string struct tag
The JSON encoder was very upset with the ,string struct tag option. It
spat out the error:

json: invalid use of ,string struct tag, trying to unmarshal
"18aed9a7-dc83-406e-a4dc-40d53049541a" into string

The documentation appears to be incomplete on this struct tag option,
and removing it fixes this error.
2016-10-28 19:08:05 -04:00
Tim Raymond a4793bdefc Add "I" and "Name" to cells on backend
React-grid-layout uses an "i" parameter in the JSON describing a layout
as an identifier. This is used to bind DOM elements' keys to Cells from
the API. Also, we need a "Name" to describe what each graph is to a
user.

Also, react-grid-layout specified widths and heights in terms of units
of the grid that it establishes. In order to have this properly
configured, the extents of this grid need to be spelled out when
creating a ReactGridLayout, hence the addition of "cols" and
"rowHeight" props to that component.

Finally, react-grid-layout incorporates some of its own styles. To
support this, some modifications needed to be made to the webpack config
to allow us to pull in includes from node_modules.
2016-10-28 18:01:14 -04:00
gunnaraasen b85a5be094 Add usage stats reporting 2016-10-28 14:34:55 -07:00
Chris Goller 12348d72cb Refactor to remove autogenerated code. 2016-10-26 22:10:52 -05:00