Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 707 Bytes

README.md

File metadata and controls

21 lines (19 loc) · 707 Bytes

git-test

git-test

    private void frontCustomNewSpan() {
        Span newSpan = tracer.createSpan("frontCustomNewSpan");
        try {
            newSpan.logEvent("frontCustomNewSpan-start");
            newSpan.tag("frontCustomNewSpan-test", "test");
            zipkinTestUtil.randomSleep(3);
            zipkinTestUtil.randomThrowException(0.4F);
        } finally {
            newSpan.logEvent("frontCustomNewSpan-finish");
            tracer.close(newSpan);
        }
    }
java -jar spring-zipkin-example-1.5.9.RELEASE.jar --server.port=8888 --spring.application.name=zipkin-test-front --spring.zipkin.baseUrl=http://127.0.0.1:9411/ --backend.url=http://127.0.0.1:8889