medic / cht-watchdog

Configuration for deploying a monitoring/alerting stack for CHT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Synchronize default metrics on grafana with superset dashboard

eljhkrr opened this issue · comments

Superset dashboard can be found here: https://superset.app.medicmobile.org/superset/dashboard/86/

Metrics that need to be updated:

App vitals:

  • Days since successful purge
  • Purging events log
  • Outbound push backlog

Feedback:

  • Manual & automatic feedback document detail

SMS:

  • Gateway state
  • Invalid document errors

Klipfolio:

  • Datasource refresh status

Replication:

  • Denied replications
  • Days since last sync
  • Docs replicated by day
  • Replication Health
  • Replication failure reason
  • Successful initial replications

Workflows:

  • Tasks by user & task ID
  • Form completions by user

Devices:

  • Users with insufficient disk space
  • Users with insufficient chrome version

@eljhkrr - I think we should continue to enforce a split of two types of data to add:

  • Metrics with PII/PHI - Not added to this repo. Instad, they would native to a specific Watchdog install that Medic maintains outside of this repo. Could live in a private repo though!
  • Metrics with out PII/PHI - should be added to this repo!

I've pulled the latest code in main to the watchdog server and update the script to use the paths (data-ingest). The exporter is up and working as I can curl the docker server on the /metrics endpiont and get a nice metrics page (560k zip). The dashboard, for MoH Mali CHW for example, is showing up as empty. I'll dig into this more tomorrow!