METRICS_ENDPOINTS_EXPOSE:info for tb-vc-executor.yml to be able to expose prometheus metrics

This commit is contained in:
Sergey Matvienko 2023-05-26 18:03:40 +02:00
parent 5c6651fca1
commit 27c21fe9ac

View File

@ -192,6 +192,13 @@ metrics:
# Metrics percentiles returned by actuator for timer metrics. List of double values (divided by ,). # Metrics percentiles returned by actuator for timer metrics. List of double values (divided by ,).
percentiles: "${METRICS_TIMER_PERCENTILES:0.5}" percentiles: "${METRICS_TIMER_PERCENTILES:0.5}"
management:
endpoints:
web:
exposure:
# Expose metrics endpoint (use value 'prometheus' to enable prometheus metrics).
include: '${METRICS_ENDPOINTS_EXPOSE:info}'
service: service:
type: "${TB_SERVICE_TYPE:tb-vc-executor}" type: "${TB_SERVICE_TYPE:tb-vc-executor}"
# Unique id for this service (autogenerated if empty) # Unique id for this service (autogenerated if empty)