Commit f3122026 authored by abdullh.alsoleman's avatar abdullh.alsoleman

Add Prometheus Configuration

parent 25a0419c
......@@ -2,4 +2,6 @@ server.port=9003
spring.data.mongodb.database=companyDB
spring.data.mongodb.port=27017
spring.data.mongodb.host=mongodb.mongo.svc.cluster.local
management.endpoints.web.exposure.include=prometheus
management.endpoint.prometheus.enabled=true
management.endpoint.health.show.details=always
server.port = 8761
eureka.client.registerWithEureka=false
eureka.client.fetchRegistry=false
......@@ -3,3 +3,6 @@ eureka.instance.preferIpAddress=true
spring.data.mongodb.database=jobsdb
spring.data.mongodb.port=27017
spring.data.mongodb.host=mongodb.mongo.svc.cluster.local
management.endpoints.web.exposure.include=prometheus
management.endpoint.prometheus.enabled=true
management.endpoint.health.show.details=always
\ No newline at end of file
......@@ -4,4 +4,6 @@ spring.kafka.bootstrap-servers=kafka.default.svc.cluster.local:9092
spring.kafka.properties.security.protocol=SASL_PLAINTEXT
spring.kafka.properties.sasl.mechanism=PLAIN
spring.kafka.properties.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="user1" password="r48ZrwWBmu";
management.endpoints.web.exposure.include=prometheus
management.endpoint.prometheus.enabled=true
management.endpoint.health.show.details=always
spring.redis.host=redis.redis.svc.cluster.local
spring.redis.port=6379
server.port=9000
management.endpoints.web.exposure.include=prometheus
management.endpoint.prometheus.enabled=true
management.endpoint.health.show.details=always
eureka.client.serviceUrl.defaultZone= ${EUREKA_URL:http://eurekasvc.jobportal.svc.cluster.local:8761/eureka/}
eureka.instance.preferIpAddress=true
server.port=8086
spring.data.mongodb.uri=mongodb://mongodb.mongo.svc.cluster.local:27017/cvSVCDB
spring.data.mongodb.database=cv
management.endpoints.web.exposure.include=prometheus
management.endpoint.prometheus.enabled=true
management.endpoint.health.show.details=always
\ No newline at end of file
......@@ -11,3 +11,6 @@ spring.kafka.properties.sasl.jaas.config=org.apache.kafka.common.security.plain.
spring.kafka.consumer.group-id=interview-group
spring.kafka.consumer.auto-offset-reset=earliest
spring.kafka.topic.name=Interview_Topic
management.endpoints.web.exposure.include=prometheus
management.endpoint.prometheus.enabled=true
management.endpoint.health.show.details=always
\ No newline at end of file
......@@ -4,4 +4,6 @@ spring.datasource.url=jdbc:mysql://mysql.sql.svc.cluster.local:3306/jobseeker
spring.datasource.username=abdullah
spring.datasource.password=aaa123
spring.jpa.hibernate.ddl-auto=update
management.endpoints.web.exposure.include=prometheus
management.endpoint.prometheus.enabled=true
management.endpoint.health.show.details=always
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment