Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement for throughput related panels in Grafana #102

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

yuntanghsu
Copy link
Contributor

Change the throughput calculation for the panels aggregating connections' throughput.

Some panels use sum(throughput) when grouping the connections. The throughput it shows is not quite correct. For some short connections, they will occupy a large of proportion when we do the calculation.

Change it to SUM(octetDeltaCount)*8000/$__interval_ms to have accurate result.

Affected panel:

  1. Throughput of Pod as Source (pod-to-pod-dashboard)
  2. Throughput of Pod as Destination (pod-to-pod-dashboard)
  3. Throughput of Node-to-Node (node-to-node-dashboard)
  4. Reverse Throughput of Node-to-Node (node-to-node-dashboard)
  5. Throughput of Node as Source (node-to-node-dashboard)
  6. Throughput of Node as Destination (node-to-node-dashboard)
  7. Throughput of Pod as Source (pod-to-service-dashboard)
  8. Throughput of Pod as Destination (pod-to-service-dashboard)

Signed-off-by: Yun-Tang Hsu [email protected]

@yuntanghsu yuntanghsu force-pushed the grafana_throughput branch 3 times, most recently from 618f43d to 9ac5502 Compare August 29, 2022 21:05
@yuntanghsu
Copy link
Contributor Author

/theia-test-e2e

@yuntanghsu yuntanghsu marked this pull request as draft August 30, 2022 00:17
@yuntanghsu
Copy link
Contributor Author

/theia-test-e2e

@yuntanghsu yuntanghsu marked this pull request as ready for review August 30, 2022 21:39
@yuntanghsu
Copy link
Contributor Author

/theia-test-e2e

@yuntanghsu
Copy link
Contributor Author

/theia-test-e2e

@yuntanghsu
Copy link
Contributor Author

/theia-test-e2e

Copy link

@dreamtalen dreamtalen left a comment

Choose a reason for hiding this comment

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

LGTM

@yuntanghsu yuntanghsu merged commit 29c0fa6 into antrea-io:main Sep 30, 2022
@yuntanghsu yuntanghsu deleted the grafana_throughput branch September 30, 2022 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants