Jelajahi Sumber

Only send ci metrics to hosted metrics instance

Torkel Ödegaard 6 tahun lalu
induk
melakukan
78b2978846
1 mengubah file dengan 0 tambahan dan 13 penghapusan
  1. 0 13
      scripts/ci-frontend-metrics.sh

+ 0 - 13
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 \