[ZBX-19458] Trigger function grouping differences in frontend and documentation Created: 2021 May 26  Updated: 2022 Sep 06  Resolved: 2022 Sep 06

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.1rc1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Andris Zeila Assignee: Zabbix Development Team
Resolution: Fixed Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Documentation backlog

 Description   

When adding function to trigger expression user can open combo box and choose a function from the list. The functions in the list are grouped by categories and the grouping differs from documentation:

  1. count, countunique are under 'aggregate functions' section. I think they should be moved to 'history functions' like in frontend. Neither count or countunique work with _foreach() function results, so from usage they are more similar to history functions.
  2. find function is under 'string functions' section. It really should be moved to 'history functions' because it works with item history.
  3. min, max, sum, avg in documentation are listed as aggregate functions and as mathematical functions. They do have dual usage, so I would keep them documented as such. While in frontend there are options:
    1. leave in mathematical function section
    2. move to aggregate function section (they might be used more as aggregate functions)
    3. list them in two places (might be confusing)


 Comments   
Comment by Marina Generalova [ 2022 Sep 06 ]

Suggested changes have been implemented in Zabbix 5.4.0 release

Generated at Tue Jan 07 23:42:45 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.