cf.dropsonde.metron.MetronClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snotel Show documentation
Show all versions of snotel Show documentation
Java support for Cloud Foundry's Loggregator using the Dropsonde protocol.
package cf.dropsonde.metron;
/**
* @author Mike Heath
*/
public interface MetronClient extends AutoCloseable {
LogEmitter createLogEmitter(String sourceType, String sourceInstance);
void emitCounterEvent(String name, long delta);
void emitError(String source, int code, String message);
void emitValueMetric(String name, double value, String unit);
HttpStartStopEmitter createHttpStartStopEmitter();
@Override
void close();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy