Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Info

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

...