20 lines
586 B
C#
20 lines
586 B
C#
|
using KubernetesWorkflow;
|
|||
|
|
|||
|
namespace DistTestCore.Metrics
|
|||
|
{
|
|||
|
public class GrafanaContainerRecipe : ContainerRecipeFactory
|
|||
|
{
|
|||
|
public override string AppName => "grafana";
|
|||
|
public override string Image => "grafana/grafana-oss:10.0.3";
|
|||
|
|
|||
|
protected override void Initialize(StartupConfig startupConfig)
|
|||
|
{
|
|||
|
//var config = startupConfig.Get<PrometheusStartupConfig>();
|
|||
|
|
|||
|
//AddExposedPortAndVar("PROM_PORT");
|
|||
|
AddExposedPort(3000);
|
|||
|
//AddEnvVar("PROM_CONFIG", config.PrometheusConfigBase64);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|