All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cf.dropsonde.metron.MetronClient Maven / Gradle / Ivy

Go to download

Java support for Cloud Foundry's Loggregator using the Dropsonde protocol.

There is a newer version: 0.5
Show newest version
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