Skip to content

feat(csm): support managed CSM control plane (istio_control_plane) logs - #1187

Merged
kyasbal merged 4 commits into
GoogleCloudPlatform:mainfrom
K53:push-kwrzlzrunrow
Oct 29, 2026
Merged

kyasbal merged 4 commits into
GoogleCloudPlatform:mainfrom
K53:push-kwrzlzrunrow

Conversation

@K53

@K53 K53 commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add query and timeline mapper tasks for Managed Cloud Service Mesh control plane (istio_control_plane) logs from Cloud Logging.
  • Record control plane events under Google Managed > Control Plane > istio_control_plane and correlate xDS configuration pushes and proxy connection lifecycles onto associated Pod timelines.
  • Extend common/csmcp xDS log detection to support Timeout writing and Client closed connection messages.
image

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request introduces support for Managed Cloud Service Mesh (CSM) control plane logs (istio_control_plane) to visualize xDS configuration pushes and proxy connections on associated Pod timelines. Key changes include updating the pod identifier to parse new connection status prefixes, implementing log extraction, ingestion, grouping, and timeline mapping for control plane logs, and registering these new tasks within the CSM module. Additionally, corresponding unit tests have been added to verify the new functionality. I have no feedback to provide as there are no review comments to evaluate.

}
cs.SetSummary(fs.Message)
if fs.Timestamp != nil {
cs.SetTimestamp(*fs.Timestamp)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Currently this logic prioritize .timestamp field rather than the timestamp parsed from log body message.
If istio logic itself can include the timestamp inside the log body, I wonder if that would be a bit more precise than the log field measured from fluentbit.

This makes a little difference in the most of cases thus this fix is optional.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

fixed. I think this kind of fix should be applied to the in-cluster side. I'll file another PR to address this point.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Your fix is opposite to my intension..
I wonder if the log stamp included in the jsonPayload is preciser.

@kyasbal
kyasbal added this pull request to the merge queue Oct 29, 2026
Merged via the queue into GoogleCloudPlatform:main with commit 18f80f9 Oct 29, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants