Simple Timelion series code quality over time

Hi I want to visualize code quality over time.

I have this

Here is my current Timelion expression. I just want a graph over time of code_quality_report.score going up and down.

.es(q=branch:cl_preprod, metric=max:code_quality_report.score).label('cl_preprod').title('Code Quality Over Time')

Hey @dbwest

What happens if you add timefield=Time to your expression? (Substitute "Time" with the name of your timestamp field, I based that off of your screenshot above)

Looking for something more like this line chart I made:

You may have to adjust the time interval from auto to something more specific. Here's what I was able to come up with using the following:

.es(q=branch:cl_preprod, timefield=time, metric=max:code_quality_report.score).label('cl_preprod').title('Code Quality Over Time')

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.