Module metric_exporter

Module metric_exporter 

Source
Expand description

A module to format the results of cloud-scanner into OpenMetrics (Prometheus format) metrics

Structs§

ResourceLabels
SummaryLabels

Enums§

ResourceState
ResourceType

Functions§

get_all_metrics
Returns all metrics as string: both aggregated metrics (summary) as well a metrics of individual resources
get_resources_metrics
Returns metrics related to individual resources as String
get_summary_metrics
Return an ImpactsSummary as metrics in the prometheus format
register_resource_metrics