grafana / grafonnet-lib

Jsonnet library for generating Grafana dashboard files.
https://grafana.github.io/grafonnet-lib/
Apache License 2.0
1.08k stars 217 forks source link

Timeseries is missing in grafana.libsonnet #358

Open luethiandrin opened 2 years ago

luethiandrin commented 2 years ago

Timeseries graph not available in library.

eremid commented 1 year ago

Thanks @rhowe I found a little typo using your fork at line 121 [if axisShowGridLines != 'auto' then 'axisGridShow']: axisShowGridLines, not [if axisShowGridLines != 'auto' then 'axisShowGrid']: axisShowGridLines,

rhowe commented 1 year ago

I found a little typo using your fork at line 121

Good catch. I've amended the PR for the grafana repo and updated master on my fork via https://github.com/rhowe/grafonnet-lib/pull/3.

denisok commented 1 year ago

Hi @chaudum @malcolmholmes ,

I see you merged other PR recently, could you please check this issue and there is PR #362 that is adding this awesome functionality!

Thank you in advance!

rhowe commented 1 year ago

@denisok I don't think it's likely that #362 or anything similar will be merged into Grafana's grafonnet repository as the focus has shifted to building a new library, generated from data definitions in the grafana repository. However, that's not ready yet so if you want to use grafonnet and want timeseries panel support you can consider using my fork at https://github.com/rhowe/grafonnet-lib - it has timeseries, new stat panel and new table panel support.

It's not a grafana-ordained codebase, but it's working out OK for my use.

denisok commented 1 year ago

Hi @rhowe,

Thank you for the response.

focus has shifted to building a new library

I seen that mention couple of times, but it is not transparent enough. Do you know where this work is tracked ? Maybe community could help with it?

Thanks, Denys

rhowe commented 1 year ago

Checkout the #grafonnet and #dashboards-as-code channels on Grafana slack. There are some links there.

You can also get a sense of what's going on from https://github.com/grafana/grafonnet-lib/pull/380

malcolmholmes commented 1 year ago

@denisok it is a new codebase, we will share as soon as it reaches a minimum of stability to trigger meaningful conversations.