spring-boot-actuator 相关问题

Spring Boot Actuator是Spring Boot的子项目。它为您的应用程序添加了多种生产级服务,而您只需付出很少的努力。

/豆弹簧启动器执行器无法访问

尝试使用具有执行器依赖性的简单弹簧启动应用程序,但无法访问http:// localhost:8080 / actuator / beans我能够访问http:// localhost:8080 /执行器与...

回答 1 投票 0

使用Spring Cloud Bus刷新配置更改

我正在构建一个使用Spring Cloud配置服务器作为保存属性文件的集中位置的应用程序。我有多个客户端应用程序从配置中获取配置数据...

回答 1 投票 0

Spring Boot Cache + Apache点火+ Spring Boot Actuator - 运行测试时应用程序无法启动

我有一个项目,我使用Spring Boot 2.0.0 +,Spring Boot Cache,Apache Ignite,Spring Boot Actuator和TestNG。自从我从点燃2.5升级到点燃2.6+以来,我一直面临着问题......

回答 1 投票 1

有没有办法在Spring Boot 2 Actuator中禁用ReactiveHealthIndicators?

使用Spring Boot 2.1.2执行器。我的类路径中有Redis。执行器自动启用RedisReactiveHealthIndicator。我不希望这样。我的应用程序不是被动的。我想要RedisHealthIndicator,......

回答 2 投票 0

使用WebSecurityConfigurerAdapter的@ManagementContextConfiguration不起作用

我有一个有效的Spring Boot 1.x应用程序,配置了不同的管理端口和安全性(Basic Auth)。迁移到Spring 2.1后,它不再起作用了。看代码:@ ...

回答 1 投票 0

执行器刷新未经授权的本地文件更改

我正在设置一个Spring云服务器,尝试从git repo获取一些属性,如下所示:spring.cloud.config.server.git.uri = file:/// $ {user.home} / PersoWorkspace / cloud-config在我的春天......

回答 1 投票 2

捕获用于Spring启动应用程序的heapdump

我是堆分析的新手。我们一直在我们的Web应用程序中使用spring boot。最近堆使用率已经变得太高了。要使用Mat和JProfiler等工具分析堆转储,我正在下载它...

回答 1 投票 0

使用cxf-spring-boot-starter-jaxrs在spring启动应用程序中的度量标准http_server_requests_seconds_count包含uri为“UNKNOWN”

在Spring Boot应用程序中使用版本2.0.8进行度量标准http_server_requests_seconds_count。使用弹簧执行器公开包含uri为“UNKNOWN”。 Spring Boot应用程序正在使用cxf-spring -...

回答 1 投票 0

使用调度程序的Spring Boot Shutdown

我正在使用Spring Boot + Spring Task Scheduler创建一个轮询应用程序。我计划在维护窗口期间使用执行器关闭应用程序(请参阅执行器的关闭终点:......

回答 2 投票 0

spring boot刷新没有配置服务器的属性文件

我想在spring boot中刷新属性文件。版本 - 2.1.4.RELEASE如果是春天配置服务器必须将我的所有应用程序连接到我不想要的配置服务器,因为我们的应用程序在...

回答 1 投票 -1

Spring Boot Actuator Endpoints安全性不适用于自定义Spring Security配置

这是我的Spring Boot 1.5.1 Actuator application.properties:#Spring Boot Actuator management.contextPath:/ actuator management.security.roles = R_0这是我的WebSecurityConfig:@Configuration @ ...

回答 4 投票 9

隐藏Spring Boot Actuator中健康指示器的详细信息

我正在使用执行器的Spring Boot健康指示器。到目前为止,示例响应如下:{“status”:“DOWN”,“details”:{“diskSpace”:{“status”:“UP”,“details”:{...

回答 2 投票 1

Spring启动禁用Custom HealthIndicator

我已经创建了一个自定义的HealthIndicator,我想在生产中禁用它,直到我们完全上线。我知道有一个属性可以禁用默认的健康指标(management.health.defaults ....

回答 2 投票 1

不监视特定的数据源以进行运行状况检查

我想知道是否存在一些方法来禁止SpringBoot Actuator监视特定数据源。场景:一个微服务使用3个数据源,但对于某些业务原因,一个......

回答 2 投票 4

使用Spring Boot Actuator计算每秒的请求数

我想计算Spring Boot 2应用程序中特定URL的每秒请求数,以及每个请求所花费的时间(延迟)(以毫秒为单位)。我们可以看到以下......

回答 1 投票 0

Hystrix状态未在/ health下公开

根据https://cloud.spring.io/spring-cloud-netflix/multi/multi__circuit_breaker_hystrix_clients.html,我的应用程序应该在/ health下提供hystrix数据。尽管断路器......

回答 2 投票 0

为什么我在CloudFoundry中缺少Spring Actuator 2端点,而相同的设置在本地工作?

我正在SAP Cloud Foundry上部署一个应用程序,其中嵌入了Spring Actuator 2.0,但端点没有按预期显示。仅启用默认值(运行状况,信息)。一样......

回答 1 投票 0

Spring Boot 2 - 执行器指标端点不起作用

在我的Spring Boot App(2.0.0.M7)application.properties中我设置了management.endpoint.metrics.enabled = true然而,当我点击localhost:8080 / actuator / metrics时,我得到404.是什么解决方案?

回答 8 投票 17

Spring Boot 2健康端点JSON格式已更改

我们最近在我们的一个应用程序中将Spring-Boot版本升级到2.1.2。当我点击此URL时,我注意到JSON格式发生了变化:http:// localhost:xxxx / health。改变的结构是:{...

回答 1 投票 1

spring-boot-actuator是否会改变弹簧应用的上下文根?

根据这篇文章,通过在pom.xml中使用spring-boot-actuator依赖性,我可以从执行器端点中受益。但是,我发现它打破了我现有的弹簧应用程序(它是...

回答 1 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.