{
  "dashboard": {
    "id": null,
    "title": "Postiz Business Metrics",
    "tags": ["postiz", "business", "metrics"],
    "timezone": "browser",
    "panels": [
      {
        "id": 1,
        "title": "Active Users",
        "type": "stat",
        "targets": [
          {
            "expr": "count(postiz_active_users)",
            "legendFormat": "Active Users"
          }
        ],
        "fieldConfig": {
          "defaults": {
            "color": {
              "mode": "palette-classic"
            }
          }
        }
      },
      {
        "id": 2,
        "title": "Posts Published Today",
        "type": "stat",
        "targets": [
          {
            "expr": "sum(postiz_posts_published_total)",
            "legendFormat": "Posts Today"
          }
        ]
      },
      {
        "id": 3,
        "title": "API Requests Rate",
        "type": "timeseries",
        "targets": [
          {
            "expr": "rate(postiz_api_requests_total[5m])",
            "legendFormat": "{{endpoint}}"
          }
        ]
      },
      {
        "id": 4,
        "title": "Database Connections",
        "type": "stat",
        "targets": [
          {
            "expr": "postiz_db_connections",
            "legendFormat": "DB Connections"
          }
        ]
      }
    ],
    "time": {
      "from": "now-1h",
      "to": "now"
    }
  },
  "folderId": 0,
  "message": "Postiz business metrics dashboard",
  "overwrite": false
}
