Skip to content

[BUG] Mixins outdated and impossible to add to recent grafana versions #1509

@eloo-abi

Description

@eloo-abi

Is there an existing issue for this?

  • I have searched the existing issues

YACE version

"latest" main branch

Config file

n/a

Current Behavior

Running grizzly to apply dashboard results in an error which is may related to the outdated version of grafonnet lib.
Currently version grafana-7 is used but we are at grafana-11 already.
https://github.com/nerdswords/yet-another-cloudwatch-exporter/blob/master/mixin/dashboards/ebs.libsonnet

The syntax for grafana-11 seems to have changed which results in errors like this:

Dashboard.ad24377f0757fdefc9c6e83572153a65 failed: uid '' and name 'ad24377f0757fdefc9c6e83572153a65', don't match

Expected Behavior

I can apply the dashboards as mentioned in the docs:
https://github.com/nerdswords/yet-another-cloudwatch-exporter/blob/master/mixin/README.md

Steps To Reproduce

  1. Deploy recent grafana version (11.x)
  2. git clone yace
  3. cd mixin
  4. follow the README.md to apply dashboard
  5. get the error mentioned above

Anything else?

It looks like the api in grafonnet 11 has changes.
so the jsonnet files needs to migrated

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions