Skip to content

Commit

Permalink
set i=false
Browse files Browse the repository at this point in the history
  • Loading branch information
vikramraman committed May 29, 2019
1 parent 21ab248 commit ab8d38e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ OUT_DIR?=./_output
TEMP_DIR:=$(shell mktemp -d)
DOCKER_REPO=wavefronthq
DOCKER_IMAGE=wavefront-hpa-adapter
VERSION=0.9.1
VERSION=0.9.2

# for testing, the built image will also be tagged with this name
OVERRIDE_IMAGE_NAME?=vikramraman/wavefront-adapter
Expand Down
2 changes: 2 additions & 0 deletions pkg/client/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const (
queryKey = "q"
startTime = "s"
granularity = "g"
outsideSeries = "i"
)

func (w DefaultWavefrontClient) Do(verb, endpoint string, query url.Values) (*http.Response, error) {
Expand Down Expand Up @@ -108,6 +109,7 @@ func (w DefaultWavefrontClient) Query(start int64, query string) (QueryResult, e
vals.Set(queryKey, query)
vals.Set(startTime, strconv.FormatInt(start, 10))
vals.Set(granularity, "m")
vals.Set(outsideSeries, "false")

resp, err := w.Do("GET", chartEndpoint, vals)
if err != nil {
Expand Down

0 comments on commit ab8d38e

Please sign in to comment.