You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to propose adding a new metric and enhancing existing metrics in the DefectDojo exporter:
dojo_products
Purpose: Track products information in DefectDojo
Possible implementations:
Counter showing total number of products
Gauge with labels containing product names
Additional Enhancement
I suggest adding a product_type label to all existing metrics. This would greatly improve the ability to group and analyze metrics by product type in Grafana dashboards.
Benefits
Better visibility into product distribution
Improved grouping capabilities in Grafana
More comprehensive monitoring of DefectDojo's product hierarchy
Example Metric Format
# HELP dojo_products Total number of products in DefectDojo
# TYPE dojo_products gauge
dojo_products{product_type="webapp"} 5
dojo_products{product_type="api"} 3
Questions to Consider
Should the metric be a counter or gauge?
Should we include additional labels beyond product_type?
Let me know if you need any clarification or have questions about this proposal.
The text was updated successfully, but these errors were encountered:
It will be possible to display the vulnerabilities by product_type in Grafana and retrieve the necessary product-specific vulnerabilities. Yep, it looks convenient.
Should the metric be a counter or gauge?
I think that is a gauge metric. Since we update the metrics every time, meaning we reset them, this is how all the metrics are currently collected. A counter is not used for this.
Should we include any additional labels besides product_type?
There are no other mandatory fields for the product except for product_type, so this will need to be worked around (or excluded). For now, we can start by adding only product_type.
Description
I would like to propose adding a new metric and enhancing existing metrics in the DefectDojo exporter:
dojo_products
Additional Enhancement
I suggest adding a
product_type
label to all existing metrics. This would greatly improve the ability to group and analyze metrics by product type in Grafana dashboards.Benefits
Example Metric Format
Questions to Consider
Let me know if you need any clarification or have questions about this proposal.
The text was updated successfully, but these errors were encountered: