Resoto's resource collection and automated jobs are triggered as part of a series of steps called a workflow. It is possible to create your own automations that hook into the events emitted by workflows.
workflows command can be used to inspect and run workflows on demand.
By default, Resoto triggers the
collect_and_cleanup workflow every hour.
collect_and_cleanup workflow has four steps:
See Events for a list of events emitted by the
See Workflow Schedules for details on how to configure the schedule of the
collect phase, resources are collected from all configured cloud provider and synchronized with the internal graph.
At the conclusion of this phase, the graph database contains the latest state of all resources.
cleanup_plan phase, Resoto computes which resources should be cleaned up, and marks them for deletion during the subsequent
Resoto ships with built-in cleanup plugins that can be enabled in the
cleanup phase, all resources marked for cleanup are deleted if cleanup is enabled.
Resources are deleted in the order mandated by their dependencies and relationships to other resources.
Cleanup is disabled by default. Please refer to Resource Cleanup for details.
As its name suggests, metrics are generated and provided to the time-series database during the
In this phase, Resoto performs several queries to get updated metrics. Since the incoming data will only change during the next collect run, metrics are generated here and cached until the next collection.
You can adjust the metrics that should be generated by editing the Resoto Metrics configuration.