@@ -28,17 +28,17 @@ type HttpTransaction struct {
28
28
29
29
// Metadata contains process and connection information
30
30
type Metadata struct {
31
- ProcessID string `json:"process_id,omitempty"`
32
- ProcessExe string `json:"process_exe,omitempty"`
33
- ContainerName string `json:"container_name,omitempty"`
34
- ContainerImage string `json:"container_image,omitempty"`
35
- PodName string `json:"pod_name,omitempty"`
36
- PodNamespace string `json:"pod_namespace,omitempty"`
37
- BytesSent int64 `json:"bytes_sent,omitempty"`
38
- BytesReceived int64 `json:"bytes_received,omitempty"`
39
- QpointRequestID string `json:"qpoint_request_id ,omitempty"`
40
- ConnectionID string `json:"connection_id,omitempty"`
41
- EndpointID string `json:"endpoint_id,omitempty"`
31
+ ProcessID string `json:"process_id,omitempty"`
32
+ ProcessExe string `json:"process_exe,omitempty"`
33
+ ContainerName string `json:"container_name,omitempty"`
34
+ ContainerImage string `json:"container_image,omitempty"`
35
+ PodName string `json:"pod_name,omitempty"`
36
+ PodNamespace string `json:"pod_namespace,omitempty"`
37
+ BytesSent int64 `json:"bytes_sent,omitempty"`
38
+ BytesReceived int64 `json:"bytes_received,omitempty"`
39
+ RequestID string `json:"request_id ,omitempty"`
40
+ ConnectionID string `json:"connection_id,omitempty"`
41
+ EndpointID string `json:"endpoint_id,omitempty"`
42
42
}
43
43
44
44
// Request contains HTTP request information
@@ -185,8 +185,8 @@ func (m Metadata) Summary() map[string]any {
185
185
if m .PodNamespace != "" {
186
186
summary ["pod_namespace" ] = m .PodNamespace
187
187
}
188
- if m .QpointRequestID != "" {
189
- summary ["qpoint_request_id " ] = m .QpointRequestID
188
+ if m .RequestID != "" {
189
+ summary ["request_id " ] = m .RequestID
190
190
}
191
191
if m .ConnectionID != "" {
192
192
summary ["connection_id" ] = m .ConnectionID
@@ -263,8 +263,8 @@ func (t *HttpTransaction) ToString() string {
263
263
text += " Duration: " + strconv .FormatInt (t .DurationMs , 10 ) + "ms\n "
264
264
}
265
265
text += " Direction: " + t .Direction + "\n "
266
- if t .Metadata .QpointRequestID != "" {
267
- text += " Request ID: " + t .Metadata .QpointRequestID + "\n "
266
+ if t .Metadata .RequestID != "" {
267
+ text += " Request ID: " + t .Metadata .RequestID + "\n "
268
268
}
269
269
if t .Metadata .ProcessID != "" {
270
270
text += " Process ID: " + t .Metadata .ProcessID + "\n "
0 commit comments