Correctness Checking of F5 Values

Open
#228 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
prometheus, python

Research direction

No source files or tests are identified. Start by reproducing the reported comparisons between tmctl snapshots, the bash endpoint, and the named Prometheus metrics using the stated five-second collection interval. Done means explaining whether the observed differences come from rounding, scaling, or incorrect collection, and identifying any required correction.

Written by the indexing model from the issue text.

Description

Hi, I was conducting an analysis into seeing how the metric values from AST compare with what we get directly from curling to the load balancer via the bash endpoint. Here is some info on our configuration for AST:

Collection Interval: 5 seconds

Enabled data-types:

  • f5.cgnat
  • f5.dns
  • f5.dos
  • f5.firewall
  • f5.gtm
  • f5.policy.firewall
  • f5.policy.ip_intelligence
  • f5.policy.nat
  • f5.profile.dos

Comparison Between tmctl of "plane_cpu_stat" snapshot vs f5_plane_cpu_utilization_5s: generally a small difference is observed. Previous iterations showed larger discrepancies.

Image

Comparison Between tmctl of "virtual_server_cpu_stat" snapshot vs f5_virtual_server_cpu_utilization_5: generally a small difference is observed (this is with the assumption that the decimal value is the percentage value but divided by 100). Appears to be rounding applied on AST. Unsure if the value in Prometheus given is decimal representation of the percentage due to what looks like inconsistent rounding - if that's what is being applied (info on this would be great)

Image

Comparison Between tmctl of "profile_http_stat" vs f5_profile_http_requests_total: generally a very small difference is observed. Appears to be rounding applied on AST.

Image

Comparison Between tmctl of "cpu_info_stat" vs f5_system_cpu_utilization_ratio generally a moderate difference is observed.

Image

Comparison Between tcmtl of "systemcpu_info_stat" vs f5_system_cpu_utilization_ratio generally a moderate to large difference is observed.

Image

If more info is needed, please let me know

Dominant language
Python
Stars
106
Forks
43
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from f5devcentral/application-study-tool

All issues in f5devcentral/application-study-tool

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.