/** * Returns the builder for the concrete problemOccurrence. * * @param problemOccurrence * Instance of problemOccurrenct to build the builder with the proper tags and * fields. * @return Returns the builder. */ public Builder getBuilder(ProblemOccurrence problemOccurrence) { Builder builder = Point.measurement(getSeriesName()); builder.time(System.currentTimeMillis(), TimeUnit.MILLISECONDS); addTags(problemOccurrence, builder); addFields(problemOccurrence, builder); return builder; } }