Versions Compared

Key

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

In order to use this feature , we need to use v7.8 artifacts.

...

Prerequisites:

...

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

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

...

Usage:

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

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

  • Once Logs are received we can use Logql and promql as shown in below sample dashboard to see statistics.

  • Upload the below Dashboard Json to get a sample template of Usage statistics:

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

  • Use below attached sample dashboard template for basic Usage statistics

View file
nameUsage Stats-1619619172555.json

  • Once Uploadedabove 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.

...