Sprinkle bits of javadoc on the classes.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
6.19.x
Lukas Krejci 2019-01-08 12:30:57 +01:00
parent b20d64d464
commit eb38457b08
2 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,7 @@ import org.eclipse.che.api.core.ServerException;
import org.eclipse.che.api.core.model.workspace.WorkspaceStatus;
import org.eclipse.che.api.workspace.activity.WorkspaceActivityManager;
/** Provides metrics of workspace activity. */
@Singleton
public class WorkspaceActivityMeterBinder implements MeterBinder {

View File

@ -15,6 +15,10 @@ import com.google.inject.AbstractModule;
import com.google.inject.multibindings.Multibinder;
import io.micrometer.core.instrument.binder.MeterBinder;
/**
* A Guice module to bind all our metric binders to a single multi-binder. The set of all metric
* binders is used to produce the Prometheus metrics on request.
*/
public class WsMasterMetricsModule extends AbstractModule {
@Override