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

Sub Metrics support #36

Closed
roidelapluie opened this issue Nov 30, 2017 · 0 comments
Closed

Sub Metrics support #36

roidelapluie opened this issue Nov 30, 2017 · 0 comments

Comments

@roidelapluie
Copy link
Contributor

From one query

select sum(response_time), count(*) from requests group by handler;

We should be able to get two metrics:

requests_resp_time_count
sequests_rest_time_sum

roidelapluie added a commit to roidelapluie/prometheus-sql that referenced this issue Nov 30, 2017
Fixes chop-dbhi#36

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
roidelapluie added a commit to roidelapluie/prometheus-sql that referenced this issue Nov 30, 2017
Fixes chop-dbhi#36

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
roidelapluie added a commit to roidelapluie/prometheus-sql that referenced this issue Dec 3, 2017
Fixes chop-dbhi#36

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
@bruth bruth closed this as completed in #37 Dec 3, 2017
bruth pushed a commit that referenced this issue Dec 3, 2017
Fixes #36

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
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

No branches or pull requests

1 participant