modules/jooby-metrics/src/main/java/org/jooby/metrics/Metrics.java
/**
   * Append a simple ping handler that results in a <code>200</code> responses with a
   * <code>pong</code> body. See {@link PingHandler}
   *
   * @return This metrics module.
   */
Append a simple ping handler that results in a 200 responses with a
pong body.

@return This metrics module.
Append a simple ping handler that results in a 200 responses with a pong body . @return This metrics module .
public Metrics ping() {
    bindings.add((binder, routes, conf) -> {
      routes.use("GET", this.pattern + "/ping", new PingHandler());
    });
    return this;
  }
public Metrics ping ( ) { bindings . add ( ( binder , routes , conf ) -> { routes . use ( "GET" , this . pattern + "/ping" , new PingHandler ( ) ) ; } ) ; return this ; }
Append a simple ping handler that results in a <code>200</code> responses with a
 <code>pong</code> body.
Append a simple ping handler that results in a <code > 200< / code > responses with a <code > pong< / code > body .