Skip to content
This repository was archived by the owner on Dec 9, 2020. It is now read-only.

Space charts: add "use_last_value" field #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mikedougherty
Copy link

(I am not an experienced golang developer, so any tips or corrections are welcome)

This addition allows configuring if the last value is used, or if the summary function is applied.

Please note, this changeset includes a cherry-picked commit for a vendored library (go-librato). This change has been submitted upstream here: https://github.com/henrikhodne/go-librato/pull/14. If it isn't appropriate to directly change files in vendor/, I can remove this change. Of course, this PR will then be blocked on updating this vendored library if/when my other PR is merged.

My organization is very interested in porting all of our Librato dashboards to terraform and this change will help us get there.

(cherry picked from commit b166c692d0657490038f6e42994d3ccb78f70359)
@mikedougherty mikedougherty force-pushed the space-charts/use-last-value branch from 6e85d72 to f5e1ebf Compare August 30, 2017 23:20
@mikedougherty mikedougherty force-pushed the space-charts/use-last-value branch from f5e1ebf to 6087789 Compare August 30, 2017 23:22
@mikedougherty
Copy link
Author

Unsurprisingly, the vendor-status check fails:

$ make vendor-status
The following packages are missing or modified locally:
	github.com/henrikhodne/go-librato/librato
Error: status failed for 1 package(s)
make: *** [vendor-status] Error 2
The command "make vendor-status" exited with 2.

Please let me know how I should proceed. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants