v1alpha1

package
v1.3.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

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

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

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

Merge takes an object a and merges another object, b's values into it, overwriting any which conflict.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL