mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Only send ci metrics to hosted metrics instance
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user