New Metric Request: Add detailed APM profile statistics
@mikempw is already working on this.
Since Sep 11, 2025.
Assessment
This issue has not been assessed yet.
Description
The latest AST version has two metrics for F5 APM devices:
f5_apm_access_sessions_current
f5_apm_access_sessions_limit
This will show potential APM issues- especially when the Active session starts to deviate from established sessions.
Neither of those APM metrics tell you about APM errors.
I have an APM heavy customer that would love additional APM statistics in AST.
There are APM counters under tmctl profile_access_stat that provides some insight into APM session issues:
name vs_name sessions_tot estab_sessions_tot ts_sessions_active_cur sessions_active_cur ts_sessions_estab_cur sessions_estab_cur sessions_logout sessions_admin_term sessions_eval_idle_term sessions_estab_idle_term sessions_misc_term acc_policy_allow acc_policy_deny acc_policy_redir acc_policy_redir_session allowed_requests denied_requests sidlock_waits apdlock_errors name_len vs_name_len
Any non-zero values for those counters would be interesting for an APM customers as a metric in AST, and especially these counters:
sessions_tot ## this is similar to the existing metric- but counter, not a gauge. Counters are better for applying rate functions.
estab_sessions_tot ## this is similar to the existing metric- but counter, not a gauge. Counters are better for applying rate functions.
sessions_eval_idle_term
sessions_estab_idle_term
sessions_misc_term
allowed_requests
denied_requests
sidlock_waits
apdlock_errors
There is another APM table profile_access_misc_stat where any non-zero stats would be helpful as well:
name config_sync_state insp_result_error insp_session_error insp_device_info_error insp_token_error insp_signature_error insp_data_msmtch_error insp_client_sign_error mem_init_error mem_session_var_error mem_close_error result_error internal_error
- Dominant language
- Python
- Stars
- 106
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from f5devcentral/application-study-tool
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 62/100
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
f5devcentral/application-study-tool#267 · 7 comments ·
All issues in f5devcentral/application-study-tool
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100