我已经使用cli设置了micronaut,并希望添加一个提供prometheus指标的端点。遵循指南(和Micronaut: How to get metrics in the Prometheus format?),我通过以下方式向我的application.yml添加了内容: micronaut: name: foo-service enabledendpoints: enabled: true
pr
我试图编写一个micronaut端点,它消耗任何类型的内容,并从请求中获取原始主体,并面临几个挑战:
如何编写端点,如请求将被路由到它,而不管内容类型如何?(micronaut默认使用application/json)How来读取此类请求的正文?I find it surprising micronaut "leaks" the underlying netty bytebuf to the higher
我想在一个新的Micronaut应用程序中使用它。尝试了中所建议的方法,但是遇到了No existing bean found for bean key: com.org.sdk-name.TestService。为了使SDK与Micronaut兼容,我是否需要对SDK本身进行任何更改?(到目前为止,我只对Micronaut应用程序进行了更改,以集成SDK)
如何告诉Micronaut应用程序查找外部SDK中的b
一个micronaut应用程序在本地为我工作,但不是在另一个环境中。我得到一个Micronaut错误(不是网络错误),表示我要访问的URL没有定义。myApp/debug/loadVins","templated":false}},"_embedded":{"errors":[{"message":"Page Not Found"}]}}
有没有办法让Micronaut列出它识