Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

In order to use this feature , please use OneDevOps Insights v7.8 and above artifacts.


Prerequisites:

  • Download Loki and Promtail .

  • Install Loki and Promtail as per OS or configure it as service.

  • Use Latest Neo4j Plugin for this feature.

  • Use the below sample config files to start with initial setup.

Note : Please modify the filename, loki url, path in the below config as per OS and need. Path is to mention the place of position.yaml storage and loki chunks data storage.

  • Start the Loki and Promtail and configure the datasources in Grafana as below.

  • Once Loki/Prometheus datasources are configured, Enable logging in Neo4j DB datasource.


Usage:

  • PlatformService logs all dashboard information including user details in PlaformGrafanaSerice.log

  • Promtail reads PlaformGrafanaSerice.log and pushes the logs to Loki.

  • Use LogQL and PromQL as datasource to create Grafana usage statistic dashboards.

  • Use below attached sample dashboard template for basic Usage statistics

  • Once above template is imported, try to access any dashboard configured with above neo4j plugin , you should be able to see the Usage Statistics.

  • Play around with LogQL and PromQL for more advance KPIs.


  • No labels