Я использую Springboot и выставляю метрики с помощью привода и прометея. Я хочу раскрыть "информация", "здоровье", "метрики", "прометей", "выключение" и ничего более. Но даже если я укажу в свойствах приложения, я вижу, что даже корень "/ привод" выставлен.
Я хотел бы отключить корневой привод и иметь только 5 членов, как я уже говорил ранее.
Есть ли способ не отображать только конечную точку / привода? Я также пытался в свойствах приложения сделать так:
management.endpoints.web.exposure.exclude=actuator
Вот список открытых исполнительных механизмов:
{
"_links": {
"self": {
"href": "http://localhost:9002/actuator",
"templated": false
},
"health-component-instance": {
"href": "http://localhost:9002/actuator/health/{component}/{instance}",
"templated": true
},
"health-component": {
"href": "http://localhost:9002/actuator/health/{component}",
"templated": true
},
"health": {
"href": "http://localhost:9002/actuator/health",
"templated": false
},
"shutdown": {
"href": "http://localhost:9002/actuator/shutdown",
"templated": false
},
"info": {
"href": "http://localhost:9002/actuator/info",
"templated": false
},
"prometheus": {
"href": "http://localhost:9002/actuator/prometheus",
"templated": false
},
"metrics-requiredMetricName": {
"href": "http://localhost:9002/actuator/metrics/{requiredMetricName}",
"templated": true
},
"metrics": {
"href": "http://localhost:9002/actuator/metrics",
"templated": false
}
}
}