Chained merge transformation

  • What Grafana version and what operating system are you using?
    11.4.0 (b58701869e)

  • What are you trying to achieve?
    I want to merge the frames with non-time data and that have common data with the next ones. Like:
    frame1:

    • data1;
    • idToMerge1.

    frame2:

    • data2;
    • idToMerge1;
    • idToMerge2.

    frame3:

    • data3;
    • idToMerge2.

    I understand that merge transformation requires all the frames to have the shared field. But maybe there is another way to achieve it?

  • How are you trying to achieve it?
    By using merge transformation. I also tried to use filter of merge transformation to apply the transformation to certain frames consequently. But it seems the filter allows to select only one frame to apply transformation to.

  • What happened?
    The frames are not merged into single one

  • What did you expect to happen?
    The single frame with merged data:

    | data1 | data2 | data3 | idToMerge1 | idToMerge2 |
    |-------|-------|-------|------------|------------|
    | ...   | ...   | ...   | ...        | ...        |
    |       |       |       |            |            |
    |       |       |       |            |            |
    
  • 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.
    No

  • Did you follow any online instructions? If so, what is the URL?
    Transform data | Grafana documentation