Skip to content

Conversation

ddog-nasirthomas
Copy link
Contributor

What does this PR do?

Removes deprovisioning metrics from the Karpenter integration

Motivation

The current OOB dashboard for Karpenter still includes several deprovisioning metrics that were deprecated in the latest major upgrade of Karpenter. These metrics were last available in v0.32 and are no longer present in versions 1.0 and later. Details on the deprecation can be found here: https://karpenter.sh/v0.32/upgrading/v1beta1-migration/#metrics

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

janine-c
janine-c previously approved these changes Sep 22, 2025
karpenter.controller.runtime.reconcile_errors.count,count,,error,,The count of reconciliation errors per controller,0,karpenter,,,
karpenter.controller.runtime.reconcile_panics.count,count,,,,Total number of reconciliation panics per controller,0,karpenter,,,
karpenter.controller.runtime.terminal.reconcile.errors.count,count,,,,Total number of terminal reconciliation errors per controller,0,karpenter,,,
karpenter.deprovisioning.actions_performed.count,count,,execution,,The count of deprovisioning actions performed. Labeled by deprovisioner,0,karpenter,,,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you should get rid of these. It might be better to just list them as deprecated and the version they were deprecated in.

@temporal-github-worker-1 temporal-github-worker-1 bot dismissed janine-c’s stale review September 22, 2025 19:35

Review from janine-c is dismissed. Related teams and files:

  • documentation
    • karpenter/metadata.csv
Copy link

codecov bot commented Sep 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.00%. Comparing base (1b7cdc4) to head (466e519).
⚠️ Report is 18 commits behind head on master.

Additional details and impacted files
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

'karpenter.controller.runtime.reconcile.time_seconds.count',
'karpenter.controller.runtime.reconcile.time_seconds.sum',
'karpenter.controller.runtime.reconcile_errors.count',
'karpenter.deprovisioning.actions_performed.count',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last change, can you leave the fixtures and the test alone? I think just shipping the dashboard changes will be enough here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, it seems like when I remove the fixtures and test it's breaking some of the checks since it is expecting the metrics I removed to be in the karpenter_metrics.txt file. Can I remove them from the test in this case?

@ddog-nasirthomas ddog-nasirthomas force-pushed the nasir.thomas/depreciate-deprovisioning-metrics branch 2 times, most recently from 8d0bc6a to 466e519 Compare September 24, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants