Repository navigation
feat(csm): support managed CSM control plane (istio_control_plane) logs - #1187
Conversation
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
fixed. I think this kind of fix should be applied to the in-cluster side. I'll file another PR to address this point.
There was a problem hiding this comment.
Your fix is opposite to my intension..
I wonder if the log stamp included in the jsonPayload is preciser.
18f80f9
Summary
istio_control_plane) logs from Cloud Logging.Google Managed > Control Plane > istio_control_planeand correlate xDS configuration pushes and proxy connection lifecycles onto associated Pod timelines.common/csmcpxDS log detection to supportTimeout writingandClient closed connectionmessages.