Skip to content

Commit

Permalink
fix(datadog): check for null values in datadog time series
Browse files Browse the repository at this point in the history
  • Loading branch information
gempesaw committed Feb 24, 2021
1 parent 7fd1ded commit 6444367
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private List<Double> getAdjustedPointList() {

// If the point at this index matches the timestamp at this position,
// add the value to the array and advance the index.
if (point.get(0).longValue() == time) {
if (point.get(0).longValue() == time && point.get(1) != null) {
this.adjustedPointList.add(point.get(1).doubleValue());
idx++;
} else {
Expand Down

0 comments on commit 6444367

Please sign in to comment.