@Configuration
@ConditionalOnProperty(value="shenyu.metrics.enabled",
havingValue="true")
public class MetricsPluginConfiguration
extends java.lang.Object
| 构造器和说明 |
|---|
MetricsPluginConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.shenyu.plugin.api.ShenyuPlugin |
metricsPlugin()
Logging plugin.
|
MetricsRunner |
metricsRunner(org.apache.shenyu.common.config.ShenyuConfig shenyuConfig)
Metrics runner.
|
@Bean public org.apache.shenyu.plugin.api.ShenyuPlugin metricsPlugin()
@Bean public MetricsRunner metricsRunner(org.apache.shenyu.common.config.ShenyuConfig shenyuConfig)
shenyuConfig - the shenyu configCopyright © 2026 The Apache Software Foundation. All rights reserved.