[ZBXNEXT-5124] Extend preprocessing testing with the final result (type cast) Created: 2019 Mar 20  Updated: 2020 Jan 08  Resolved: 2019 Jun 20

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Server (S)
Affects Version/s: None
Fix Version/s: 4.2.4rc1, 4.4.0alpha1, 4.4 (plan)

Type: Change Request Priority: Trivial
Reporter: Vjaceslavs Bogdanovs Assignee: Miks Kronkalns
Resolution: Fixed Votes: 2
Labels: frontend, preprocessing, usability
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File Selection_341.png     PNG File Selection_346.png     PNG File error_preprocesing.png     PNG File error_preprocesing_no_error_collapsed.png     PNG File error_preprocesing_no_error_expanded.png     PNG File preproc_conversion_error.png     PNG File preprocessing_1.png     PNG File preprocessing_2.png     PNG File preprocessing_3.png     PNG File preprocessing_4.png     PNG File with_numeric_float.png     PNG File with_numeric_unsigned.png    
Issue Links:
Sub-task
depends on ZBX-15827 Preprocessing testing does not report... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
ZBXNEXT-5125 Server changes for preprocessing test... Change Request (Sub-task) Closed Zabbix Development Team  
Team: Team B
Sprint: Sprint 50 (Mar 2019), Sprint 51 (Apr 2019), Sprint 52 (May 2019), Sprint 53 (Jun 2019)
Story Points: 0.5

 Description   

Currently some preprocessing steps are using type of information in order to get result.

For example, Custom multiplier used with "Numeric (unsigned)" type will give result that is casted to unsigned numeric:

Changing type of information will also change the result of preprocessing:

As for the other preprocessing types (like Javascript), result is not casted. For "Numeric (unsigned)", result of the Javascript is the following:

I propose to add additional info to preprocessing test dialog that will give users "the final result" of preprocessing, including type casting like so:



 Comments   
Comment by Miks Kronkalns [ 2019 Jun 03 ]

Implemented in development branch feature/ZBX-15827

Comment by Miks Kronkalns [ 2019 Jun 17 ]

Fixed in:
 - 4.2.4rc1 bff82423f01, b13113b85de
 - 4.4.0alpha1 (master) eec13cafe37, c59b64292e2, 6fd1118cfa9

Comment by Alexander Vladishev [ 2019 Jun 20 ]

Updated documentation:

  • Item preprocessing testing: 4.2, 4.4
  • What's new for 4.2.4
Generated at Thu Mar 28 18:40:02 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.