jhipster / jhipster-console

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

Zipkin not showing any span and trace #111

Open ivan86to opened 5 years ago

ivan86to commented 5 years ago

Related to #100

I have package my microservices wirh zipkin profle

SPRING_PROFILES_ACTIVE -> prod,swagger,zipkin

Jhipster version 5.7.2

JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
  "generator-jhipster": {
    "promptValues": {
      "packageName": "com.finance",
      "nativeLanguage": "it"
    },
    "jhipsterVersion": "5.7.2",
    "applicationType": "microservice",
    "baseName": "anagrafe",
    "packageName": "com.finance",
    "packageFolder": "com/finance",
    "serverPort": "8081",
    "authenticationType": "uaa",
    "uaaBaseName": "uaa",
    "cacheProvider": "hazelcast",
    "enableHibernateCache": true,
    "websocket": false,
    "databaseType": "sql",
    "devDatabaseType": "mssql",
    "prodDatabaseType": "mssql",
    "searchEngine": false,
    "messageBroker": "kafka",
    "serviceDiscoveryType": "eureka",
    "buildTool": "maven",
    "enableSwaggerCodegen": false,
    "jwtSecretKey": "bXktc2VjcmV0LXRva2VuLXRvLWNoYW5nZS1pbi1wcm9kdWN0aW9uLWFuZC10by1rZWVwLWluLWEtc2VjdXJlLXBsYWNl",
    "testFrameworks": [],
    "jhiPrefix": "jhi",
    "otherModules": [],
    "enableTranslation": true,
    "clientPackageManager": "npm",
    "nativeLanguage": "it",
    "languages": [
      "it",
      "en",
      "fr",
      "es"
    ],
    "skipClient": true,
    "skipUserManagement": true
  },
  "generator-jhipster-entity-audit": {
    "auditFramework": "custom"
  }
}
Environment and Tools

java version "1.8.0_191" Java(TM) SE Runtime Environment (build 1.8.0_191-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

git version 2.12.2.windows.2

node: v10.15.1

npm: 6.4.1

yeoman: 2.0.5

yarn: 1.7.0

Docker version 18.09.2, build 6247962

docker-compose version 1.23.2, build 1110ad01

ivan86to commented 5 years ago

Zipkin does not even display the list of services

immagine

zsliu commented 5 years ago

Any update on this issue? I run into the same issue

heinminhsoe commented 4 years ago

I run into same issue as well.

st4rtx commented 3 years ago

any body find solution?

st4rtx commented 3 years ago

i find it must be write dependencies on pom.xml after log4j section :

             <!-- introducing slueth dependency -->
    <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>