ThingWorx Modelldefinition in Composer > System > Protokolle > Stream-Prozessor-Protokolle
Stream-Prozessor-Protokolle
Neue Protokolle auf der Ebene WARNUNG für jeden Stream-Prozessor werden hinzugefügt, um die Kapazität der Warteschlangen für Stream-Prozessoren zu überwachen. Diese Warnungsprotokolle werden in Anwendungsprotokollen angezeigt, wenn mindestens 70 % der Kapazität einer einzelnen Warteschlange belegt sind. Für Wert-Stream-, Datentabellen- und Stream-Prozessoren wird der Versuch, den Warteschlangen einen Eintrag hinzuzufügen, zurückgewiesen, wenn die Warteschlange voll ausgelastet ist. Für den persistenten Eigenschaftsprozessor wird (mit Producer-Timeout) erneut versucht, den Eintrag zur Warteschlange hinzuzufügen. Nach dem Timeout des erneuten Versuchs wird der Eintrag zurückgewiesen, wenn er nicht hinzugefügt werden konnte. Die zurückgewiesenen Einträge werden mit den neuen totalWritesRejected-Metriken gezählt, die oben erwähnt wurden.
Nachfolgend sehen Sie ein Beispiel dieser Protokollanweisungen.
PersistentPropertyProcessor
2022-02-09 02:56:15.465+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: ] [T: Timer-6] PersistentPropertyProcessor queue #9 is currently 82.0 percent full that is at or above 70.0 percent threshold
82022-02-09 02:56:15.465+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: ] [T: Timer-6] PersistentPropertyProcessor queue #11 is currently 82.0 percent full that is at or above 70.0 percent threshold
92022-02-09 02:56:15.465+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: ] [T: Timer-6] PersistentPropertyProcessor queue #13 is currently 81.0 percent full that is at or above 70.0 percent threshold
102022-02-09 02:56:15.465+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: ] [T: Timer-6] PersistentPropertyProcessor queue #14 is currently 82.0 percent full that is at or above 70.0 percent threshold
112022-02-09 02:56:15.465+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: ] [T: Timer-6] PersistentPropertyProcessor queue #16 is currently 79.0 percent full that is at or above 70.0 percent threshold
BatchValueStreamProcessor
platform1_1 | 2022-02-22 21:09:08.208+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: platform1] [T: Timer-9] BatchValueStreamProcessor queue #81 is currently 100.0 percent full that is at or above 70.0 percent threshold
platform1_1 | 2022-02-22 21:09:08.208+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: platform1] [T: Timer-9] BatchValueStreamProcessor queue #82 is currently 100.0 percent full that is at or above 70.0 percent threshold
platform1_1 | 2022-02-22 21:09:08.208+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: platform1] [T: Timer-9] BatchValueStreamProcessor queue #83 is currently 100.0 percent full that is at or above 70.0 percent threshold
platform1_1 | 2022-02-22 21:09:08.208+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: platform1] [T: Timer-9] BatchValueStreamProcessor queue #84 is currently 100.0 percent full that is at or above 70.0 percent threshold
platform1_1 | 2022-02-22 21:09:08.208+0000 [L: WARN] [O: c.t.p.p.StreamEntryProcessor] [I: ] [U: ] [S: ] [P: platform1] [T: Timer-9] BatchValueStreamProcessor queue #85 is currently 100.0 percent full that is at or above 70.0 percent threshold
Die Anwendungsprotokolle sollten für jeden Stream-Eintragsprozessor überwacht werden, um die zurückgewiesenen Einträge minimal zu halten.
Die folgende Vorlage ist für diese Protokollanweisung gedacht:
{ProcessorName} queue #{queue number} is curently {percentage} percent full that is at or above 70.0 percent threshold
Nachfolgend finden Sie die Namen aller Stream-Prozessoren, die in den obigen Protokollanweisungen möglicherweise anstelle von {ProcessorName} angezeigt werden:
BatchStreamProcessor
BatchValueStreamProcessor
ValueStreamProcessor
DataTableProcessor
InfluxdbStreamProcessor
InfluxdbValueStreamProcessor
PersistentPropertyProcessor
StreamProcessor
War dies hilfreich?