Skip to content

Instantly share code, notes, and snippets.

@VinceMacBuche
Last active December 22, 2015 09:09
Show Gist options
  • Save VinceMacBuche/6450334 to your computer and use it in GitHub Desktop.
Save VinceMacBuche/6450334 to your computer and use it in GitHub Desktop.
Rudder aggregation fails with a no answer
Rapport aggrégé en entrée :
AggregationReport(2013-09-05T13:45:38.000+02:00/2013-09-05T13:45:38.000+02:00,SuccessReportType,Some(65963),0,SerialInterval(4,4),"")
Rapport en entrée:
ArrayBuffer(ExecutionReport(2013-09-05T13:45:59.000+02:00,ErrorReportType,4,This is the first time the http://localhost:8080/endpoint/api/status web application failed to respond. Deferring the restart.))
Après Normalisation les intervalles sont :
AggregatedReports(TreeSet(
Gap(2013-09-05T13:40:38.000+02:00),
ARStart(2013-09-05T13:45:59.000+02:00,SuccessReportType,Some(65963),0,SerialInterval(4,4),""
)))
Après le split :
AggregatedReports(TreeSet(
Gap(2013-09-05T13:40:38.000+02:00),
ARStart(2013-09-05T13:45:59.000+02:00,SuccessReportType,Some(65963),0,SerialInterval(4,4),""),
ARStart(2013-09-05T13:50:59.000+02:00,SuccessReportType,None,0,SerialInterval(4,4),
)))
Rapport Finalement sauvé :
AggregationReport(2013-09-05T13:50:59.000+02:00/2013-09-05T13:50:59.000+02:00,SuccessReportType,None,0,SerialInterval(4,4),"")
Retransformé en aggregated Report :
Set(AggregatedReport(ReportKey(NodeId(root),RuleId(root-DP),DirectiveId(root-distributePolicy),Check endpoint status,None),0,SuccessReportType,2013-09-05T13:50:59.000+02:00/2013-09-05T13:50:59.000+02:00,,SerialInterval(4,4),None))
Update avec un RUN suivant :
interval containing
AggregationReport(2013-09-05T15:50:57.000+02:00/2013-09-05T15:55:57.000+02:00,ErrorReportType,None,1,SerialInterval(4,4),This is the first time the http://localhost:8080/endpoint/api/status web application failed to respond. Deferring the restart.")
is between
ARStart(2013-09-05T15:50:57.000+02:00,SuccessReportType,Some(65998),0,SerialInterval(4,4),)
and
ARStart(2013-09-05T15:55:57.000+02:00,SuccessReportType,None,0,SerialInterval(4,4),)
Merge Result is :
AggregatedReports(TreeSet(
Gap(2013-09-05T15:45:36.000+02:00),
ARStart(2013-09-05T15:50:57.000+02:00,ErrorReportType,Some(65998),1,SerialInterval(4,4),This is the first time the http://localhost:8080/endpoint/api/status web application failed to respond. Deferring the restart.),
ARStart(2013-09-05T15:55:57.000+02:00,SuccessReportType,None,0,SerialInterval(4,4),
)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment