using KubernetesWorkflow; namespace DistTestCore.Metrics { public class PrometheusContainerRecipe : ContainerRecipeFactory { protected override string Image => "thatbenbierens/prometheus-envconf:latest"; protected override void Initialize(StartupConfig startupConfig) { var config = startupConfig.Get(); AddExposedPortAndVar("PROM_PORT"); AddEnvVar("PROM_CONFIG", config.PrometheusConfigBase64); } } }