Documentation ¶
Overview ¶
package v1alpha1: Types in this package are instantiated in the other types in k8ssandra-operator, especially Stargate types and Cassandra types. +kubebuilder:object:generate=true
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type McacTelemetrySpec ¶ added in v1.2.0
type McacTelemetrySpec struct { // MetricFilters allows passing filters to MCAC in order to reduce the amount of extracted metrics. // Not setting this field will result in the default filters being used: // - "deny:org.apache.cassandra.metrics.Table" // - "deny:org.apache.cassandra.metrics.table" // - "allow:org.apache.cassandra.metrics.table.live_ss_table_count" // - "allow:org.apache.cassandra.metrics.Table.LiveSSTableCount" // - "allow:org.apache.cassandra.metrics.table.live_disk_space_used" // - "allow:org.apache.cassandra.metrics.table.LiveDiskSpaceUsed" // - "allow:org.apache.cassandra.metrics.Table.Pending" // - "allow:org.apache.cassandra.metrics.Table.Memtable" // - "allow:org.apache.cassandra.metrics.Table.Compaction" // - "allow:org.apache.cassandra.metrics.table.read" // - "allow:org.apache.cassandra.metrics.table.write" // - "allow:org.apache.cassandra.metrics.table.range" // - "allow:org.apache.cassandra.metrics.table.coordinator" // - "allow:org.apache.cassandra.metrics.table.dropped_mutations" // Setting it to an empty list will result in all metrics being extracted. // +optional MetricFilters *[]string `json:"metricFilters,omitempty"` }
func (*McacTelemetrySpec) DeepCopy ¶ added in v1.2.0
func (in *McacTelemetrySpec) DeepCopy() *McacTelemetrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new McacTelemetrySpec.
func (*McacTelemetrySpec) DeepCopyInto ¶ added in v1.2.0
func (in *McacTelemetrySpec) DeepCopyInto(out *McacTelemetrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusTelemetrySpec ¶
type PrometheusTelemetrySpec struct { // Enable the creation of Prometheus serviceMonitors for this resource (Cassandra or Stargate). Enabled bool `json:"enabled,omitempty"` // A bool flag required here to disambiguate when e.g. the cluster should have telemetry turned on but one DC should have it explicitly turned off. // CommonLabels are applied to all serviceMonitors created. // +optional CommonLabels map[string]string `json:"commonLabels,omitempty"` }
func (*PrometheusTelemetrySpec) DeepCopy ¶
func (in *PrometheusTelemetrySpec) DeepCopy() *PrometheusTelemetrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusTelemetrySpec.
func (*PrometheusTelemetrySpec) DeepCopyInto ¶
func (in *PrometheusTelemetrySpec) DeepCopyInto(out *PrometheusTelemetrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusTelemetrySpec) Merge ¶
func (a *PrometheusTelemetrySpec) Merge(b *PrometheusTelemetrySpec) *PrometheusTelemetrySpec
Merge takes an object a and merges another object, b's values into it, overwriting any which conflict.
type TelemetrySpec ¶
type TelemetrySpec struct { Prometheus *PrometheusTelemetrySpec `json:"prometheus,omitempty"` Mcac *McacTelemetrySpec `json:"mcac,omitempty"` }
func (*TelemetrySpec) DeepCopy ¶
func (in *TelemetrySpec) DeepCopy() *TelemetrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TelemetrySpec.
func (*TelemetrySpec) DeepCopyInto ¶
func (in *TelemetrySpec) DeepCopyInto(out *TelemetrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TelemetrySpec) Merge ¶
func (a *TelemetrySpec) Merge(b *TelemetrySpec) *TelemetrySpec
Merge takes an object a and merges another object, b's values into it, overwriting any which conflict.