diff options
author | Stephen Wong <stephen.kf.wong@gmail.com> | 2018-04-05 05:24:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-05 05:24:20 +0000 |
commit | e7a7870f5c16740f6bb2c2ae9d9752b9a2920a0b (patch) | |
tree | 7dfc526284258dd88e70adef8f60f5e5ed52e9dc /docs/development/design/monitoring.rst | |
parent | c68b7b8380ea8d2ac4da6b4739c6b8e157bb952b (diff) | |
parent | c8a6fe5bb4233eb0551b8424f5d57121e86124a1 (diff) |
Merge "Move design document to dedicated folder"
Diffstat (limited to 'docs/development/design/monitoring.rst')
-rw-r--r-- | docs/development/design/monitoring.rst | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/development/design/monitoring.rst b/docs/development/design/monitoring.rst new file mode 100644 index 0000000..44b01e3 --- /dev/null +++ b/docs/development/design/monitoring.rst @@ -0,0 +1,31 @@ +########## +Monitoring +########## + +************ +Installation +************ + +Currently, we use the Istio build-in prometheus addon to install prometheus:: + + cd <istio-release-path> + kubectl apply -f install/kubernetes/addons/prometheus.yaml + +******** +Validate +******** + +Setup port-forwarding for prometheus by executing the following command:: + + kubectl -n istio-system port-forward $(kubectl -n istio-system get pod -l app=prometheus -o jsonpath='{.items[0].metadata.name}') 9090:9090 & + +Run the scripts in ``clover/monitoring`` validates prometheus installation:: + + python clover/monitoring/validate.py + +It validates the installation with the following criterias + +#. [DONE] prometheus pod is in Running state +#. [DONE] prometheus is conneted to monitoring targets +#. [TODO] test collecting telemetry data from istio +#. [TODO] TBD |