Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
- To get the IP address of grafana run the below command
Ask ranjit
- Enter url of the grafana in browser
- Select the dashboard to view resource.
- You can also import customized dashboard to monitor Adpetia application matrices.
- Steps (Ranjit)
----------------------------------------------------------------------------------
Prerequisites
- Kubernetes 1.16+
- Helm 3+
Deploying Grafana
Get Repo Info
helm repo add grafana https://grafana.github.io/helm-charts
helm repo update
2. Installing the Chart
To install the chart with the release name my-release
:
helm install my-release grafana/grafana
3. Exposing Grafana (Connecting To Grafana Dashboard)
4. Log in to Grafana (URL depends upon how Grafana has been exposed) and configure the data source. The login name is admin and the password admin.
5. Click on the "cogwheel" in the sidebar to open the Configuration menu.
6. Click on "Data Sources".
7. Click on "Add data source".
8. Select "Prometheus" as the type.
9. Set the appropriate Prometheus server URL (for example, http://localhost:9090/
)(URL depends upon how Prometheus has been exposed)
10. Adjust other data source settings as desired (for example, choosing the right Access method).
11. Click "Save & Test" to save the new data source.
12. Importing the Grafana dashboard. (Adeptia provides the dashboards in JSON format)Elasticsearch maintains the logs index for each microservice and enables you to view these logs through a graphical interface – Kibana. To view the Adeptia logs in Kibana, you need to create the index pattern for each microservice in Kibana. Follow the steps given below to view the application logs using Kibana.
- Log in to Kibana.
- Search for index
- Select Kibana/Index Patterns.
Image Added - Click Create index pattern.
Image Added
The Create index pattern page that opens displays all the microservices for which you want to create the index pattern. - On the Create index pattern page, select a microservice, and then click Next step.
Image Added - Click Create index pattern.
Image Added
The screen below confirms that the index pattern has been created for the selected microservice.
Image Added Click the menu Image Added icon at the top-left corner, and then select Analytics > Discover.
Image Added
The next screen displays list of all the logs related to the selected microservice.Info Repeat steps 1 through 8 to create index patterns for other microservices and view their logs. Image Added
Panel | ||||
---|---|---|---|---|
| ||||
What is new |