Accessing Grafana
For Kubernetes/Openshift
If you are using Kubernetes or Openshift, you will need to find out the external IP address of the reporting application/container using the following steps.
For Kubernetes Cluster
- Run:
kubectl get svc
This lists all the services and external IPs of load balancer. Select the load balancer IP of the reporting app named "reporting-app-0".
- Access the Grafana dashboard:
http://<External_Ip_Of_Loadbalancer_Of_ReportingApp>:3000
- Enter the admin login details.
Note: If you want to deploy tml-reporting pod with a different username and password the first time, you will need to have customized the grafan.ini file as explained in the User Content Customization section.
For OpenShift Cluster
- Run:
oc get svc
This lists all the services and external IPs of load balancer. Select the load balancer IP of the reporting app named "reporting-app-0".
- Access the Grafana dashboard:
http://<External_Ip_Of_Loadbalancer_Of_ReportingApp>:3000
- Enter the admin login details.
For Swarm
For Swarm, you will need to use the Docker Swarm master's IP address for access the Grafana dashboard:
- Access the Grafana dashboard using Swarm master's public IP:
http://<SWARM_MASTER_IP>:3000
- Enter the admin login details.
Changing the Default Password
- After logging into Grafana, you can change the default password.
- Select
Change Your Password as shown below.
- Change the password as required.
This password is stored in the local database maintained at mounted volume. So if you undeploy and deploy the tml-reporting pod/container, the changed password would still remain. If you delete the volume, then the password would be the default password.