# dashboard

slug: repository-groups
title: Repository groups
created: 2023-09-13 22:35:06.947091978+00:00
updated: 2023-09-13 22:35:06.947092048+00:00
uid: 68
data:
  {
    "editable": true,
    "gnetId": null,
    "version": 2,
    "panels": [
      {
        "id": 1,
        "interval": "",
        "links": [],
        "targets": [
          {
            "groupBy": [
              {
                "params": [
                  "$__interval"
                ],
                "type": "time"
              },
              {
                "params": [
                  "null"
                ],
                "type": "fill"
              }
            ],
            "metricColumn": "none",
            "tags": [],
            "timeColumn": "time",
            "alias": "",
            "orderByTime": "ASC",
            "where": [
              {
                "name": "$__timeFilter",
                "params": [],
                "type": "macro"
              }
            ],
            "format": "table",
            "rawQuery": true,
            "resultFormat": "table",
            "dsType": "influxdb",
            "group": [],
            "policy": "default",
            "query": "",
            "rawSql": "select\n  distinct coalesce(case repo_group when '' then 'Not specified' else repo_group end, 'Not specified') as \"Repository group\",\n  name as \"Repository\"\nfrom\n  gha_repos\nwhere\n  name like '%_/_%'\n  and name not like '%/%/%'\n  and ('[[repogroups:csv]]' = 'null' or coalesce(case repo_group when '' then 'Not specified' else repo_group end, 'Not specified') in ([[repogroups]]))",
            "refId": "A",
            "select": [
              [
                {
                  "params": [
                    "value"
                  ],
                  "type": "field"
                },
                {
                  "type": "mean",
                  "params": []
                }
              ]
            ]
          }
        ],
        "timeFrom": null,
        "description": "[[full_name]] Repository Groups definitions",
        "gridPos": {
          "h": 22,
          "w": 24,
          "x": 0,
          "y": 0
        },
        "pageSize": 25,
        "sort": {
          "col": 1,
          "desc": false
        },
        "styles": [],
        "title": "[[full_name]] Repository Groups definitions",
        "transform": "table",
        "columns": [],
        "options": {
          
        },
        "scroll": true,
        "showHeader": true,
        "timeShift": null,
        "type": "table",
        "datasource": "psql",
        "hideTimeOverride": false,
        "fontSize": "90%"
      }
    ],
    "schemaVersion": 21,
    "time": {
      "from": "now-7d",
      "to": "now"
    },
    "timepicker": {
      "time_options": [
        "5m",
        "15m",
        "1h",
        "6h",
        "12h",
        "24h",
        "2d",
        "7d",
        "30d"
      ],
      "hidden": true,
      "refresh_intervals": [
        "5s",
        "10s",
        "30s",
        "1m",
        "5m",
        "15m",
        "30m",
        "1h",
        "2h",
        "1d"
      ]
    },
    "annotations": {
      "list": [
        {
          "type": "dashboard",
          "builtIn": 1,
          "datasource": "-- Grafana --",
          "enable": true,
          "hide": true,
          "iconColor": "rgba(0, 211, 255, 1)",
          "name": "Annotations \u0026 Alerts"
        }
      ]
    },
    "graphTooltip": 0,
    "id": 36,
    "links": [],
    "style": "dark",
    "tags": [
      "dashboard",
      "kubernetes",
      "table"
    ],
    "iteration": 1581497375166,
    "refresh": false,
    "templating": {
      "list": [
        {
          "hide": 2,
          "includeAll": false,
          "name": "full_name",
          "refresh": 1,
          "tags": [],
          "useTags": false,
          "current": {
            "text": "Kubernetes",
            "value": "Kubernetes"
          },
          "multi": false,
          "tagValuesQuery": "",
          "definition": "",
          "skipUrlSync": true,
          "sort": 0,
          "tagsQuery": "",
          "type": "query",
          "options": [],
          "datasource": "psql",
          "label": null,
          "query": "select value_s from gha_vars where name = 'full_name'",
          "regex": "",
          "allValue": null
        },
        {
          "regex": "",
          "tags": [],
          "type": "query",
          "hide": 0,
          "label": "Repository groups",
          "refresh": 1,
          "skipUrlSync": false,
          "allValue": "null",
          "current": {
            "tags": [],
            "text": "Not specified + Other",
            "value": [
              "Not specified",
              "Other"
            ]
          },
          "includeAll": true,
          "tagValuesQuery": "",
          "tagsQuery": "",
          "definition": "select repo_group_name from trepo_groups union select 'Not specified' order by 1",
          "multi": true,
          "name": "repogroups",
          "sort": 0,
          "useTags": false,
          "datasource": "psql",
          "options": [],
          "query": "select repo_group_name from trepo_groups union select 'Not specified' order by 1"
        }
      ]
    },
    "timezone": "",
    "title": "Repository groups",
    "uid": "68"
  }


slug: sig-mentions
title: SIG mentions
created: 2023-09-13 22:35:06.961383469+00:00
updated: 2023-09-13 22:35:06.961383549+00:00
uid: 41
data:
  {
    "gnetId": null,
    "id": 95,
    "timepicker": {
      "refresh_intervals": [
        "5s",
        "10s",
        "30s",
        "1m",
        "5m",
        "15m",
        "30m",
        "1h",
        "2h",
        "1d"
      ],
      "time_options": [
        "5m",
        "15m",
        "1h",
        "6h",
        "12h",
        "24h",
        "2d",
        "7d",
        "30d"
      ]
    },
    "title": "SIG mentions",
    "version": 7,
    "tags": [
      "dashboard",
      "kubernetes",
      "SIGs"
    ],
    "timezone": "",
    "annotations": {
      "list": [
        {
          "type": "dashboard",
          "builtIn": 1,
          "datasource": "-- Grafana --",
          "enable": true,
          "hide": true,
          "iconColor": "rgba(0, 211, 255, 1)",
          "name": "Annotations \u0026 Alerts"
        },
        {
          "name": "Releases",
          "query": "SELECT title, description from annotations WHERE $timeFilter order by time asc",
          "rawQuery": "select extract(epoch from time) AS time, title as text, description as tags from sannotations where $__timeFilter(time)",
          "tagsColumn": "title,description",
          "textColumn": "",
          "datasource": "psql",
          "hide": false,
          "iconColor": "rgba(255, 96, 96, 1)",
          "titleColumn": "[[full_name]] release",
          "type": "alert",
          "enable": true,
          "limit": 100,
          "showIn": 0
        }
      ]
    },
    "graphTooltip": 0,
    "links": [],
    "panels": [
      {
        "dashLength": 10,
        "dashes": false,
        "tooltip": {
          "shared": true,
          "sort": 2,
          "value_type": "individual"
        },
        "yaxes": [
          {
            "min": "0",
            "show": true,
            "format": "short",
            "label": "Mentions count",
            "logBase": 1,
            "max": null
          },
          {
            "min": "0",
            "show": true,
            "format": "short",
            "label": "",
            "logBase": 1,
            "max": null
          }
        ],
        "transparent": true,
        "datasource": "psql",
        "description": "Shows how often various SIG (software interest groups) have been mentioned in comments, issues, PRs",
        "gridPos": {
          "w": 24,
          "x": 0,
          "y": 0,
          "h": 21
        },
        "lines": false,
        "points": false,
        "spaceLength": 10,
        "title": "SIG mentions (using text, [[period]])",
        "id": 1,
        "percentage": false,
        "nullPointMode": "null as zero",
        "thresholds": [],
        "xaxis": {
          "buckets": null,
          "mode": "time",
          "name": null,
          "show": true,
          "values": [
            "total"
          ]
        },
        "fill": 1,
        "linewidth": 1,
        "targets": [
          {
            "alias": "",
            "groupBy": [],
            "measurement": "sig_federation_d",
            "query": "SELECT /^[[sigs]]$/ FROM \"sig_mentions_texts_[[period]]\" WHERE $timeFilter",
            "resultFormat": "time_series",
            "select": [
              [
                {
                  "params": [
                    "value"
                  ],
                  "type": "field"
                }
              ]
            ],
            "format": "time_series",
            "policy": "default",
            "rawSql": "select\n  time,\n  ${sigs:csv}\nfrom\n  ssigm_txt\nwhere\n  $__timeFilter(time)\n  and period = '[[period]]'\norder by\n  time",
            "orderByTime": "ASC",
            "rawQuery": true,
            "refId": "A",
            "dsType": "influxdb",
            "tags": []
          }
        ],
        "timeFrom": null,
        "links": [],
        "yaxis": {
          "align": false,
          "alignLevel": null
        },
        "aliasColors": {
          
        },
        "bars": true,
        "legend": {
          "alignAsTable": true,
          "avg": true,
          "hideEmpty": false,
          "hideZero": false,
          "sort": "avg",
          "sortDesc": true,
          "values": true,
          "current": true,
          "max": true,
          "min": true,
          "rightSide": true,
          "show": true,
          "total": true
        },
        "pointradius": 5,
        "renderer": "flot",
        "type": "graph",
        "decimals": 2,
        "seriesOverrides": [],
        "stack": true,
        "steppedLine": false,
        "timeShift": null
      },
      {
        "gridPos": {
          "h": 16,
          "w": 24,
          "x": 0,
          "y": 21
        },
        "id": 3,
        "links": [],
        "mode": "html",
        "title": "Dashboard documentation",
        "type": "text",
        "content": "${docs:raw}"
      }
    ],
    "schemaVersion": 16,
    "style": "dark",
    "uid": "41",
    "templating": {
      "list": [
        {
          "name": "period",
          "options": [
            {
              "text": "Day",
              "value": "d",
              "selected": false
            },
            {
              "selected": true,
              "text": "7 Days MA",
              "value": "d7"
            },
            {
              "selected": false,
              "text": "Week",
              "value": "w"
            },
            {
              "selected": false,
              "text": "Month",
              "value": "m"
            },
            {
              "value": "q",
              "selected": false,
              "text": "Quarter"
            },
            {
              "selected": false,
              "text": "Year",
              "value": "y"
            }
          ],
          "query": "d,w,m,q,y",
          "type": "custom",
          "label": "Period",
          "multi": false,
          "hide": 0,
          "includeAll": false,
          "skipUrlSync": false,
          "allValue": null,
          "current": {
            "text": "7 Days MA",
            "value": "d7",
            "tags": []
          }
        },
        {
          "tagsQuery": "",
          "datasource": "psql",
          "label": "SIG",
          "name": "sigs",
          "query": "select '\"' || sig_mentions_texts_name || '\"' from tsig_mentions_texts order by 1",
          "type": "query",
          "hide": 0,
          "refresh": 1,
          "skipUrlSync": false,
          "tagValuesQuery": "",
          "allValue": "",
          "current": {
            "text": "All",
            "value": "$__all"
          },
          "regex": "",
          "useTags": false,
          "tags": [],
          "includeAll": true,
          "multi": true,
          "options": [],
          "sort": 0
        },
        {
          "allValue": null,
          "label": null,
          "name": "full_name",
          "refresh": 1,
          "tagsQuery": "",
          "type": "query",
          "multi": false,
          "options": [],
          "sort": 0,
          "tags": [],
          "tagValuesQuery": "",
          "useTags": false,
          "current": {
            "text": "Kubernetes",
            "value": "Kubernetes"
          },
          "hide": 2,
          "includeAll": false,
          "query": "select value_s from gha_vars where name = 'full_name'",
          "regex": "",
          "skipUrlSync": true,
          "datasource": "psql"
        },
        {
          "current": {
            "text": "\u003ch1 id=\"kubernetes-sig-mentions-dashboard\"\u003eKubernetes SIG mentions dashboard\u003c/h1\u003e\n\u003cp\u003eLinks:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003ePostgres \u003ca href=\"https://github.com/cncf/devstats/blob/master/metrics/kubernetes/sig_mentions.sql\" target=\"_blank\"\u003eSQL file\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003eInfluxDB \u003ca href=\"https://github.com/cncf/devstats/blob/master/metrics/kubernetes/metrics.yaml#L246-L252\" target=\"_blank\"\u003eseries definition\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003eGrafana dashboard \u003ca href=\"https://github.com/cncf/devstats/blob/master/grafana/dashboards/kubernetes/sig_mentions.json\" target=\"_blank\"\u003eJSON\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003eDeveloper \u003ca href=\"https://github.com/cncf/devstats/blob/master/docs/dashboards/kubernetes/sig_mentions_devel.md\" target=\"_blank\"\u003edocumentation\u003c/a\u003e.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch1 id=\"description\"\u003eDescription\u003c/h1\u003e\n\u003cul\u003e\n\u003cli\u003eThis dashboard shows stacked number of various SIG mentions.\u003c/li\u003e\n\u003cli\u003eWe are getting SIG from all \u003cstrong\u003etexts\u003c/strong\u003e.\u003c/li\u003e\n\u003cli\u003eTo find a SIG we\u0026#39;re looking for texts like this \u003ccode\u003e@kubernetes/sig-SIG-kind\u003c/code\u003e, where kind can be: \u003cem\u003ebug, feature-request, pr-review, api-review, misc, proposal, design-proposal, test-failure\u003c/em\u003e.\u003c/li\u003e\n\u003cli\u003eFor example \u003ccode\u003e@kubernetes/sig-cluster-lifecycle-pr-review\u003c/code\u003e will evaluate to \u003ccode\u003ecluster-lifecycle\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eKind part is optional, so \u003ccode\u003e@kubernetes/sig-node\u003c/code\u003e will evaluate to \u003ccode\u003enode\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThere can be other texts before and after the SIG, so \u003ccode\u003eHi there @kubernetes/sig-apps-feature-request, I want to ...\u003c/code\u003e will evaluate to \u003ccode\u003eapps\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eFor exact \u003ccode\u003eregexp\u003c/code\u003e used, please check developer \u003ca href=\"https://github.com/cncf/devstats/blob/master/docs/dashboards/kubernetes/sig_mentions_devel.md\" target=\"_blank\"\u003edocumentation\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eTexts\u003c/strong\u003e means comments, commit messages, issue titles, issue texts, PR titles, PR texts, PR review texts.\u003c/li\u003e\n\u003cli\u003eYou can filter by period and SIG(s).\u003c/li\u003e\n\u003cli\u003eSelecting period (for example week) means that dahsboard will count SIG mentions in these periods.\u003c/li\u003e\n\u003cli\u003eSee \u003ca href=\"https://github.com/cncf/devstats/blob/master/docs/periods.md\" target=\"_blank\"\u003ehere\u003c/a\u003e for more informations about periods.\u003c/li\u003e\n\u003cli\u003eThis dashboard allows to select multiple SIG, it contains special \u0026#39;All\u0026#39; value to display all SIGs.\u003c/li\u003e\n\u003cli\u003eWe\u0026#39;re also excluding bots activity, see \u003ca href=\"https://github.com/cncf/devstats/blob/master/docs/excluding_bots.md\" target=\"_blank\"\u003eexcluding bots\u003c/a\u003e.\u003c/li\u003e\n\u003c/ul\u003e",
            "value": "\u003ch1 id=\"kubernetes-sig-mentions-dashboard\"\u003eKubernetes SIG mentions dashboard\u003c/h1\u003e\n\u003cp\u003eLinks:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003ePostgres \u003ca href=\"https://github.com/cncf/devstats/blob/master/metrics/kubernetes/sig_mentions.sql\" target=\"_blank\"\u003eSQL file\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003eInfluxDB \u003ca href=\"https://github.com/cncf/devstats/blob/master/metrics/kubernetes/metrics.yaml#L246-L252\" target=\"_blank\"\u003eseries definition\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003eGrafana dashboard \u003ca href=\"https://github.com/cncf/devstats/blob/master/grafana/dashboards/kubernetes/sig_mentions.json\" target=\"_blank\"\u003eJSON\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003eDeveloper \u003ca href=\"https://github.com/cncf/devstats/blob/master/docs/dashboards/kubernetes/sig_mentions_devel.md\" target=\"_blank\"\u003edocumentation\u003c/a\u003e.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch1 id=\"description\"\u003eDescription\u003c/h1\u003e\n\u003cul\u003e\n\u003cli\u003eThis dashboard shows stacked number of various SIG mentions.\u003c/li\u003e\n\u003cli\u003eWe are getting SIG from all \u003cstrong\u003etexts\u003c/strong\u003e.\u003c/li\u003e\n\u003cli\u003eTo find a SIG we\u0026#39;re looking for texts like this \u003ccode\u003e@kubernetes/sig-SIG-kind\u003c/code\u003e, where kind can be: \u003cem\u003ebug, feature-request, pr-review, api-review, misc, proposal, design-proposal, test-failure\u003c/em\u003e.\u003c/li\u003e\n\u003cli\u003eFor example \u003ccode\u003e@kubernetes/sig-cluster-lifecycle-pr-review\u003c/code\u003e will evaluate to \u003ccode\u003ecluster-lifecycle\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eKind part is optional, so \u003ccode\u003e@kubernetes/sig-node\u003c/code\u003e will evaluate to \u003ccode\u003enode\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThere can be other texts before and after the SIG, so \u003ccode\u003eHi there @kubernetes/sig-apps-feature-request, I want to ...\u003c/code\u003e will evaluate to \u003ccode\u003eapps\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eFor exact \u003ccode\u003eregexp\u003c/code\u003e used, please check developer \u003ca href=\"https://github.com/cncf/devstats/blob/master/docs/dashboards/kubernetes/sig_mentions_devel.md\" target=\"_blank\"\u003edocumentation\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eTexts\u003c/strong\u003e means comments, commit messages, issue titles, issue texts, PR titles, PR texts, PR review texts.\u003c/li\u003e\n\u003cli\u003eYou can filter by period and SIG(s).\u003c/li\u003e\n\u003cli\u003eSelecting period (for example week) means that dahsboard will count SIG mentions in these periods.\u003c/li\u003e\n\u003cli\u003eSee \u003ca href=\"https://github.com/cncf/devstats/blob/master/docs/periods.md\" target=\"_blank\"\u003ehere\u003c/a\u003e for more informations about periods.\u003c/li\u003e\n\u003cli\u003eThis dashboard allows to select multiple SIG, it contains special \u0026#39;All\u0026#39; value to display all SIGs.\u003c/li\u003e\n\u003cli\u003eWe\u0026#39;re also excluding bots activity, see \u003ca href=\"https://github.com/cncf/devstats/blob/master/docs/excluding_bots.md\" target=\"_blank\"\u003eexcluding bots\u003c/a\u003e.\u003c/li\u003e\n\u003c/ul\u003e"
          },
          "datasource": "psql",
          "options": [],
          "type": "query",
          "allValue": null,
          "hide": 2,
          "query": "select value_s from gha_vars where name = 'sig_mentions_docs_html'",
          "skipUrlSync": true,
          "sort": 0,
          "tagsQuery": "",
          "includeAll": false,
          "regex": "",
          "useTags": false,
          "label": null,
          "multi": false,
          "name": "docs",
          "refresh": 1,
          "tagValuesQuery": "",
          "tags": []
        }
      ]
    },
    "editable": true,
    "time": {
      "from": "now-2y",
      "to": "now"
    }
  }


