Custom Tooltip Data

  • What Grafana version and what operating system are you using?
    9.5.0 from windows through chrome

  • What are you trying to achieve?
    Custom value appearing in my tooltips from the runid field in my data.

    • I am working in a timeseries
    • I am using an elasticsearch datasource.
    • I have a bunch of data that is clustered around runs that I wanted to graph the averages of for each cluster.
    • I am using a Raw Data query, then a group by transform and an organize and convert transform to really good effect.
    • The group by is gathering up all the data per run and producing an average as expected and I get out the calculated average value and the runId + a time.

    The generated graph shows the data over time as expected.

    However, I would really like to include the runId in the tooltip when mousing over the generated data point OR as an additional label on the time axis. I do not currently have a way to do this and I am hoping someone might have an idea of how this could be accomplished.

  • How are you trying to achieve it?

    See above I am grouping by runId and graphing the resulting means over time but I really want that runId to be visible per data point on the chart.