Package org.graylog2.system.processing
Interface ProcessingStatusRecorder
- All Known Implementing Classes:
InMemoryProcessingStatusRecorder
,MongoDBProcessingStatusRecorderService
public interface ProcessingStatusRecorder
This is used to track processing status on a single Graylog node.
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
double
long
double
Returns the nodeLifecycle
status for the node.org.joda.time.DateTime
org.joda.time.DateTime
long
void
updateIngestReceiveTime
(org.joda.time.DateTime newTimestamp) Update the receive time for the "ingest" measurement point.void
updatePostIndexingReceiveTime
(org.joda.time.DateTime newTimestamp) Update receive time for the "post-indexing" measurement point.void
updatePostProcessingReceiveTime
(org.joda.time.DateTime newTimestamp) Update the receive time for the "post-processing" measurement point.
-
Method Details
-
updateIngestReceiveTime
void updateIngestReceiveTime(org.joda.time.DateTime newTimestamp) Update the receive time for the "ingest" measurement point. This is done right before a raw messages gets written to the disk journal.- Parameters:
newTimestamp
- the new timestamp to record
-
getIngestReceiveTime
org.joda.time.DateTime getIngestReceiveTime() -
updatePostProcessingReceiveTime
void updatePostProcessingReceiveTime(org.joda.time.DateTime newTimestamp) Update the receive time for the "post-processing" measurement point. This is done right after all message processors have run.- Parameters:
newTimestamp
- the new timestamp to record
-
getPostProcessingReceiveTime
org.joda.time.DateTime getPostProcessingReceiveTime() -
updatePostIndexingReceiveTime
void updatePostIndexingReceiveTime(org.joda.time.DateTime newTimestamp) Update receive time for the "post-indexing" measurement point. This is done right after messages have been written to Elasticsearch.- Parameters:
newTimestamp
- the new timestamp to record
-
getPostIndexingReceiveTime
org.joda.time.DateTime getPostIndexingReceiveTime() -
getNodeLifecycleStatus
Lifecycle getNodeLifecycleStatus()Returns the nodeLifecycle
status for the node.- Returns:
- the node lifecycle status
-
getJournalInfoUncommittedEntries
long getJournalInfoUncommittedEntries() -
getJournalInfoReadMessages1mRate
double getJournalInfoReadMessages1mRate() -
getJournalInfoWrittenMessages1mRate
double getJournalInfoWrittenMessages1mRate() -
getProcessBufferUsage
long getProcessBufferUsage()
-