From 78b297884647274d7c24010c0db3c31dc0b9d6fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 13 Mar 2019 10:55:20 +0100 Subject: [PATCH] Only send ci metrics to hosted metrics instance --- scripts/ci-frontend-metrics.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scripts/ci-frontend-metrics.sh b/scripts/ci-frontend-metrics.sh index c9bd3f1a904..49786b752af 100755 --- a/scripts/ci-frontend-metrics.sh +++ b/scripts/ci-frontend-metrics.sh @@ -10,19 +10,6 @@ echo -e "Typescript errors: $ERROR_COUNT" echo -e "Directives: $DIRECTIVES" echo -e "Controllers: $CONTROLLERS" -curl \ - -d "{\"metrics\": { - \"ci.code.noImplicitAny\": $ERROR_COUNT, - \"ci.code.directives\": $DIRECTIVES, - \"ci.code.controllers\": $CONTROLLERS - } - }" \ - -H "Content-Type: application/json" \ - -u ci:$CIRCLE_STATS_PWD \ - -X POST https://stats.grafana.org/metric-receiver - -echo -e "" - ./scripts/ci-metrics-publisher.sh \ grafana.ci-code.noImplicitAny=$ERROR_COUNT \ grafana.ci-code.directives=$DIRECTIVES \