Create node graph with only edges, or perform transformations on each query separately

  • What Grafana version and what operating system are you using?
    v11.2.0, in docker container
  • What are you trying to achieve?
    Create node graph of network
  • How are you trying to achieve it?
    That’s the problem. OpenWRT (via prometheus) reports source, destination, traffic via having a separate label for each source and destination pair. I can convert this into a table using a transformation, but if I do this I can only do it for one instance of the query. I can generate either the nodes or the edges table, but not both! If I create two of the same query, it’s not possible to say filter one with sequential numbers for the ID and source (being used as the node ID/source node) and destination (used as target) and a separate table with ID as source IP. How can I do this?
  • Can you copy/paste the configuration(s) that you are having problems with?
    Try to do transformations on separate queries in the same panel, you can’t do them both separate. I need two separate tables for the node graph, because edges need IDs for some reason.