Skip to content

Commit

Permalink
Add more timeranges
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikesch-mp committed May 23, 2017
1 parent f6aa322 commit 08eaced
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions library/Grafana/ProvidedHook/Grapher.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ class Grapher extends GrapherHook
'Minutes' => array(
'5m' => '5 minutes',
'15m' => '15 minutes',
'30m' => '30 minutes'
'30m' => '30 minutes',
'45m' => '45 minutes'
),
'Hours' => array(
'1h' => '1 hour',
Expand All @@ -56,15 +57,18 @@ class Grapher extends GrapherHook
'Days' => array (
'2d' => '2 days',
'7d' => '7 days',
'14d' => '14 days',
'30d' => '30 days',
),
'Months' => array (
'2M' => '2 Month',
'6M' => '6 months'
'6M' => '6 months',
'9M' => '9 months'
),
'Years' => array(
'1y' => '1 year',
'2y' => '2 years'
'2y' => '2 years',
'3y' => '3 years'
)
);

Expand Down
2 changes: 1 addition & 1 deletion module.info
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: Grafana
Version: 1.1.4
Version: 1.1.5
Depends: monitoring
Description: Grafana - A perfdata visualisation module
Shows Grafana graphs for captured metrics.
Expand Down

0 comments on commit 08eaced

Please sign in to comment.