Skip to content

[grafana] container dashboard make them more portable #482

@DrummyFloyd

Description

@DrummyFloyd

Describe the enhancement you are proposing:

Because many user have already there own stack, and don't want to install dedicated stack... but want to reuse predefined dashboards created by CrunchyData would be appreciated to have a better used of

{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "PROMETHEUS",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],

old HARDCODED(using labels)

  "panels": [
    {
      "datasource": "PROMETHEUS",
      "fieldConfig": {
...
Image

New based on __inputs

  "panels": [
    {
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    UNCONFIRMEDInitial state. Need's triaged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions