Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
efa03c61
Verified
Commit
efa03c61
authored
May 15, 2021
by
Jelle van der Waa
🚧
Browse files
Add AUR statistics dashboard
parent
c6baa1df
Pipeline
#7401
passed with stage
in 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/grafana/files/dashboards/aur.json
0 → 100644
View file @
efa03c61
{
"annotations"
:
{
"list"
:
[
{
"builtIn"
:
1
,
"datasource"
:
"-- Grafana --"
,
"enable"
:
true
,
"hide"
:
true
,
"iconColor"
:
"rgba(0, 211, 255, 1)"
,
"name"
:
"Annotations & Alerts"
,
"type"
:
"dashboard"
}
]
},
"description"
:
"The AUR package and user statistics"
,
"editable"
:
true
,
"gnetId"
:
null
,
"graphTooltip"
:
0
,
"id"
:
41
,
"links"
:
[],
"panels"
:
[
{
"aliasColors"
:
{},
"bars"
:
false
,
"dashLength"
:
10
,
"dashes"
:
false
,
"datasource"
:
"Prometheus"
,
"description"
:
"The two different user types, normal and trusted users."
,
"fieldConfig"
:
{
"defaults"
:
{},
"overrides"
:
[]
},
"fill"
:
1
,
"fillGradient"
:
0
,
"gridPos"
:
{
"h"
:
9
,
"w"
:
24
,
"x"
:
0
,
"y"
:
0
},
"hiddenSeries"
:
false
,
"id"
:
4
,
"legend"
:
{
"avg"
:
false
,
"current"
:
false
,
"max"
:
false
,
"min"
:
false
,
"show"
:
true
,
"total"
:
false
,
"values"
:
false
},
"lines"
:
true
,
"linewidth"
:
1
,
"nullPointMode"
:
"null"
,
"options"
:
{
"alertThreshold"
:
true
},
"percentage"
:
false
,
"pluginVersion"
:
"7.5.5"
,
"pointradius"
:
2
,
"points"
:
false
,
"renderer"
:
"flot"
,
"seriesOverrides"
:
[],
"spaceLength"
:
10
,
"stack"
:
false
,
"steppedLine"
:
false
,
"targets"
:
[
{
"exemplar"
:
true
,
"expr"
:
"aur_users"
,
"interval"
:
""
,
"legendFormat"
:
"{{ type }}"
,
"queryType"
:
"randomWalk"
,
"refId"
:
"A"
}
],
"thresholds"
:
[],
"timeFrom"
:
null
,
"timeRegions"
:
[],
"timeShift"
:
null
,
"title"
:
"Users"
,
"tooltip"
:
{
"shared"
:
true
,
"sort"
:
0
,
"value_type"
:
"individual"
},
"type"
:
"graph"
,
"xaxis"
:
{
"buckets"
:
null
,
"mode"
:
"time"
,
"name"
:
null
,
"show"
:
true
,
"values"
:
[]
},
"yaxes"
:
[
{
"$$hashKey"
:
"object:140"
,
"format"
:
"short"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
},
{
"$$hashKey"
:
"object:141"
,
"format"
:
"short"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
}
],
"yaxis"
:
{
"align"
:
false
,
"alignLevel"
:
null
}
},
{
"aliasColors"
:
{},
"bars"
:
false
,
"dashLength"
:
10
,
"dashes"
:
false
,
"datasource"
:
"Prometheus"
,
"description"
:
"The total AUR packages state listing orphan ,ever updated and updated packages."
,
"fieldConfig"
:
{
"defaults"
:
{},
"overrides"
:
[]
},
"fill"
:
1
,
"fillGradient"
:
0
,
"gridPos"
:
{
"h"
:
11
,
"w"
:
24
,
"x"
:
0
,
"y"
:
9
},
"hiddenSeries"
:
false
,
"id"
:
2
,
"legend"
:
{
"avg"
:
false
,
"current"
:
false
,
"max"
:
false
,
"min"
:
false
,
"show"
:
true
,
"total"
:
false
,
"values"
:
false
},
"lines"
:
true
,
"linewidth"
:
1
,
"nullPointMode"
:
"null"
,
"options"
:
{
"alertThreshold"
:
true
},
"percentage"
:
false
,
"pluginVersion"
:
"7.5.5"
,
"pointradius"
:
2
,
"points"
:
false
,
"renderer"
:
"flot"
,
"seriesOverrides"
:
[],
"spaceLength"
:
10
,
"stack"
:
false
,
"steppedLine"
:
false
,
"targets"
:
[
{
"exemplar"
:
true
,
"expr"
:
"aur_packages "
,
"interval"
:
""
,
"legendFormat"
:
"{{ state }}"
,
"queryType"
:
"randomWalk"
,
"refId"
:
"A"
}
],
"thresholds"
:
[],
"timeFrom"
:
null
,
"timeRegions"
:
[],
"timeShift"
:
null
,
"title"
:
"Packages"
,
"tooltip"
:
{
"shared"
:
true
,
"sort"
:
0
,
"value_type"
:
"individual"
},
"type"
:
"graph"
,
"xaxis"
:
{
"buckets"
:
null
,
"mode"
:
"time"
,
"name"
:
null
,
"show"
:
true
,
"values"
:
[]
},
"yaxes"
:
[
{
"$$hashKey"
:
"object:58"
,
"format"
:
"short"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
},
{
"$$hashKey"
:
"object:59"
,
"format"
:
"short"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
}
],
"yaxis"
:
{
"align"
:
false
,
"alignLevel"
:
null
}
}
],
"refresh"
:
false
,
"schemaVersion"
:
27
,
"style"
:
"dark"
,
"tags"
:
[],
"templating"
:
{
"list"
:
[]
},
"time"
:
{
"from"
:
"now-30d"
,
"to"
:
"now"
},
"timepicker"
:
{},
"timezone"
:
""
,
"title"
:
"AUR Statistics"
,
"uid"
:
"gmvZGXjGk"
,
"version"
:
1
}
\ No newline at end of file
roles/grafana/files/public-dashboards/aur.json
0 → 120000
View file @
efa03c61
../dashboards/aur.json
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment