Zabbix: Can't merge data

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?

  • How are you trying to achieve it?

  • What happened?

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL

    Hello,
    I have Grafana v12.2.0 (92f1fba9b4) on rhel8.
    i want to sum same name items from 4 query

    i have zabbix source. from zabbix i have four style items about channels
    they are for example:

/.*black_frame_count_out.*/

/.*blank_frame_count_out.*/

/.*coloured_stripes_detected_out.*/

/.*static_frame_count_out*./

i have each this item on 50 channel.

full name: (H {host=“restreamer-monitoring”, item=“static_frame_count_out_484_KPR_304_OPT”, item_key=“static_frame_count_out[484]”})

i add weights each item style into expression query like this:

$A+1

$B+2

$C+3

$D+4
after this show only wheited item values and change name by “rename field by regex”

.?[(\d+)].*

$1
now i see only IDs into name
in result i have 4 item in each channel and its name is same ID
i want to sum all this 4 items into one for each channel seperatly.

but i dont want to add for each channel seperate transformation (Add fields from calculation)

i want to make with one transformation.
how can i achive this? need i change something before sum?

Hey @giorgiqarva ,

I would recommend that you stop using Expression Queries and try to use a Transformation with Reduce.

Hope it helps.