Examples of RiemannFacade


Examples of com.spotify.helios.servicescommon.RiemannFacade

    // Configure metrics
    final MetricRegistry metricsRegistry = new MetricRegistry();
    RiemannSupport riemannSupport = new RiemannSupport(metricsRegistry, config.getRiemannHostPort(),
                                                       config.getName(), "helios-agent");
    final RiemannFacade riemannFacade = riemannSupport.getFacade();
    if (config.isInhibitMetrics()) {
      log.info("Not starting metrics");
      metrics = new NoopMetrics();
    } else {
      log.info("Starting metrics");
View Full Code Here

Examples of com.spotify.helios.servicescommon.RiemannFacade

  @Before
  public void setUp() throws Exception {
    when(riemannClient.aSendEventsWithAck(eventCaptor.capture()))
        .thenReturn(new Promise<Boolean>());
    when(riemannClient.event()).thenReturn(new EventDSL(riemannClient));
    final RiemannFacade riemannFacade = new RiemannFacade(riemannClient, HOST, SERVICE);
    sut = MonitoredDockerClient.wrap(riemannFacade, client);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.