# Functions
AssembleReplicatedJob is used by metrics to assemble a custom, replicated job.
GetJobSet is called by the controller to return a JobSet for the MetricSet.
GetMetric returns a metric, if it is known to the metrics operator We also confirm that the addon exists, validate, and instantiate it.
Default metadata (in JSON) to also put at the top of logs for parsing I'd like to improve upon this manual approach, it's a bit messy.
Register a new Metric type, adding it to the Registry.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
Generic (more than one type, CPU/io, etc).
No description provided by the author
No description provided by the author
No description provided by the author
Metric Family Types (these likely can be changed).
# Variables
These are common templates for application metrics.
No description provided by the author
No description provided by the author
Keep this short so DNS doesn't risk overflow This is the default Replicated Job Name optional for use.
TemplateConvertHostnames assumes a hostnames.txt to write to hostlist.txt.
# Structs
BaseMetric provides shared attributes across Metric types.
LauncherWorker is a launcher + worker setup for apps.
A MetricSet includes one or more metrics that are assembled into a JobSet.
SingleApplication is a Metric base for a simple application metric be accessible by other packages (and not conflict with function names).
No description provided by the author
# Interfaces
A general metric is a container added to a JobSet.