Skip to content

Grafana Support enhancements #936

Answered by ye11ow
hugo-catlas asked this question in Q&A
Apr 20, 2025 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Hi @hugo-catlas
You can just use the Transformations feature of Grafana to convert the result of Proton into the time series format.

  1. Make sure the first column is the timestamp (e.g. select window_start, the rest of the columns from table)
  2. Go to "Transformations" tab
  3. Select "Prepare time series"
  4. Select "Multi-frame time series" as the Format

This is what I got with my testing data
SQL: select window_start, avg(total_km) as km, cid from hop(car_live_data,3s, 3s) where (cid='c00006' or cid='c00001') group by cid, window_start

Please let me know if this works or not. Thanks!

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@hugo-catlas
Comment options

@ye11ow
Comment options

ye11ow Apr 22, 2025
Collaborator

Answer selected by hugo-catlas
@jovezhong
Comment options

@jovezhong
Comment options

@hugo-catlas
Comment options

@jovezhong
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants