mirror of
https://github.com/grafana/grafana.git
synced 2025-01-14 02:32:29 -06:00
Move metrics collector queries to config (#28549)
This commit is contained in:
parent
069e2b0ced
commit
3b9523fad7
28
.github/metrics-collector.json
vendored
Normal file
28
.github/metrics-collector.json
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"queries": [
|
||||
{
|
||||
"name": "type_bug",
|
||||
"query": "label:\"type/bug\" is:open"
|
||||
},
|
||||
{
|
||||
"name": "needs_investigation",
|
||||
"query": "label:\"needs investigation\" is:open"
|
||||
},
|
||||
{
|
||||
"name": "needs_more_info",
|
||||
"query": "label:\"needs more info\" is:open"
|
||||
},
|
||||
{
|
||||
"name": "unlabeled",
|
||||
"query": "is:open is:issue no:label"
|
||||
},
|
||||
{
|
||||
"name": "open_prs",
|
||||
"query": "is:open is:pr"
|
||||
},
|
||||
{
|
||||
"name": "milestone_7_4_open",
|
||||
"query": "is:open is:issue milestone:7.4"
|
||||
}
|
||||
]
|
||||
}
|
2
.github/workflows/commands.yml
vendored
2
.github/workflows/commands.yml
vendored
@ -22,4 +22,4 @@ jobs:
|
||||
with:
|
||||
metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
|
||||
token: ${{secrets.GH_BOT_ACCESS_TOKEN}}
|
||||
config-path: commands
|
||||
configPath: commands
|
||||
|
3
.github/workflows/metrics-collector.yml
vendored
3
.github/workflows/metrics-collector.yml
vendored
@ -8,7 +8,7 @@
|
||||
#
|
||||
# https://github.com/grafana/grafana-github-actions/blob/main/metrics-collector/index.ts
|
||||
#
|
||||
name: Github issue metrics collection
|
||||
name: Github issue metrics collection
|
||||
on:
|
||||
schedule:
|
||||
- cron: "*/10 * * * *"
|
||||
@ -32,3 +32,4 @@ jobs:
|
||||
with:
|
||||
metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
|
||||
token: ${{secrets.GH_BOT_ACCESS_TOKEN}}
|
||||
configPath: "metrics-collector"
|
||||
|
Loading…
Reference in New Issue
Block a user