Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions config/v1alpha1/types_cluster_monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,13 @@ type NodeExporterCollectorConfig struct {
// Enable when you need visibility into kernel softirq processing across CPUs.
// +optional
Softirqs NodeExporterCollectorSoftirqsConfig `json:"softirqs,omitempty,omitzero"`
// deviceMapperMultipath configures the dmmultipath collector, which collects statistics
// about DM-Multipath devices.
// deviceMapperMultipath is optional.
// When omitted, this means no opinion and the platform is left to choose a reasonable default,
// which is subject to change over time. The current default is enabled.
// +optional
DeviceMapperMultipath NodeExporterCollectorDeviceMapperMultipathConfig `json:"deviceMapperMultipath,omitzero"`
}

// NodeExporterCollectorCpufreqConfig provides configuration for the cpufreq collector
Expand Down Expand Up @@ -689,6 +696,20 @@ type NodeExporterCollectorSoftirqsConfig struct {
CollectionPolicy NodeExporterCollectorCollectionPolicy `json:"collectionPolicy,omitempty"`
}

// NodeExporterCollectorDeviceMapperMultipathConfig provides configuration for the dmmultipath collector
// of the node-exporter agent. The dmmultipath collector collects statistics about
// DM-Multipath devices.
// It is enabled by default.
type NodeExporterCollectorDeviceMapperMultipathConfig struct {
// collectionPolicy declares whether the dmmultipath collector collects metrics.
// This field is required.
// Valid values are "Collect" and "DoNotCollect".
// When set to "Collect", the dmmultipath collector is active and DM-Multipath device statistics are collected.
// When set to "DoNotCollect", the dmmultipath collector is inactive and the corresponding metrics become unavailable.
// +required
CollectionPolicy NodeExporterCollectorCollectionPolicy `json:"collectionPolicy,omitempty"`
}

// MonitoringPluginConfig provides configuration options for the monitoring plugin
// that runs as a dynamic plugin of the OpenShift web console.
// The monitoring plugin provides the monitoring UI in the OpenShift web console
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2162,6 +2162,28 @@ spec:
required:
- collectionPolicy
type: object
deviceMapperMultipath:
description: |-
deviceMapperMultipath configures the dmmultipath collector, which collects statistics
about DM-Multipath devices.
deviceMapperMultipath is optional.
When omitted, this means no opinion and the platform is left to choose a reasonable default,
which is subject to change over time. The current default is enabled.
properties:
collectionPolicy:
description: |-
collectionPolicy declares whether the dmmultipath collector collects metrics.
This field is required.
Valid values are "Collect" and "DoNotCollect".
When set to "Collect", the dmmultipath collector is active and DM-Multipath device statistics are collected.
When set to "DoNotCollect", the dmmultipath collector is inactive and the corresponding metrics become unavailable.
enum:
- Collect
- DoNotCollect
type: string
required:
- collectionPolicy
type: object
ethtool:
description: |-
ethtool configures the ethtool collector, which collects ethernet device statistics.
Expand Down
17 changes: 17 additions & 0 deletions config/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2162,6 +2162,28 @@ spec:
required:
- collectionPolicy
type: object
deviceMapperMultipath:
description: |-
deviceMapperMultipath configures the dmmultipath collector, which collects statistics
about DM-Multipath devices.
deviceMapperMultipath is optional.
When omitted, this means no opinion and the platform is left to choose a reasonable default,
which is subject to change over time. The current default is enabled.
properties:
collectionPolicy:
description: |-
collectionPolicy declares whether the dmmultipath collector collects metrics.
This field is required.
Valid values are "Collect" and "DoNotCollect".
When set to "Collect", the dmmultipath collector is active and DM-Multipath device statistics are collected.
When set to "DoNotCollect", the dmmultipath collector is inactive and the corresponding metrics become unavailable.
enum:
- Collect
- DoNotCollect
type: string
required:
- collectionPolicy
type: object
ethtool:
description: |-
ethtool configures the ethtool collector, which collects ethernet device statistics.
Expand Down
5 changes: 5 additions & 0 deletions config/v1alpha1/zz_generated.model_name.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 22 additions & 12 deletions config/v1alpha1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading