Skip to content

Draft: Add plugin metrics

Joe Burnett requested to merge jburnett/instance-metrics-draft into main

This change adds a metrics endpoint to the fleeting instance group API. Plugins are configured via plugin_config (in runner config.yml) to provide metrics from their compute environment about the instance group, instances or even the whole zone or region.

Metrics received from the plugin are exposed on the Prometheus endpoint. This allows runner to surface both taskscaler metrics about job states and generic resource metrics from the plugin's environment.

Merge request reports