mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #15947 from grafana/ci-metrics-to-hm-instance
Also push to ci metrics to new shared HM instance
This commit is contained in:
commit
fd8d45fd23
@ -21,3 +21,10 @@ curl \
|
|||||||
-u ci:$CIRCLE_STATS_PWD \
|
-u ci:$CIRCLE_STATS_PWD \
|
||||||
-X POST https://stats.grafana.org/metric-receiver
|
-X POST https://stats.grafana.org/metric-receiver
|
||||||
|
|
||||||
|
curl https://6371:$GRAFANA_MISC_STATS_API_KEY@graphite-us-central1.grafana.net/metrics \
|
||||||
|
-H 'Content-type: application/json' \
|
||||||
|
-d '[
|
||||||
|
{"name":"grafana.ci-code.noImplicitAny", "interval":60, "value": '$ERROR_COUNT', "mtype": "gauge", "time": '$(date +%s)'},
|
||||||
|
{"name":"grafana.ci-code.directives", "interval":60, "value": '$DIRECTIVES', "mtype": "gauge", "time": '$(date +%s)'},
|
||||||
|
{"name":"grafana.ci-code.controllers", "interval":60, "value": '$CONTROLLERS', "mtype": "gauge", "time": '$(date +%s)'}
|
||||||
|
]'
|
||||||
|
Loading…
Reference in New Issue
Block a user