f67f7e97e1
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com> Signed-off-by: spencerrichardhenry <46569542+spencerrichardhenry@users.noreply.github.com>
1.4 KiB
1.4 KiB
@backstage/plugin-scaffolder-backend
| @backstage/plugin-scaffolder-backend |
|---|
| minor |
Added a set of default Prometheus metrics around scaffolding. See below for a list of metrics and an explanation of their labels:
-
scaffolder_task_count: Tracks successful task runs.Labels:
template: The entity ref of the scaffolded templateuser: The entity ref of the user that invoked the template runresult: A string describing whether the task ran successfully, failed, or was skipped
-
scaffolder_task_duration: a histogram which tracks the duration of a task runLabels:
template: The entity ref of the scaffolded templateresult: A boolean describing whether the task ran successfully
-
scaffolder_step_count: a count that tracks each step runLabels:
template: The entity ref of the scaffolded templatestep: The name of the step that was runresult: A string describing whether the task ran successfully, failed, or was skipped
-
scaffolder_step_duration: a histogram which tracks the duration of each step runLabels:
template: The entity ref of the scaffolded templatestep: The name of the step that was runresult: A string describing whether the task ran successfully, failed, or was skipped
You can find a guide for running Prometheus metrics here: https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md