slug: stars-and-forks-by-repository
title: Stars and Forks by Repository
created: 2023-09-13 22:35:06.976905361+00:00
updated: 2023-09-13 22:35:06.976905421+00:00
uid: 3
data:
  {
    "graphTooltip": 0,
    "refresh": false,
    "schemaVersion": 21,
    "tags": [
      "dashboard",
      "repos",
      "kubernetes"
    ],
    "timepicker": {
      "refresh_intervals": [
        "5s",
        "10s",
        "30s",
        "1m",
        "5m",
        "15m",
        "30m",
        "1h",
        "2h",
        "1d"
      ],
      "time_options": [
        "5m",
        "15m",
        "1h",
        "6h",
        "12h",
        "24h",
        "2d",
        "7d",
        "30d"
      ]
    },
    "gnetId": null,
    "id": 35,
    "links": [],
    "panels": [
      {
        "hiddenSeries": false,
        "percentage": false,
        "points": false,
        "yaxes": [
          {
            "max": null,
            "min": "0",
            "show": true,
            "format": "none",
            "label": "Stargazers",
            "logBase": 1
          },
          {
            "max": null,
            "min": "0",
            "show": true,
            "format": "none",
            "label": "Forks, Open issues and PRs",
            "logBase": 1
          }
        ],
        "yaxis": {
          "alignLevel": null,
          "align": false
        },
        "dashes": false,
        "fill": 0,
        "timeFrom": null,
        "gridPos": {
          "w": 24,
          "x": 0,
          "y": 0,
          "h": 14
        },
        "options": {
          "dataLinks": []
        },
        "description": "Community stats ([[repo_name]])",
        "pointradius": 1,
        "seriesOverrides": [
          {
            "alias": "Stargazers",
            "yaxis": 1
          },
          {
            "alias": "Forks",
            "yaxis": 2
          },
          {
            "alias": "Open Issues and PRs",
            "yaxis": 2
          }
        ],
        "stack": false,
        "steppedLine": false,
        "targets": [
          {
            "rawQuery": true,
            "rawSql": "select\n  time,\n  value as \"Stargazers\"\nfrom\n  swatchers w\nwhere\n  $__timeFilter(time)\n  and series = 'watch[[repo]]watch'\n  and period = 'w'\norder by\n  time\n;",
            "alias": "",
            "measurement": "reviewers_d",
            "metricColumn": "none",
            "policy": "autogen",
            "select": [
              [
                {
                  "params": [
                    "value"
                  ],
                  "type": "field"
                }
              ]
            ],
            "where": [
              {
                "name": "$__timeFilter",
                "params": [],
                "type": "macro"
              }
            ],
            "resultFormat": "time_series",
            "timeColumn": "time",
            "dsType": "influxdb",
            "group": [],
            "orderByTime": "ASC",
            "refId": "A",
            "tags": [],
            "format": "time_series",
            "groupBy": [],
            "hide": false,
            "query": ""
          },
          {
            "select": [
              [
                {
                  "params": [
                    "value"
                  ],
                  "type": "field"
                }
              ]
            ],
            "tags": [],
            "alias": "",
            "format": "time_series",
            "group": [],
            "orderByTime": "ASC",
            "policy": "autogen",
            "metricColumn": "none",
            "rawSql": "select\n  time,\n  value as \"Forks\"\nfrom\n  swatchers w\nwhere\n  $__timeFilter(time)\n  and series = 'watch[[repo]]forks'\n  and period = 'w'\norder by\n  time\n;",
            "timeColumn": "time",
            "dsType": "influxdb",
            "groupBy": [],
            "measurement": "reviewers_d",
            "query": "",
            "hide": false,
            "rawQuery": true,
            "refId": "B",
            "resultFormat": "time_series",
            "where": [
              {
                "name": "$__timeFilter",
                "params": [],
                "type": "macro"
              }
            ]
          },
          {
            "group": [],
            "hide": false,
            "measurement": "reviewers_d",
            "where": [
              {
                "name": "$__timeFilter",
                "params": [],
                "type": "macro"
              }
            ],
            "groupBy": [],
            "refId": "C",
            "resultFormat": "time_series",
            "select": [
              [
                {
                  "type": "field",
                  "params": [
                    "value"
                  ]
                }
              ]
            ],
            "dsType": "influxdb",
            "query": "",
            "rawSql": "select\n  time,\n  value as \"Open Issues and PRs\"\nfrom\n  swatchers w\nwhere\n  $__timeFilter(time)\n  and series = 'watch[[repo]]opiss'\n  and period = 'w'\norder by\n  time\n;",
            "tags": [],
            "alias": "",
            "format": "time_series",
            "metricColumn": "none",
            "orderByTime": "ASC",
            "policy": "autogen",
            "rawQuery": true,
            "timeColumn": "time"
          }
        ],
        "xaxis": {
          "mode": "time",
          "name": null,
          "show": true,
          "values": [
            "total"
          ],
          "buckets": null
        },
        "bars": false,
        "id": 1,
        "thresholds": [],
        "transparent": true,
        "decimals": 0,
        "linewidth": 1,
        "timeRegions": [],
        "title": "Community stats ([[repo_name]])",
        "type": "graph",
        "fillGradient": 0,
        "links": [],
        "datasource": "psql",
        "spaceLength": 10,
        "tooltip": {
          "sort": 2,
          "value_type": "individual",
          "shared": true
        },
        "aliasColors": {
          
        },
        "dashLength": 10,
        "nullPointMode": "null",
        "renderer": "flot",
        "timeShift": null,
        "legend": {
          "alignAsTable": false,
          "hideEmpty": false,
          "max": true,
          "rightSide": false,
          "total": false,
          "values": true,
          "avg": true,
          "current": true,
          "hideZero": false,
          "min": true,
          "show": true
        },
        "lines": true
      },
      {
        "datasource": "psql",
        "fillGradient": 0,
        "links": [],
        "seriesOverrides": [
          {
            "alias": "All Stargazers",
            "yaxis": 1
          },
          {
            "alias": "All Forks",
            "yaxis": 1
          },
          {
            "alias": "All Open Issues and PRs",
            "yaxis": 2
          }
        ],
        "lines": true,
        "options": {
          "dataLinks": []
        },
        "xaxis": {
          "values": [
            "total"
          ],
          "buckets": null,
          "mode": "time",
          "name": null,
          "show": true
        },
        "yaxes": [
          {
            "label": "Stargazers",
            "logBase": 1,
            "max": null,
            "min": "0",
            "show": true,
            "format": "none"
          },
          {
            "logBase": 1,
            "max": null,
            "min": "0",
            "show": true,
            "format": "none",
            "label": "Forks, Open issues and PRs"
          }
        ],
        "gridPos": {
          "w": 24,
          "x": 0,
          "y": 16,
          "h": 14
        },
        "hiddenSeries": false,
        "pointradius": 1,
        "targets": [
          {
            "dsType": "influxdb",
            "measurement": "reviewers_d",
            "orderByTime": "ASC",
            "tags": [],
            "where": [
              {
                "name": "$__timeFilter",
                "params": [],
                "type": "macro"
              }
            ],
            "resultFormat": "time_series",
            "refId": "A",
            "alias": "",
            "metricColumn": "none",
            "policy": "autogen",
            "query": "",
            "rawQuery": true,
            "select": [
              [
                {
                  "params": [
                    "value"
                  ],
                  "type": "field"
                }
              ]
            ],
            "timeColumn": "time",
            "format": "time_series",
            "group": [],
            "groupBy": [],
            "hide": false,
            "rawSql": "select\n  time,\n  value as \"All Stargazers\"\nfrom\n  swatchers w\nwhere\n  $__timeFilter(time)\n  and series = 'allwatchallwatch'\n  and period = 'w'\norder by\n  time\n;"
          },
          {
            "format": "time_series",
            "hide": false,
            "resultFormat": "time_series",
            "select": [
              [
                {
                  "params": [
                    "value"
                  ],
                  "type": "field"
                }
              ]
            ],
            "dsType": "influxdb",
            "tags": [],
            "orderByTime": "ASC",
            "query": "",
            "rawSql": "select\n  time,\n  value as \"All Forks\"\nfrom\n  swatchers w\nwhere\n  $__timeFilter(time)\n  and series = 'allwatchallforks'\n  and period = 'w'\norder by\n  time\n;",
            "alias": "",
            "group": [],
            "measurement": "reviewers_d",
            "metricColumn": "none",
            "timeColumn": "time",
            "where": [
              {
                "name": "$__timeFilter",
                "params": [],
                "type": "macro"
              }
            ],
            "groupBy": [],
            "policy": "autogen",
            "rawQuery": true,
            "refId": "B"
          },
          {
            "dsType": "influxdb",
            "format": "time_series",
            "groupBy": [],
            "measurement": "reviewers_d",
            "where": [
              {
                "name": "$__timeFilter",
                "params": [],
                "type": "macro"
              }
            ],
            "orderByTime": "ASC",
            "rawSql": "select\n  time,\n  value as \"All Open Issues and PRs\"\nfrom\n  swatchers w\nwhere\n  $__timeFilter(time)\n  and series = 'allwatchallopiss'\n  and period = 'w'\norder by\n  time\n;",
            "refId": "C",
            "resultFormat": "time_series",
            "select": [
              [
                {
                  "params": [
                    "value"
                  ],
                  "type": "field"
                }
              ]
            ],
            "tags": [],
            "timeColumn": "time",
            "group": [],
            "hide": false,
            "metricColumn": "none",
            "policy": "autogen",
            "query": "",
            "rawQuery": true,
            "alias": ""
          }
        ],
        "yaxis": {
          "align": false,
          "alignLevel": null
        },
        "aliasColors": {
          
        },
        "bars": false,
        "decimals": 0,
        "linewidth": 1,
        "percentage": false,
        "points": false,
        "dashLength": 10,
        "thresholds": [],
        "timeRegions": [],
        "timeShift": null,
        "title": "Community stats combined",
        "type": "graph",
        "description": "Community stats combined",
        "fill": 0,
        "renderer": "flot",
        "spaceLength": 10,
        "tooltip": {
          "sort": 2,
          "value_type": "individual",
          "shared": true
        },
        "dashes": false,
        "legend": {
          "rightSide": false,
          "show": true,
          "total": false,
          "alignAsTable": false,
          "current": true,
          "max": true,
          "min": true,
          "avg": true,
          "hideEmpty": false,
          "hideZero": false,
          "values": true
        },
        "steppedLine": false,
        "transparent": true,
        "id": 12,
        "nullPointMode": "null",
        "stack": false,
        "timeFrom": null
      },
      {
        "datasource": null,
        "id": 11,
        "links": [],
        "title": "Dashboard documentation",
        "type": "text",
        "content": "${docs:raw}",
        "mode": "html",
        "options": {
          
        },
        "gridPos": {
          "h": 10,
          "w": 24,
          "x": 0,
          "y": 30
        }
      }
    ],
    "style": "dark",
    "templating": {
      "list": [
        {
          "label": null,
          "name": "full_name",
          "skipUrlSync": true,
          "useTags": false,
          "allValue": null,
          "current": {
            "text": "Kubernetes",
            "value": "Kubernetes"
          },
          "hide": 2,
          "multi": false,
          "tagValuesQuery": "",
          "type": "query",
          "tagsQuery": "",
          "datasource": "psql",
          "definition": "",
          "options": [],
          "query": "select value_s from gha_vars where name = 'full_name'",
          "regex": "",
          "sort": 0,
          "includeAll": false,
          "refresh": 1,
          "tags": []
        },
        {
          "tagsQuery": "",
          "multi": false,
          "sort": 1,
          "definition": "",
          "name": "repo_name",
          "refresh": 1,
          "regex": "",
          "useTags": false,
          "allValue": null,
          "datasource": "psql",
          "options": [],
          "query": "select top_repo_names_name from ttop_repo_names order by 1",
          "tags": [],
          "type": "query",
          "current": {
            "text": "kubernetes/kubernetes",
            "value": "kubernetes/kubernetes",
            "selected": false
          },
          "includeAll": false,
          "skipUrlSync": false,
          "tagValuesQuery": "",
          "hide": 0,
          "label": "Repository"
        },
        {
          "datasource": "psql",
          "query": "select top_repo_names_value from ttop_repo_names where top_repo_names_name = '[[repo_name]]'",
          "definition": "",
          "includeAll": false,
          "tags": [],
          "refresh": 1,
          "regex": "",
          "tagValuesQuery": "",
          "useTags": false,
          "allValue": null,
          "hide": 2,
          "multi": false,
          "options": [],
          "sort": 0,
          "tagsQuery": "",
          "type": "query",
          "current": {
            "text": "kuberneteskubernetes",
            "value": "kuberneteskubernetes"
          },
          "label": "",
          "name": "repo",
          "skipUrlSync": true
        },
        {
          "hide": 2,
          "sort": 0,
          "tagsQuery": "",
          "multi": false,
          "skipUrlSync": true,
          "tagValuesQuery": "",
          "tags": [],
          "current": {
            "text": "\u003ch1 id=\"kubernetes-dashboard\"\u003eKubernetes Stars and Forks by Repository dashboard\u003c/h1\u003e\n\u003cp\u003eLinks:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eMetric \u003ca href=\"https://github.com/cncf/devstats/blob/master/metrics/kubernetes/watchers.sql\" target=\"_blank\"\u003eSQL file\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003eTSDB \u003ca href=\"https://github.com/cncf/devstats/blob/master/metrics/kubernetes/metrics.yaml\" target=\"_blank\"\u003eseries definition\u003c/a\u003e. Search for \u003ccode\u003ewatchers\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eGrafana dashboard \u003ca href=\"https://github.com/cncf/devstats/blob/master/grafana/dashboards/kubernetes/stars-and-forks-by-repository.json\" target=\"_blank\"\u003eJSON\u003c/a\u003e.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch1 id=\"description\"\u003eDescription\u003c/h1\u003e\n\u003cul\u003e\n\u003cli\u003eThis dashboard shows number of stargazers, forks, open issues and PRs for a given repository.\u003c/li\u003e\n\u003cli\u003eSelecting period (for example week) means that dashboard will show maximum value in those periods.\u003c/li\u003e\n\u003cli\u003eSee \u003ca href=\"https://github.com/cncf/devstats/blob/master/docs/periods.md\" target=\"_blank\"\u003ehere\u003c/a\u003e for more informations about periods.\u003c/li\u003e\n\u003c/ul\u003e",
            "value": "\u003ch1 id=\"kubernetes-dashboard\"\u003eKubernetes Stars and Forks by Repository dashboard\u003c/h1\u003e\n\u003cp\u003eLinks:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eMetric \u003ca href=\"https://github.com/cncf/devstats/blob/master/metrics/kubernetes/watchers.sql\" target=\"_blank\"\u003eSQL file\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003eTSDB \u003ca href=\"https://github.com/cncf/devstats/blob/master/metrics/kubernetes/metrics.yaml\" target=\"_blank\"\u003eseries definition\u003c/a\u003e. Search for \u003ccode\u003ewatchers\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eGrafana dashboard \u003ca href=\"https://github.com/cncf/devstats/blob/master/grafana/dashboards/kubernetes/stars-and-forks-by-repository.json\" target=\"_blank\"\u003eJSON\u003c/a\u003e.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch1 id=\"description\"\u003eDescription\u003c/h1\u003e\n\u003cul\u003e\n\u003cli\u003eThis dashboard shows number of stargazers, forks, open issues and PRs for a given repository.\u003c/li\u003e\n\u003cli\u003eSelecting period (for example week) means that dashboard will show maximum value in those periods.\u003c/li\u003e\n\u003cli\u003eSee \u003ca href=\"https://github.com/cncf/devstats/blob/master/docs/periods.md\" target=\"_blank\"\u003ehere\u003c/a\u003e for more informations about periods.\u003c/li\u003e\n\u003c/ul\u003e"
          },
          "definition": "",
          "refresh": 1,
          "regex": "",
          "useTags": false,
          "options": [],
          "query": "select value_s from gha_vars where name = 'stars_and_forks_docs_html'",
          "type": "query",
          "allValue": null,
          "datasource": "psql",
          "includeAll": false,
          "label": null,
          "name": "docs"
        }
      ]
    },
    "time": {
      "from": "now-5y",
      "to": "now"
    },
    "title": "Stars and Forks by Repository",
    "annotations": {
      "list": [
        {
          "builtIn": 1,
          "datasource": "-- Grafana --",
          "enable": true,
          "hide": true,
          "iconColor": "rgba(0, 211, 255, 1)",
          "name": "Annotations \u0026 Alerts",
          "type": "dashboard"
        },
        {
          "type": "alert",
          "hide": false,
          "iconColor": "rgba(255, 96, 96, 1)",
          "limit": 100,
          "name": "Releases",
          "tagsColumn": "title,description",
          "textColumn": "",
          "datasource": "psql",
          "enable": true,
          "query": "SELECT title, description from annotations WHERE $timeFilter order by time asc",
          "rawQuery": "select extract(epoch from time) AS time, title as text, description as tags from sannotations where $__timeFilter(time)",
          "showIn": 0,
          "titleColumn": "[[full_name]] release"
        }
      ]
    },
    "iteration": 1578399206404,
    "timezone": "",
    "uid": "3",
    "version": 2,
    "editable": true
  }


slug: community-sizing-and-health-assessment
title: Community sizing and health assessment
created: 2023-09-13 22:35:06.245602767+00:00
updated: 2023-09-13 22:35:06.245602867+00:00
uid: 1001
data:
  {
    "schemaVersion": 16,
    "title": "Community sizing and health assessment",
    "uid": "1001",
    "version": 1
  }


# alert_configuration

configuration_version: v1
configuration_hash: 8c409350c88d78d2ee938448449e628d
alertmanager_configuration:
  {
  	"alertmanager_config": {
  		"route": {
  			"receiver": "grafana-default-email"
  		},
  		"receivers": [{
  			"name": "grafana-default-email",
  			"grafana_managed_receiver_configs": [{
  				"uid": "",
  				"name": "email receiver",
  				"type": "email",
  				"isDefault": true,
  				"settings": {
  					"addresses": "<example@email.com>"
  				}
  			}]
  		}]
  	}
  }


