<commit_before>#!/bin/sh
if [[ -z $QUERY_PORT_9411_TCP_ADDR ]]; then
  echo "** ERROR: You need to link the query service as query."
  exit 1
fi

test -n "$TRANSPORT_TYPE" && source .${TRANSPORT_TYPE}_profile

QUERY_ADDR="${QUERY_PORT_9411_TCP_ADDR}:9411"
SERVICE_NAME="zipkin-web"

DEFAULT_ROOTURL=http://localhost:8080/
ROOTURL="-zipkin.web.rootUrl=${ROOTURL:-DEFAULT_ROOTURL}"

echo "** Starting zipkin web..."
exec java ${JAVA_OPTS} -jar zipkin-web.jar -zipkin.web.query.dest=${QUERY_ADDR} ${ROOTURL}<commit_msg>Removes zipkin.web.rootUrl as it is no longer defined<commit_after>#!/bin/sh
if [[ -z $QUERY_PORT_9411_TCP_ADDR ]]; then
  echo "** ERROR: You need to link the query service as query."
  exit 1
fi

test -n "$TRANSPORT_TYPE" && source .${TRANSPORT_TYPE}_profile

QUERY_ADDR="${QUERY_PORT_9411_TCP_ADDR}:9411"

echo "** Starting zipkin web..."
exec java ${JAVA_OPTS} -jar zipkin-web.jar -zipkin.web.query.dest=${QUERY_ADDR}
{'fraction_non_alphanumeric': 0.1526147278548559, 'fraction_numerical': 0.032017075773746, 'mean_word_length': 5.380952380952381, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3127190', 'n_tokens_mistral': 371, 'n_tokens_neox': 349, 'n_words': 80}