We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14e74b7 commit f6f20d9Copy full SHA for f6f20d9
src/tsd/PutDataPointRpc.java
@@ -170,6 +170,14 @@ public String toString() {
170
}
171
172
try {
173
+ if (dp == null) {
174
+ if (show_details) {
175
+ details.add(this.getHttpDetails("Unexpected null datapoint encountered in set.", dp));
176
+ }
177
+ LOG.warn("Datapoint null was encountered in set.");
178
+ illegal_arguments.incrementAndGet();
179
+ continue;
180
181
if (dp.getMetric() == null || dp.getMetric().isEmpty()) {
182
if (show_details) {
183
details.add(this.getHttpDetails("Metric name was empty", dp));
0 commit comments