Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.
  1. To get the IP address of grafana run the below command

 

 

  Ask ranjit

 

  1. Enter url  of the grafana in browser
  2. Select the dashboard to view resource.
  3. You can also import customized dashboard to monitor Adpetia application matrices.
  4. Steps (Ranjit)

 

----------------------------------------------------------------------------------

Prerequisites

  • Kubernetes 1.16+
  • Helm 3+

Deploying Grafana

  1. 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.

  1. Log in to Kibana.
  2. Search for index
  3. Select Kibana/Index Patterns.
    Image Added
  4. 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.
  5. On the Create index pattern page, select a microservice, and then click Next step.
    Image Added
  6. Click Create index pattern.
    Image Added
    The screen below confirms that the index pattern has been created for the selected microservice.
    Image Added
  7. 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
borderStylesolid
titleYou may be interested in...
What is new
Application architecture
Key terms
Install
Usage scenarios