Skip to content

Commit

Permalink
remove tag number limitation of ksm aggregator
Browse files Browse the repository at this point in the history
  • Loading branch information
keisku committed Jun 24, 2024
1 parent 6a6c459 commit 5338888
Show file tree
Hide file tree
Showing 6 changed files with 1,478 additions and 429 deletions.
2 changes: 1 addition & 1 deletion pkg/collector/corechecks/cluster/ksm/kubernetes_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ func (k *KSMCheck) processMetrics(sender sender.Sender, metrics map[string][]ksm
// First check for aggregator, because the check use _labels metrics to aggregate values.
if aggregator, found := k.metricAggregators[metricFamily.Name]; found {
for _, m := range metricFamily.ListMetrics {
aggregator.accumulate(m)
aggregator.accumulate(m, labelJoiner)
}
// Some metrics can be aggregated and consumed as-is or by a transformer.
// So, let’s continue the processing.
Expand Down
Loading

0 comments on commit 5338888

Please sign in to comment.