Composer의 ThingWorx 모델 정의 > 시스템 > 로그 > 스트림 프로세서 로그
스트림 프로세서 로그
스트림 프로세서 대기열 용량을 모니터링할 수 있도록 각 스트림 프로세서에 대해 새 경고 수준 로그가 추가되었습니다. 개별 대기열의 용량이 70%보다 크거나 같은 경우 이러한 경고 로그가 응용 프로그램 로그에 표시되기 시작합니다. 가치 스트림, 데이터 테이블 및 스트림 프로세서의 경우 대기열의 용량이 가득 차 있으면 대기열에 엔트리를 추가하려는 모든 시도가 거부됩니다. 지속 속성 프로세서의 경우 대기열에 엔트리 추가를 다시 시도하고(생산자 시간 제한 있음) 다시 시도 시간 제한이 지난 후 엔트리를 추가할 수 없으면 엔트리가 거부됩니다. 거부된 엔트리는 위에서 언급된 새 totalWritesRejected 메트릭에 대해 계산됩니다.
다음은 이러한 로그 문의 예입니다.
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
거부된 엔트리를 최소로 유지하려면 응용 프로그램 로그에서 각 스트림 엔트리 프로세서를 모니터링해야 합니다.
다음은 이 로그 문에 대한 템플릿입니다.
{ProcessorName} queue #{queue number} is curently {percentage} percent full that is at or above 70.0 percent threshold
다음은 위의 로그 문에서 {ProcessorName} 대신 나타날 수 있는 모든 스트림 프로세서의 이름입니다.
BatchStreamProcessor
BatchValueStreamProcessor
ValueStreamProcessor
DataTableProcessor
InfluxdbStreamProcessor
InfluxdbValueStreamProcessor
PersistentPropertyProcessor
StreamProcessor
도움이 되셨나요?