public override void Init() { // Setup Graphite reporting //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final': //ORIGINAL LINE: final com.codahale.metrics.graphite.Graphite graphite = new com.codahale.metrics.graphite.Graphite(hostnamePort.getHost(), hostnamePort.getPort()); Graphite graphite = new Graphite(_hostnamePort.Host, _hostnamePort.Port); _graphiteReporter = GraphiteReporter.forRegistry(_registry).prefixedWith(_prefix).convertRatesTo(TimeUnit.SECONDS).convertDurationsTo(TimeUnit.MILLISECONDS).filter(MetricFilter.ALL).build(graphite); }