Move metrics collector queries to config (#28549)

This commit is contained in:
Torkel Ödegaard
2020-10-26 19:43:58 +01:00
committed by GitHub
parent 069e2b0ced
commit 3b9523fad7
3 changed files with 31 additions and 2 deletions
+1 -1
View File
@@ -22,4 +22,4 @@ jobs:
with:
metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
token: ${{secrets.GH_BOT_ACCESS_TOKEN}}
config-path: commands
configPath: commands
+2 -1
View File
@@ -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"