Conversation
7b8e33d to
1bb6047
Compare
Codecov ReportAttention: Patch coverage is
Continue to review full report in Codecov by Sentry.
|
pkg/controller/telemetry/utils.go
Outdated
| tcpConnectionTotalRetransInWorkload = prometheus.NewGaugeVec( | ||
| prometheus.GaugeOpts{ | ||
| Name: "kmesh_tcp_workload_connections_total_retrans", | ||
| Help: "The total number of TCP connections retried to a workload.", |
There was a problem hiding this comment.
As far as I understand, this metric describes the number of packet retransmission in a single connection, but this help message makes me feel it describes the number of connections retries sent to a workloads.
One is the packet granularity and the other is the connection granularity.
There was a problem hiding this comment.
This metric adds up the number of total_retrans for every time src connect to des.
2bbe656 to
a1b7e20
Compare
hzxuzhonghu
left a comment
There was a problem hiding this comment.
replace loss out with packet lost globally
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
8751260 to
14c7dba
Compare
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hzxuzhonghu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind enhancement
What this PR does / why we need it:
Added dimensions of Kmesh workload granularity for metrics and accesslog.
Metrics add :
accesslog add:
Which issue(s) this PR fixes:
Fixes #1091
Special notes for your reviewer:
Does this PR introduce a user-facing change?: