Package io.avaje.metrics.statsd
Interface StatsdReporter
- All Superinterfaces:
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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder for the StatsdReporter.static interfaceCustom reporters that can be included. -
Method Summary
Modifier and TypeMethodDescriptionstatic StatsdReporter.Builderbuilder()Create a builder for the reporter.voidclose()Shutdown and stop reporting.voidstart()Start reporting.
-
Method Details
-
builder
Create a builder for the reporter. -
start
void start()Start reporting. -
close
void close()Shutdown and stop reporting.- Specified by:
closein interfaceAutoCloseable
-