Skip to content

Commit

Permalink
Merge pull request #1101 from influxdata/feature/gzipped-influx-respo…
Browse files Browse the repository at this point in the history
…nses

Add compression for InfluxQL query responses
  • Loading branch information
cryptoquick authored Mar 28, 2017
2 parents 52e70c7 + c9b29ff commit d202897
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

### Features
### UI Improvements
1. [#1101](https://github.com/influxdata/chronograf/pull/1101): Compress InfluxQL responses with gzip

## v1.2.0-beta7 [2017-03-28]
### Bug Fixes
Expand All @@ -16,6 +17,8 @@
1. [#1086](https://github.com/influxdata/chronograf/issues/1086): Fix validation for deleting databases

### Features
### UI Improvements
1. [#1092](https://github.com/influxdata/chronograf/pull/1092): Persist and render Dashboard Cell groupby queries

### UI Improvements

Expand Down
5 changes: 3 additions & 2 deletions server/mux.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ func NewMux(opts MuxOpts, service Service) http.Handler {
router.PATCH("/chronograf/v1/sources/:id", service.UpdateSource)
router.DELETE("/chronograf/v1/sources/:id", service.RemoveSource)

// Source Proxy to Influx
router.POST("/chronograf/v1/sources/:id/proxy", service.Influx)
// Source Proxy to Influx; Has gzip compression around the handler
influx := gziphandler.GzipHandler(http.HandlerFunc(service.Influx))
router.Handler("POST", "/chronograf/v1/sources/:id/proxy", influx)

// All possible permissions for users in this source
router.GET("/chronograf/v1/sources/:id/permissions", service.Permissions)
Expand Down

0 comments on commit d202897

Please sign in to comment.