将小黑麦追踪添加到 Wildfly 23

Adding smallrye tracing to Wildfly 23

我正在尝试使用 thins 指南将 microprofile opentracing 子系统添加到 Wildfly23:https://github.com/wildfly/wildfly/blob/main/docs/src/main/asciidoc/_admin-guide/subsystem-configuration/MicroProfile_OpenTracing_SmallRye.adoc

然而,第二步失败:

[standalone@localhost:9990 /] /subsystem=microprofile-opentracing-smallrye:add
    ERROR [org.jboss.as.cli.CommandContext] {
    "outcome" => "failed",
    "failure-description" => "WFLYCTL0369: Required capabilities are not available:
    org.wildfly.microprofile.config; There are no known registration points which can provide this capability.",
    "rolled-back" => true
}

我尝试使用此模型作为参考添加 microprofile 配置:https://docs.wildfly.org/23/wildscribe/subsystem/microprofile-config-smallrye/index.html 但是我收到此错误

[standalone@localhost:9990 /] /subsystem=microprofile-config-smallrye:add
    ERROR [org.jboss.as.cli.CommandContext] {
    "outcome" => "failed",
    "failure-description" => "WFLYCTL0030: No resource definition is registered for address [(\"subsystem\" => \"microprofile-config-smallrye\")]",
    "rolled-back" => true
}

我错过了什么?该文档似乎足够新鲜,最后更新于 2021 年 3 月...

在添加子系统之前,您还需要安装扩展“org.wildfly.extension.microprofile.config-smallrye”和“org.wildfly.extension.microprofile.opentracing-smallrye”。 wildfly 还提供了一个独立的-microprofile.xml 可以作为示例服务器。