source.setAttribute(source.getFallbackAttribute()); source.setFallbackAttribute(null); rrdGraphAttribute = resource.getRrdGraphAttributes().get(source.getAttribute());
source.setAttribute(source.getFallbackAttribute()); source.setFallbackAttribute(null); rrdGraphAttribute = resource.getRrdGraphAttributes().get(source.getAttribute());
source.setLabel("result"); source.setResourceId(attribute.getResource().getId().toString()); source.setAttribute(attribute.getName()); source.setAggregation(m_consolidationFunction.toUpperCase());
source.setAttribute(source.getFallbackAttribute()); source.setFallbackAttribute(null); rrdGraphAttribute = resource.getRrdGraphAttributes().get(source.getAttribute());
source.setAttribute(source.getFallbackAttribute()); source.setFallbackAttribute(null); rrdGraphAttribute = resource.getRrdGraphAttributes().get(source.getAttribute());
private QueryResponse queryInt(final String resource, final String attribute, final long start, final long end, final long step, final String aggregation, final boolean relaxed) throws MeasurementException { QueryRequest request = new QueryRequest(); request.setRelaxed(relaxed); request.setStart(start); request.setEnd(end); request.setStep(step); Source source = new Source(); source.setAggregation(aggregation); source.setTransient(false); source.setAttribute(attribute); source.setResourceId(resource); source.setLabel(attribute); request.setSources(Collections.singletonList(source)); return measurementsService.query(request); } }
sourceIn.setAggregation(aggregation); sourceIn.setTransient(true); sourceIn.setAttribute("ifHCInOctets"); sourceOut.setAggregation(aggregation); sourceOut.setTransient(true); sourceOut.setAttribute("ifHCOutOctets");
private QueryResponse queryInt(final String resource, final String attribute, final long start, final long end, final long step, final String aggregation, final boolean relaxed) throws MeasurementException { QueryRequest request = new QueryRequest(); request.setRelaxed(relaxed); request.setStart(start); request.setEnd(end); request.setStep(step); Source source = new Source(); source.setAggregation(aggregation); source.setTransient(false); source.setAttribute(attribute); source.setResourceId(resource); source.setLabel(attribute); request.setSources(Collections.singletonList(source)); return measurementsService.query(request); } }
sourceIn.setAggregation(aggregation); sourceIn.setTransient(true); sourceIn.setAttribute("ifHCInOctets"); sourceOut.setAggregation(aggregation); sourceOut.setTransient(true); sourceOut.setAttribute("ifHCOutOctets");
source.setLabel("result"); source.setResourceId(resource.getId().toString()); source.setAttribute(rrdAttribute.getName()); source.setAggregation("AVERAGE"); FetchResults results = new FetchResults(new long[] {report.getStartTime()},
source.setLabel("result"); source.setResourceId(rrdAttribute.getResource().getId().toString()); source.setAttribute(rrdAttribute.getName()); source.setAggregation("AVERAGE"); FetchResults results = new FetchResults(new long[] {report.getStartTime()},