Coder Social home page Coder Social logo

dashboards's People

Contributors

jeromegn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dashboards's Issues

Add panels for app vs edge region usage

It'd be useful to have in the HTTP section of the default dashboard panels that show edge and app region requests.

I have a couple panels that do this that could be included and might be helpful to others.

App HTTP Count by Region (2xx)

App HTTP Count by Region (2xx) panel

Panel JSON
{
  "id": 37,
  "gridPos": {
    "h": 5,
    "w": 6,
    "x": 0,
    "y": 1
  },
  "type": "bargauge",
  "title": "App HTTP Count by Region (2xx)",
  "pluginVersion": "8.2.2-39068",
  "maxDataPoints": 1,
  "fieldConfig": {
    "defaults": {
      "thresholds": {
        "mode": "percentage",
        "steps": [
          {
            "color": "dark-green",
            "value": null
          },
          {
            "color": "semi-dark-green",
            "value": 25
          },
          {
            "color": "light-green",
            "value": 50
          },
          {
            "color": "super-light-green",
            "value": 75
          }
        ]
      },
      "mappings": [],
      "color": {
        "mode": "thresholds"
      }
    },
    "overrides": []
  },
  "options": {
    "reduceOptions": {
      "values": false,
      "calcs": [
        "last"
      ],
      "fields": ""
    },
    "orientation": "vertical",
    "text": {},
    "displayMode": "gradient",
    "showUnfilled": true
  },
  "targets": [
    {
      "expr": "sort_desc(\n  sum(\n    increase(fly_app_http_responses_count{app=\"$app\",status=~\"2[0-9][0-9]\"}[$__range])\n  )by(region)\n)",
      "legendFormat": "{{region}}",
      "interval": "",
      "exemplar": true,
      "hide": false,
      "instant": true,
      "refId": "B"
    }
  ],
  "interval": null,
  "timeFrom": null,
  "timeShift": null,
  "datasource": null
}

Edge HTTP Count by Region (2xx)

Edge HTTP Count by Region (2xx) panel

Panel JSON
{
  "id": 36,
  "gridPos": {
    "h": 5,
    "w": 18,
    "x": 6,
    "y": 1
  },
  "type": "bargauge",
  "title": "Edge HTTP Count by Region (2xx)",
  "pluginVersion": "8.2.2-39068",
  "maxDataPoints": 1,
  "fieldConfig": {
    "defaults": {
      "thresholds": {
        "mode": "percentage",
        "steps": [
          {
            "color": "dark-green",
            "value": null
          },
          {
            "color": "semi-dark-green",
            "value": 25
          },
          {
            "color": "light-green",
            "value": 50
          },
          {
            "color": "super-light-green",
            "value": 75
          }
        ]
      },
      "mappings": [],
      "color": {
        "mode": "thresholds"
      }
    },
    "overrides": []
  },
  "options": {
    "reduceOptions": {
      "values": false,
      "calcs": [
        "sum"
      ],
      "fields": ""
    },
    "orientation": "auto",
    "text": {},
    "displayMode": "lcd",
    "showUnfilled": true
  },
  "targets": [
    {
      "expr": "sort_desc(\n  sum(\n    increase(fly_edge_http_responses_count{app=\"$app\",status=~\"2[0-9][0-9]\"}[$__range])\n  )by(region)\n)",
      "legendFormat": "{{region}}",
      "interval": "",
      "exemplar": true,
      "format": "time_series",
      "hide": false,
      "instant": true,
      "intervalFactor": 1,
      "refId": "A"
    }
  ],
  "interval": null,
  "timeFrom": null,
  "timeShift": null,
  "datasource": null
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.