Rok Monitoring Stack UIs¶
This guide describes how you can access the graphical user interfaces of the Rok Monitoring Stack.
Prometheus provides a graphical user interface that helps users inspect metrics that are currently stored in the time-series database, run PromQL queries against the time-series database and view current configurations, rules and state of scraping targets.
The Prometheus UI is not exposed via Arrikto EKF’s Istio. We strongly
suggest that you use
kubectl port-forward to access the Prometheus UI
only in development environments.
Forward traffic from your localhost to
rok-tools. Choose one of the following options based on how you created your management environment:
Open your browser at
localhost:9090and view the Prometheus UI.
Grafana offers a rich web UI that, depending on the privileges of the logged in user, allows one to view or create dashboards with metrics retrieved from different data sources, set up alert rules, manage users and teams, etc. The Rok Monitoring Stack preloads vanilla dashboards available in the kube-prometheus project, as well as custom ones that visualize metrics collected from Rok components and external services.
The Rok Monitoring Stack leverages the cluster’s service mesh, Istio, as well as the cluster’s auth proxy, AuthService, to securely expose the Grafana UI to the outer world and control access to it. More specifically, it creates the following Istio resources:
VirtualServicethat is bound to the Ingress Gateway and routes traffic to Rok’s Grafana
AuthorizationPolicythat defines access control rules, i.e., which users are allowed to access Rok’s Grafana
AuthorizationPolicythat allows network traffic among workloads running in the
- Arrikto EKF User Guides.
Open your browser athttps://<FQDN>/monitoring/
<FQDN>with your sub-domain. For example:https://arrikto-cluster.apps.example.com/monitoring/
In case you are not already logged in, you will need to authenticate via the OIDC provider of your cluster.
Select any of the available dashboards from the upper-left dropdown list, next to the Home button. For example, you can view the following dashboards:
- Kubernetes API Server:
- Node Exporter:
It might take some time before metrics become available in dashboard panels. This depends on the scrape interval of each Prometheus target.