@Configuration
@ConditionalOnProperty(value="shenyu.metrics.enabled",
havingValue="true")
public class MetricsPluginConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
MetricsPluginConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
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 © 2024 The Apache Software Foundation. All rights reserved.