Skip to content

[fix][gcp] Update GCP graph relationships to include instances and disks#2334

Open
drwicid wants to merge 1 commit intosomeengineering:mainfrom
drwicid:fix/gcp-compute-graph-edges
Open

[fix][gcp] Update GCP graph relationships to include instances and disks#2334
drwicid wants to merge 1 commit intosomeengineering:mainfrom
drwicid:fix/gcp-compute-graph-edges

Conversation

@drwicid
Copy link

@drwicid drwicid commented Mar 10, 2026

Description

This PR fixes #2333 two missing graph relationships in the GCP compute collector.

  • GcpAddress.connect_in_graph() now links users entries back to GcpInstance nodes.
  • GcpInstance.connect_in_graph() now links attached disk source values to GcpDisk nodes.

The change keeps the existing per-resource graph connection model and closes confirmed topology gaps without broadening the collector design.

Files Changed

  • plugins/gcp/fix_plugin_gcp/resources/compute.py
  • plugins/gcp/test/test_compute.py

Validation

  • I have created tests for any new or updated functionality.
  • [-] I ran tox successfully [tox was noisy, I will have a separate PR to propose changes]

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.

GCP compute graph relationships are missing instance and disk edges

1 participant