Interface StatsdReporter

All Superinterfaces:
AutoCloseable

public interface StatsdReporter extends AutoCloseable
Interface for a StatsD reporter that can be used to report metrics.

This interface allows for the creation of a StatsD reporter with various configurations such as hostname, port, client, tags, and reporting schedule.

The reporter can be started and stopped, and it supports custom reporters that can be included in the reporting process.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Builder for the StatsdReporter.
    static interface 
    Custom reporters that can be included.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a builder for the reporter.
    void
    Shutdown and stop reporting.
    void
    Start reporting.
  • Method Details

    • builder

      static StatsdReporter.Builder builder()
      Create a builder for the reporter.
    • start

      void start()
      Start reporting.
    • close

      void close()
      Shutdown and stop reporting.
      Specified by:
      close in interface AutoCloseable