cs-codex-dist-tests/MetricsPlugin/MetricsPlugin.cs

33 lines
592 B
C#
Raw Normal View History

2023-09-13 07:12:18 +00:00
using Core;
using KubernetesWorkflow;
using Logging;
namespace MetricsPlugin
{
public class MetricsPlugin : IProjectPlugin
{
#region IProjectPlugin Implementation
public void Announce(ILog log)
{
log.Log("Hi from the metrics plugin.");
}
public void Initialize(IPluginTools tools)
{
}
public void Finalize(ILog log)
{
}
#endregion
public RunningContainer StartMetricsCollector(RunningContainers[] scrapeTargets)
{
return null!;
}
}
}