jhipster / jhipster-console

JHipster monitoring & alerting console, based on ELK
Other
225 stars 162 forks source link

Zipkin not showing any span and trace #100

Closed gitravik closed 6 years ago

gitravik commented 6 years ago

Hello, Zipkin is running fine but My issue is I can't find any span or traces. sometimes service name even not showing in the list.

I have clone latest jhipster-console and run it in my local machine.

I have enable zipkin in my spring-boot service inside app-dev.yml file and also enable zipkin profile in pom.xml file like below

zipkin:

    base-url: http://localhost:9411
    enabled: true
    locator:
        discovery:
            enabled: true

Here is my spring boot servile console log, I think zipkin is active


Application 'demoapp1' is running! Access URLs:
Local:      http://localhost:8091
Profile(s):     [dev, zipkin, swagger]

PierreBesson commented 6 years ago

Did you package your app with the "zipkin" maven profile ?

PierreBesson commented 6 years ago

Can you give me the result of jhipster info? This is mandatory for opening bugs. Also are how are you running the console ? From the master branch ?

PierreBesson commented 6 years ago

@gitravik Can you give me additional info. So this issue can be resolved more quickly.

PierreBesson commented 6 years ago

Closing as no more info was provided.

ivan86to commented 5 years ago

Hello, i have the same issue,

"Did you package your app with the "zipkin" maven profile ?" -> Yes SPRING_PROFILES_ACTIVE | prod,swagger,zipkin

Jhipster version 5.7.2

PierreBesson commented 5 years ago

@ivan86to Please don't comment on an old issue. If you have a bug please open another issue and provide the content or jhipster info

st4rtx commented 4 years ago

hi any body find solution?

st4rtx commented 4 years ago

i find it must write dependency in pom.xml file after log4j section :

    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-sleuth</artifactId>
    </dependency>
    <!-- introducting the spring zipkin dependency -->
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-zipkin</artifactId>
    </dependency>