Default Monitoring Metrics Command

The default monitoring metrics command can be used when the user has not connected to Prometheus.

Query All Monitoring Metrics

Command: metrics_default

Example:

  1. > telnet 127.0.0.1 22222
  2. > metrics_default

Output:

  1. Trying 127.0.0.1...
  2. Connected to localhost.
  3. Escape character is '^]'.
  4. ___ __ __ ___ ___ ____
  5. / _ \ / / / // _ ) / _ ) / __ \
  6. / // // /_/ // _ |/ _ |/ /_/ /
  7. /____/ \____//____//____/ \____/
  8. dubbo>metrics_default
  9. dubbo.registry.directory.num.disable.total{application.module.id=1.1,application.name=dubbo-springboot-demo-provider,application.version=,git.commit.id=,hostname=hujundeMacBook-Pro.local,interface=dubbo-springboot-demo-provider/org.apache.dubbo.metrics.service.MetricsService:1.0.0,ip=10.224.214.80,} 0.0
  10. dubbo.register.rt.milliseconds.max{application.module.id=1.1,application.name=dubbo-springboot-demo-provider,application.version=,git.commit.id=,hostname=hujundeMacBook-Pro.local,ip=10.224.214.80,} 153.0

Query Monitoring Metrics by Keyword

Command: metrics_default {applicationName} {keyword}

applicationName: Application name
keyword: Keyword

Example:

  1. > telnet 127.0.0.1 22222
  2. > metrics_default dubbo-springboot-demo-provider registry

Output:

  1. Trying 127.0.0.1...
  2. Connected to localhost.
  3. Escape character is '^]'.
  4. ___ __ __ ___ ___ ____
  5. / _ \ / / / // _ ) / _ ) / __ \
  6. / // // /_/ // _ |/ _ |/ /_/ /
  7. /____/ \____//____//____/ \____/
  8. dubbo> metrics_default dubbo-springboot-demo-provider registry
  9. dubbo.registry.subscribe.num.total{application.module.id=1.1,application.name=dubbo-springboot-demo-provider,application.version=,git.commit.id=,hostname=hujundeMacBook-Pro.local,ip=10.224.214.80,} 0.0
  10. dubbo.registry.directory.num.disable.total{application.module.id=1.1,application.name=dubbo-springboot-demo-provider,application.version=,git.commit.id=,hostname=hujundeMacBook-Pro.local,interface=dubbo-springboot-demo-provider/org.apache.dubbo.metrics.service.MetricsService:1.0.0,ip=10.224.214.80,} 0.0

Feedback

Was this page helpful?

Yes No

Last modified September 30, 2024: Update & Translate Overview Docs (#3040) (d37ebceaea7)