Skip to main content

Module prometheus_templates

Module prometheus_templates 

Source
Expand description

Prometheus template rendering step

This module provides the RenderPrometheusTemplatesStep which handles rendering of Prometheus configuration templates to the build directory. This step prepares Prometheus configuration files for deployment to the remote host.

§Key Features

  • Template rendering for Prometheus configurations
  • Integration with the PrometheusProjectGenerator for file generation
  • Build directory preparation for deployment operations
  • Comprehensive error handling for template processing

§Usage Context

This step is typically executed during the release workflow, after infrastructure provisioning and software installation, to prepare the Prometheus configuration files for deployment.

§Architecture

This step follows the three-level architecture:

  • Command (Level 1): ReleaseCommandHandler orchestrates the release workflow
  • Step (Level 2): This RenderPrometheusTemplatesStep handles template rendering
  • The templates are rendered locally, no remote action is needed

Structs§

RenderPrometheusTemplatesStep
Step that renders Prometheus templates to the build directory