/spectator-examples

Primary LanguageJavaApache License 2.0Apache-2.0

Build Status

Examples for using Spectator. Overview:

  • server: is a small http server library instrumented using spectator.

To make this useful we need to setup bindings and report somewhere using one of the spectator registry implementations. In the simplest cases that will be JMX or writing to local files:

  • servo: uses the server library example above and binds to the Servo Registry for reporting to the file system.
  • metrics3: uses the server library example above and binds to the Metrics3 Registry for reporting to JMX and to the file system.