django-DefectDojo icon indicating copy to clipboard operation
django-DefectDojo copied to clipboard

Export app-layer metrics by Prometheus exporter

Open kiblik opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe

DD has multiple graphs and report but as it is written in wishlist, new dashboard and statistics are wanted. In my opinion, it is good idea to use external tool which is flexible and complex such as Grafana.

Describe the solution you'd like

  1. The solution should be opt-in (enable by env variable) because it can have a huge performance impact.
  2. Number of findings is the most important metric which should be exported. Possible labels: product type, product, engagement, test, status (active, verified, false positive, out of scope,...). Other metrics can be added as well but all important graphs can be based on these data.
  3. Prepare Grafana dashboard which will published on https://grafana.com/grafana/dashboards/

Describe alternatives you've considered

Maybe also an exporter to some other monitoring tool can be connected as well (e.g. Zabbix?) but I prefer to start with Prometheus because it is already used for monitoring infra.

Additional context I already asked about opinions in the Slack channel: https://owasp.slack.com/archives/C014H3ZV9U6/p1643315040013600

kiblik avatar Jan 30 '22 23:01 kiblik

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 01 '22 02:05 stale[bot]