Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For example, Geode collects metrics in a meter registry, but does not publish them. A developer may wish to publish those metrics via HTTP, using a PrometheusMeterRegistry or similar. Geode's existing HTTP server potentially offers a handy way to serve this information.

Solution

Give HttpService a public interface for adding endpoints, and make the instance publicly accessible.

...