Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameTypeDescription
kafka.server:type=MetadataLoader,name=FinalizedLevel,featureName=XIntegerThe finalized value of the feature level for a feature named "X".
kafka.server:type=NodeMetricsnode-metrics,name=MinimumSupportedLevel,featureNameminimum-supported-level,feature-name=XIntegerThe minimum supported feature level for a feature named "X" on the node.

kafka.server:type=NodeMetricsnode-metrics,name=MaximumSupportedLevel,featureNamemaximum-supported-level,feature-name=X

IntegerThe maximum supported feature level for a feature named "X" on the node.

The FinalizedLevel  metric will report the finalized feature level for each production feature. If the feature level is not set, the metric will return a value of 0, since that means the feature is not enabled. This metric should still reside in the MetadataLoader metric group because its value is derived from the metadata log's feature records.

MinimumSupportedLevelminimum-supported-level  and MaximumSupportedLevel maximum-supported-level  are metrics whose values are dependent only on the software version being run, so it seems appropriate to define a new metric type to house these sorts of metrics going forward (release version, commit hash, etc.).

...