fixing(gradle)
This commit is contained in:
+7
-2
@@ -2,9 +2,14 @@ package at.mocode.infrastructure.monitoring
|
||||
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
import org.springframework.boot.runApplication
|
||||
import zipkin2.server.internal.EnableZipkinServer
|
||||
|
||||
@EnableZipkinServer
|
||||
/**
|
||||
* Startet den Zipkin-Server.
|
||||
*
|
||||
* Spring Boot erkennt die 'zipkin-server'-Abhängigkeit im Classpath
|
||||
* und konfiguriert den Server automatisch. Eine explizite @EnableZipkinServer
|
||||
* Annotation ist nicht mehr erforderlich.
|
||||
*/
|
||||
@SpringBootApplication
|
||||
class MonitoringServerApplication
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
# ===================================================================
|
||||
# MELDENSTELLE - ZIPKIN SERVER CONFIGURATION
|
||||
# ===================================================================
|
||||
|
||||
# Standard-Port für die Zipkin UI und API
|
||||
server.port=9411
|
||||
|
||||
# Port für die Spring Boot Actuator Endpunkte (getrennt vom Haupt-Port)
|
||||
# management.server.port=9412 # Disabled for test compatibility
|
||||
management.endpoints.web.exposure.include=health,info,prometheus
|
||||
|
||||
# --- Zipkin Core ---
|
||||
# Speichertyp. 'mem' für Entwicklung, für Produktion Elasticsearch/MySQL/Cassandra verwenden.
|
||||
zipkin.storage.type=mem
|
||||
|
||||
# Deaktiviert das Tracing des Zipkin-Servers selbst, um Endlosschleifen
|
||||
# und unnötiges Rauschen zu verhindern. Dies ist eine wichtige Best Practice.
|
||||
zipkin.self-tracing.enabled=false
|
||||
management.tracing.enabled=false
|
||||
|
||||
# --- Logging ---
|
||||
# Stellt sicher, dass das Logging nicht zu gesprächig ist
|
||||
logging.level.zipkin2=INFO
|
||||
logging.level.org.springframework.boot.autoconfigure=INFO
|
||||
|
||||
# Folgende Properties wurden entfernt, da sie den Standardwerten in Zipkin 3.x entsprechen:
|
||||
# zipkin.ui.enabled=true (UI ist standardmäßig aktiv)
|
||||
# server.servlet.context-path=/ (Standard-Context-Path ist root)
|
||||
# management.zipkin.tracing.endpoint= (wird durch management.tracing.enabled=false obsolet)
|
||||
Reference in New Issue
Block a user