Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
postfix-stats
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
misc
postfix-stats
Commits
18c149ec
Commit
18c149ec
authored
7 years ago
by
Jan Philipp Timme
Browse files
Options
Downloads
Patches
Plain Diff
Enhance grapher a bit
parent
8d37f443
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
grapher.sh
+3
-3
3 additions, 3 deletions
grapher.sh
with
3 additions
and
3 deletions
grapher.sh
+
3
−
3
View file @
18c149ec
...
@@ -6,9 +6,9 @@ cd `dirname $0`
...
@@ -6,9 +6,9 @@ cd `dirname $0`
# Load settings
# Load settings
.
./settings.sh
.
./settings.sh
period_filenames
=(
"hour.png"
"6hours.png"
"day.png"
"week.png"
"month.png"
"6months.png"
"year.png"
)
period_filenames
=(
"hour.png"
"6hours.png"
"12hours.png"
"day.png"
"week.png"
"month.png"
"6months.png"
"year.png"
)
period_startparams
=(
"end-1h"
"end-6h"
"end-24h"
"end-7d"
"end-
1m
"
"end-6
m
"
"end-1y"
)
period_startparams
=(
"end-1h"
"end-6h"
"end-12h"
"end-24h"
"end-7d"
"end-
4w
"
"end-6
M
"
"end-1y"
)
period_texts
=(
"Last hour"
"Last 6 hours"
"Last day"
"Last week"
"Last month"
"Last 6 months"
"Last year"
)
period_texts
=(
"Last hour"
"Last 6 hours"
"Last
12 hours"
"Last
day"
"Last week"
"Last month"
"Last 6 months"
"Last year"
)
for
index
in
${
!period_filenames[*]
}
;
do
for
index
in
${
!period_filenames[*]
}
;
do
filename
=
${
period_filenames
[
$index
]
}
filename
=
${
period_filenames
[
$index
]
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment