// This file was generated by https://github.com/grafana/dashboard-spec

{
  new(
    datasource='default',
    expr=null,
    format='time_series',
    instant=null,
    interval=null,
    intervalFactor=null,
    legendFormat=null,
  ):: {
    [if datasource != null then 'datasource']: datasource,
    [if expr != null then 'expr']: expr,
    [if format != null then 'format']: format,
    [if instant != null then 'instant']: instant,
    [if interval != null then 'interval']: interval,
    [if intervalFactor != null then 'intervalFactor']: intervalFactor,
    [if legendFormat != null then 'legendFormat']: legendFormat,
  },
}
