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

Display max value in the metric name when available #18

Open
rjuju opened this issue Jun 9, 2015 · 0 comments
Open

Display max value in the metric name when available #18

rjuju opened this issue Jun 9, 2015 · 0 comments
Assignees
Milestone

Comments

@rjuju
Copy link
Member

rjuju commented Jun 9, 2015

The function public.list_metrics() should call <wh_name>.list_metrics().

wh_nagios.list_metrics should display the max value when available (i.e. <> 0).

Something like this should be ok :

SELECT * from list_metrics(2);
 id_graph | id_metric |       label        | unit | id_service | available | tags 
----------+-----------+--------------------+------+------------+-----------+------
        2 |         5 | db 1 (max:2053 Mpbs) | Bps  |          3 | t         | {}
        2 |         6 | db 2               | Bps  |          3 | t         | {}
@rjuju rjuju self-assigned this Jun 9, 2015
@rjuju rjuju added this to the Release 2.4 milestone Jun 9, 2015
@rjuju rjuju modified the milestones: Release 2.5, Release 2.4 Oct 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant