ApacheStatusPoller poller = new ApacheStatusPoller(fetcher);
List<Metric> metrics = poller.pollImpl(false, TIMESTAMP);
Metric accesses = counter("Total_Accesses", TOTAL_ACCESSES);
Metric kBytes = counter("Total_kBytes", KBYTES);
Metric uptime = counter("Uptime", UPTIME);
List<Metric> counters = ImmutableList.of(accesses, kBytes, uptime);
Metric rps = gauge("ReqPerSec", RPS);
Metric bps = gauge("BytesPerSec", BPS);
Metric bpr = gauge("BytesPerReq", BPR);
Metric busyWorkers = gauge("BusyWorkers", BUSY_WORKERS);
Metric idleWorkers = gauge("IdleWorkers", IDLE_WORKERS);
List<Metric> gauges = ImmutableList.of(rps, bps, bpr, busyWorkers, idleWorkers);
Metric waitingForConnection = scoreboard("WaitingForConnection", 45.0);
Metric startingUp = scoreboard("StartingUp", 0.0);
Metric readingRequest = scoreboard("ReadingRequest", 0.0);
Metric sendingReply = scoreboard("SendingReply", 1.0);
Metric keepalive = scoreboard("Keepalive", 4.0);
Metric dnsLookup = scoreboard("DnsLookup", 0.0);
Metric closingConnection = scoreboard("ClosingConnection", 0.0);
Metric logging = scoreboard("Logging", 0.0);
Metric gracefullyFinishing = scoreboard("GracefullyFinishing", 0.0);
Metric idleCleanupOfWorker = scoreboard("IdleCleanupOfWorker", 0.0);
Metric unknownState = scoreboard("UnknownState", 0.0);
List<Metric> scoreboard = ImmutableList.of(waitingForConnection,
startingUp, readingRequest, sendingReply, keepalive, dnsLookup, closingConnection,
logging, gracefullyFinishing, idleCleanupOfWorker, unknownState);
List<Metric> expected = new ImmutableList.Builder<Metric>()