kumahq / kuma

🐻 The multi-zone service mesh for containers, Kubernetes and VMs. Built with Envoy. CNCF Sandbox Project.
https://kuma.io/install
Apache License 2.0
3.66k stars 333 forks source link

Dataplane Insights - responses acknowledge #994

Closed jakubdyszkiewicz closed 1 month ago

jakubdyszkiewicz commented 4 years ago

Summary

Demo app with reconnection showed me this

  dataplaneInsight:
    mTLS:
      certificateExpirationTime: "2020-08-26T10:29:59Z"
      certificateRegenerations: 2
      lastCertificateRegeneration: "2020-08-25T10:30:00.156814200Z"
    subscriptions:
    - connectTime: "2020-08-25T09:42:32.011975300Z"
      controlPlaneInstanceId: 9b6124f3-53d1-490e-926f-a0d191187c4c
      id: 8666910a-54f9-4dfc-9ed4-a794173bc5e1
      status:
        cds:
          responsesAcknowledged: "7"
          responsesSent: "7"
        eds:
          responsesAcknowledged: "32"
          responsesSent: "16"
        lastUpdateTime: "2020-08-25T10:12:56.295622600Z"
        lds:
          responsesAcknowledged: "12"
          responsesRejected: "1"
          responsesSent: "13"
        rds:
          responsesAcknowledged: "3"
          responsesRejected: "3"
          responsesSent: "6"
        total:
          responsesAcknowledged: "54"
          responsesRejected: "4"
          responsesSent: "42"
    - connectTime: "2020-08-25T10:29:56.005928300Z"
      controlPlaneInstanceId: bb86b6ba-ff02-479b-b1ad-2c84b89cd5c1
      id: 4b9f76af-0a08-494d-b91c-8455d2785a83
      status:
        cds:
          responsesAcknowledged: "3"
          responsesSent: "2"
        eds:
          responsesAcknowledged: "28"
          responsesSent: "5"
        lastUpdateTime: "2020-08-25T10:32:03.853747400Z"
        lds:
          responsesAcknowledged: "3"
          responsesSent: "2"
        rds:
          responsesAcknowledged: "2"
          responsesSent: "1"
        total:
          responsesAcknowledged: "36"
          responsesSent: "10"

the

responsesAcknowledged: "36"
responsesSent: "10"

does not really make sense.

jakubdyszkiewicz commented 4 years ago

It also affects ZoneInsights

subnetmarco commented 4 years ago

Can you describe the problem @jakubdyszkiewicz ?

jakubdyszkiewicz commented 4 years ago

I expect responses ack to be lower than the responses sent.

The reason why the number is higher is because how XDS protocol works, so IMHO we should either pick a better name or filter out real ACKs

github-actions[bot] commented 2 years ago

This issue was inactive for 30 days it will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant please comment on it promptly or attend the next triage meeting.

github-actions[bot] commented 2 years ago

This issue was inactive for 30 days it will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant please comment on it promptly or attend the next triage meeting.

lahabana commented 2 years ago

I've seen this happen in recent versions.

lahabana commented 2 years ago

Putting back on triage to discuss what the cause might be

github-actions[bot] commented 2 years ago

This issue was inactive for 30 days it will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant please comment on it promptly or attend the next triage meeting.

github-actions[bot] commented 2 years ago

This issue was inactive for 30 days it will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant please comment on it promptly or attend the next triage meeting.

jakubdyszkiewicz commented 2 years ago

Triage: some of the ACK should be counted as a new field "resourceRequested" (just like XDS logs)

github-actions[bot] commented 1 year ago

This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.

github-actions[bot] commented 1 year ago

This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.

github-actions[bot] commented 1 year ago

This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.

github-actions[bot] commented 1 year ago

This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.

github-actions[bot] commented 11 months ago

This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.

github-actions[bot] commented 8 months ago

This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.

github-actions[bot] commented 5 months ago

This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.

github-actions[bot] commented 1 month ago

This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. If you think this issue is still relevant, please comment on it or attend the next triage meeting.

lahabana commented 1 month ago

Back to pending to discuss if something is worth being done here or not

jakubdyszkiewicz commented 1 month ago

Triage: we are considering removing this entry. The only useful info from here is responsesRejected