projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Integration test for metrics + bug fix
[osm/N2VC.git]
/
tests
/
charms
/
layers
/
metrics-ci
/
metrics.yaml
diff --git a/tests/charms/layers/metrics-ci/metrics.yaml
b/tests/charms/layers/metrics-ci/metrics.yaml
new file mode 100755
(executable)
index 0000000..
dae092f
--- /dev/null
+++ b/
tests/charms/layers/metrics-ci/metrics.yaml
@@ -0,0
+1,9
@@
+metrics:
+ users:
+ type: gauge
+ description: "# of users"
+ command: who|wc -l
+ load:
+ type: gauge
+ description: "5 minute load average"
+ command: cat /proc/loadavg |awk '{print $1}'