Skip to content

Add logging of service metadata during instance create/update/delete #4386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

kathap
Copy link
Contributor

@kathap kathap commented Jun 2, 2025

Inform operators which service plan, service offering and broker is involved in service instance creation/update/deletion

  • A short explanation of the proposed change:
    Add names of service plan, service offering and broker as logging information for service instance creation/update/deletion.
    This change updates fetch_writable_service_instance to eagerly load associated service_plan, service, and service_broker relationships for managed service instances. This avoids N+1 queries when accessing these associations later in the request lifecycle.

  • An explanation of the use cases your change solves
    This change improves operator visibility by logging service plan names, offerings, and broker names during service instance creation, update, and deletion.
    Previously, logs only included GUIDs or IDs, requiring manual lookups or customer input to identify the service involved. With this change, operators can directly see which service is affected, making it easier to diagnose issues and support users/customers more efficiently.

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

@kathap kathap marked this pull request as draft June 2, 2025 10:43
…in service instance creation/update/deletion
@kathap kathap force-pushed the log-more-service-details-on-creation branch from 7a5a766 to cd65bf7 Compare June 2, 2025 11:40
@kathap kathap force-pushed the log-more-service-details-on-creation branch from 3a16543 to e7b6273 Compare June 4, 2025 16:44
@kathap kathap force-pushed the log-more-service-details-on-creation branch from 72e4b4b to 1ebd8ae Compare June 5, 2025 11:01
@kathap kathap marked this pull request as ready for review June 5, 2025 11:02
@svkrieger svkrieger force-pushed the log-more-service-details-on-creation branch from 6a3b167 to 511e64b Compare June 13, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants