Skip to content

make bpm optional - #321

Merged
chombium merged 1 commit into
cloudfoundry:mainfrom
mkocher:make-bpm-optional
Jul 15, 2026
Merged

make bpm optional#321
chombium merged 1 commit into
cloudfoundry:mainfrom
mkocher:make-bpm-optional

Conversation

@mkocher

@mkocher mkocher commented Jul 14, 2026

Copy link
Copy Markdown
Member

When system-metrics-release is deployed as an add on requiring bpm is problematic as the version of bpm in the add on must exactly match the version in the deployment manifest. Making it optional for now, allowing for a transition period.

I also fixed up the readme while I was adding documentation for this change.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Testing performed?

  • Unit tests
  • Integration tests
  • Acceptance tests

Checklist:

  • This PR is being made against the main branch, or relevant version branch
  • I have made corresponding changes to the documentation
  • I have added testing for my changes

If you have any questions, or want to get attention for a PR or issue please reach out on the #logging-and-metrics channel in the cloudfoundry slack

When system-metrics-release is deployed as an add on requiring bpm is
problematic as the version of bpm in the add on must exactly match the version
in the deployment manifest. Making it optional for now, allowing for a
transition period.
bosh_metrics_forwarder_metrics_only:
description: "reduces metrics emitted only to the metrics emitted by the bosh system metrics forwarder"
default: false
clock_drift_enabled:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I remember I had to fix a merge conflict when BPM was enabled in a previous PR and I attempted to add the clock drift flag in - does this bring back something or make it so that we'd have to add this enabled flag somewhere else, or is it ok?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess you had to fix merge conflicts as @mkocher was working on job spec changes. This change doesn't change the clock_drift properties

@jorbaum jorbaum left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. It sounds like you have good reasons for bringing this back. It could also help to be more specific about the use case here. Considering chpst is still missing on Resolute stemcell.

I also fixed up the readme while I was adding documentation for this change.

I can see no readme change. Maybe you forgot to add this?

When true, run this job under BPM. BPM is required on Resolute Raccoon
stemcells; support for running without BPM will be removed in a future
version.
default: false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I wonder if using a default of false is a good idea here. Especially since you mention non-bpm will be dropped in a future release.

@chombium chombium left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice work @mkocher. Thanks for working on this.

bosh_metrics_forwarder_metrics_only:
description: "reduces metrics emitted only to the metrics emitted by the bosh system metrics forwarder"
default: false
clock_drift_enabled:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess you had to fix merge conflicts as @mkocher was working on job spec changes. This change doesn't change the clock_drift properties

When true, run this job under BPM. BPM is required on Resolute Raccoon
stemcells; support for running without BPM will be removed in a future
version.
default: false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice. You've thought about not breaking the current behavior <3

@chombium
chombium merged commit 43d0a1f into cloudfoundry:main Jul 15, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

4 participants