scenes

Build Grafana dashboards directly in your Grafana app plugins.

APACHE-2.0 License

Downloads
87.4K
Stars
116
Committers
45

Bot releases are visible (Hide)

scenes - v1.5.2

Published by grafanabot about 1 year ago

🐛 Bug Fix

  • @grafana/scenes
    • SceneDataTransformer: Handle transformation errors #354 (@dprokop)
    • AnnotationsDataLayer: Events deduplication #351 (@dprokop)

Authors: 1

scenes - v1.5.1

Published by grafanabot about 1 year ago

🐛 Bug Fix

  • @grafana/scenes
    • AnnotationsDataLayer: Provide inheritance extension points #347 (@dprokop)

Authors: 1

scenes - v1.5.0

Published by grafanabot about 1 year ago

🚀 Enhancement

  • @grafana/scenes

Authors: 1

scenes - v1.4.0

Published by grafanabot about 1 year ago

🚀 Enhancement

  • @grafana/scenes
    • Variables: Fixes issue with running variable queries with custom or legacy runner #348 (@torkelo)
    • QueryVariable: Fixes queries with older model #340 (@torkelo)

Authors: 1

scenes - v1.3.3

Published by grafanabot about 1 year ago

🐛 Bug Fix

  • @grafana/scenes
    • SceneAppPage: Fix infinite recurision of enrichDataRequest #345 (@torkelo)
    • Data layer controls: Allow hiding #344 (@dprokop)

Authors: 2

scenes - v1.3.2

Published by grafanabot about 1 year ago

🐛 Bug Fix

  • @grafana/scenes
    • Annotations filtering operator: Correctly populate filtered frames #343 (@dprokop)

Authors: 1

scenes - v1.3.1

Published by grafanabot about 1 year ago

🐛 Bug Fix

  • @grafana/scenes
    • AnnotationsDataLayer: Handle data source error #342 (@dprokop)
    • DataLayers: Allow cancelling layers from layer control #337 (@dprokop)

Authors: 1

scenes - v1.3.0

Published by grafanabot about 1 year ago

🚀 Enhancement

  • @grafana/scenes
    • NestedScene: Update design to match grid row, add controls property and update demo scene to include variables #335 (@torkelo)

🐛 Bug Fix

Authors: 2

scenes - v1.2.0

Published by grafanabot about 1 year ago

🚀 Enhancement

  • @grafana/scenes
    • SceneObject: Add getRef for easier SceneObjectRef usage #330 (@torkelo)

🐛 Bug Fix

  • @grafana/scenes

Authors: 1

scenes - v1.1.1

Published by grafanabot about 1 year ago

🐛 Bug Fix

  • @grafana/scenes

Authors: 1

scenes - v1.1.0

Published by grafanabot about 1 year ago

🚀 Enhancement

Authors: 1

scenes - v1.0.0

Published by grafanabot about 1 year ago

💥 Breaking Change

Authors: 1

scenes - v0.29.2

Published by grafanabot about 1 year ago

🐛 Bug Fix

  • @grafana/scenes
    • SceneObject: Support changing $data, $timeRange and $variables during the active phase #324 (@torkelo)

Authors: 1

scenes - v0.29.1

Published by grafanabot about 1 year ago

🐛 Bug Fix

  • @grafana/scenes
    • SceneGridRow: Small design change and fixes, add actions support #321 (@torkelo)

Authors: 1

scenes - v0.29.0

Published by grafanabot about 1 year ago

🚀 Enhancement

  • @grafana/scenes
    • TestVariable: Add optionsToReturn and other unrelated changes #314 (@torkelo)
    • Variables: New LocalValueVariable to better support repeating panels #317 (@torkelo)
    • VizPanel: Remove left-over isDraggable/isResizable state #315 (@torkelo)
    • QueryVariable: Support null ds #316 (@torkelo)
    • SceneTimeRangeTransformerBase #312 (@torkelo)
    • VizPanel: Allow panels to rendered without layout parent #302 (@torkelo)

🐛 Bug Fix

  • @grafana/scenes

Authors: 2

scenes - v0.28.1

Published by grafanabot about 1 year ago

🐛 Bug Fix

  • @grafana/scenes

Authors: 1

scenes - v0.28.0

Published by grafanabot about 1 year ago

🚀 Enhancement

  • @grafana/scenes
    • SceneObjectRef: Provide a way to have references to other scene objects without impacting parent #304 (@torkelo)

Authors: 1

scenes - v0.27.0

Published by grafanabot about 1 year ago

Release Notes

Allow time range comparison (#244)

You can now automatically perform queries against a secondary time range to visualize time-over-time comparisons. Use SceneTimeRangeCompare as in the example below:

const queryRunner = new SceneQueryRunner({
  datasource: {
    type: 'prometheus',
    uid: 'gdev-prometheus',
  },
  queries: [
    {
      refId: 'A',
      expr: 'rate(prometheus_http_requests_total{handler=~"/metrics"}[5m])',
    },
  ],
});

const scene = new EmbeddedScene({
  $data: queryRunner,
  $timeRange: new SceneTimeRange({ from: 'now-5m', to: 'now' }),
  controls: [
    new SceneTimePicker({}), 
    new SceneTimeRangeCompare({}) // Use this object to enable time frame comparison UI
  ],
  body: new SceneFlexLayout({
    direction: 'row',
    children: [
      new SceneFlexItem({
        width: '100%',
        height: '100%',
        body: PanelBuilders.timeseries().setTitle('Panel using global time range').build(),
      }),
    ],
  }),
 });

🚀 Enhancement

Authors: 2

scenes - v0.26.0

Published by grafanabot about 1 year ago

🚀 Enhancement

  • @grafana/scenes

Authors: 1

scenes - v0.25.0

Published by grafanabot about 1 year ago

🚀 Enhancement

  • @grafana/scenes
    • SceneQueryRunner: Fixes issues when being cloned #288 (@torkelo)

🐛 Bug Fix

  • @grafana/scenes

Authors: 2