Trystan
02/20/2024, 9:35 PMflink_k8soperator_namespace_FlinkVersion_1_17_1_Count
i’ve been looking at a various metric excludes/additional variables/whatever and can’t quite make heads or tails whether it’s possible to:
• exclude the version from the metric (i think metrics.reporter.prom.scope.variables.excludes: FlinkVersion might accomplish this?)
• add FlinkVersion: 1_17_1 to the labels of the prom metrics. i’m not sure if this is possible because the operator adds two groups, rather than a group with a key/value:
.addGroup(FLINK_VERSION_GROUP_NAME)
.addGroup(flinkVersion)
and not
.addGroup(FLINK_VERSION_GROUP_NAME, flinkVersion)
why do i want to do this? it’d be handy to track counts of known versions with a simple sum, instead of having to write a complex regex metric name queryTim Wolfe
02/24/2024, 8:34 PMTrystan
02/26/2024, 2:46 PM