Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to query time series points via dog.get_points(from, to, query) #88

Closed
wants to merge 2 commits into from

Conversation

blakehilscher
Copy link
Contributor

Get points from a Datadog metric.

@yannmh yannmh added this to the 1.22.0 milestone Apr 8, 2016
@yannmh yannmh self-assigned this Apr 8, 2016
#
def get_points(from, to, query)
@metric_svc.get(from, to, query)
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change the method signature to be consistent with graph_snapshot, i.e.

def get_points(query, start, end)
   [...]
end

@yannmh
Copy link
Member

yannmh commented Apr 8, 2016

Looks great, thanks for bringing the feature @blakehilscher !

I just added a small nitpick. Other than that, it looks ready to be merged.

@yannmh
Copy link
Member

yannmh commented Apr 8, 2016

Ohh, i just noticed Travis is reporting a few tailor style check violations: https://travis-ci.org/DataDog/dogapi-rb/jobs/119659050. Would you mind taking a pass on it too please ?

@yannmh
Copy link
Member

yannmh commented Apr 14, 2016

I rebased your work on top of the current state of the master branch to have the tests fixed. I also addressed the few nitpicks mentioned in this thread.
Let's close this thread and move with #90.

Thanks again :)

@yannmh yannmh closed this Apr 14, 2016
@yannmh yannmh mentioned this pull request Apr 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants