Commit 78b29788 by Torkel Ödegaard

Only send ci metrics to hosted metrics instance

parent 6f226edc
...@@ -10,19 +10,6 @@ echo -e "Typescript errors: $ERROR_COUNT" ...@@ -10,19 +10,6 @@ echo -e "Typescript errors: $ERROR_COUNT"
echo -e "Directives: $DIRECTIVES" echo -e "Directives: $DIRECTIVES"
echo -e "Controllers: $CONTROLLERS" 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 \ ./scripts/ci-metrics-publisher.sh \
grafana.ci-code.noImplicitAny=$ERROR_COUNT \ grafana.ci-code.noImplicitAny=$ERROR_COUNT \
grafana.ci-code.directives=$DIRECTIVES \ grafana.ci-code.directives=$DIRECTIVES \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment