Class TraceOptions
Specifies the options for configuring the cluster integrated traceging and metrics.
Namespace: Neon.Kube.ClusterDef
Assembly: Neon.Kube.dll
Syntax
public class TraceOptions
Properties
TraceRetentionDays
Trace retention period. Traces beyond this number of days will be purged by the ClusterManager
Declaration
[JsonProperty(PropertyName = "TraceRetentionDays", Required = Required.Default)]
[YamlMember(Alias = "traceRetentionDays", ApplyNamingConventions = false)]
public int TraceRetentionDays { get; set; }
Property Value
Type | Description |
---|---|
int |
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. |