Class MonitorOptions
Specifies the options for configuring the cluster integrated logging stack.
Namespace: Neon.Kube.ClusterDef
Assembly: Neon.Kube.dll
Syntax
public class MonitorOptions
Properties
Logs
Logging options.
Declaration
[JsonProperty(PropertyName = "Logs", Required = Required.Default)]
[YamlMember(Alias = "logs", ApplyNamingConventions = false)]
public LogOptions Logs { get; set; }
Property Value
Type | Description |
---|---|
LogOptions |
Metrics
Metrics options
Declaration
[JsonProperty(PropertyName = "Metrics", Required = Required.Default)]
[YamlMember(Alias = "metrics", ApplyNamingConventions = false)]
public MetricsOptions Metrics { get; set; }
Property Value
Type | Description |
---|---|
MetricsOptions |
Traces
Tracing options
Declaration
[JsonProperty(PropertyName = "Traces", Required = Required.Default)]
[YamlMember(Alias = "traces", ApplyNamingConventions = false)]
public TraceOptions Traces { get; set; }
Property Value
Type | Description |
---|---|
TraceOptions |
Methods
Validate(ClusterDefinition)
Validates the options and also ensures that all null
properties are
initialized to their default values.
Declaration
public void Validate(ClusterDefinition clusterDefinition)
Parameters
Type | Name | Description |
---|---|---|
ClusterDefinition | clusterDefinition | The cluster definition. |
Exceptions
Type | Condition |
---|---|
ClusterDefinitionException | Thrown if the definition is not valid. |