You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short-circuit out of sendEvents if there is nothing to send; sending empty ingestion batches to the Scalyr backend is confusing/misleading
Support wildcards in the matcher rules config; support a "match all" conceit too so we don’t even need to specify a particular key (let alone static value, as current)
Add rate-limited logging if the EventMapper only ever returns null, something like this (here):
int nonNullCount = records.stream()
.map(eventMapper::createEvent)
.filter(Objects::nonNull)
.peek(event -> {
if (eventBuffer.estimatedSerializedBytes() + event.estimatedSerializedBytes() >= batchSendSizeBytes) {
sendEvents();
}
eventBuffer.addEvent(event);
})
.count();
if (nonNullCount == 0) {
log.rateLimitedWarn(..);
return;
}
The text was updated successfully, but these errors were encountered:
Short-circuit out of sendEvents if there is nothing to send; sending empty ingestion batches to the Scalyr backend is confusing/misleading
Support wildcards in the matcher rules config; support a "match all" conceit too so we don’t even need to specify a particular key (let alone static value, as current)
Add rate-limited logging if the
EventMapper
only ever returns null, something like this (here):The text was updated successfully, but these errors were encountered: