public MonitorRequest(PathString requestPath, DateTime dateTime, Type type)
 {
     this.client      = new HttpClient();
     this.dateTime    = dateTime;
     this.type        = type;
     this.requestPath = requestPath;
     this.body        = new MonitorRequestBody(dateTime, requestPath, type);
     client.DefaultRequestHeaders.Add("TraceId", new Random().Next().ToString());
 }
 private void updateBody()
 {
     this.body = new MonitorRequestBody(this.dateTime, this.requestPath, this.type);
 }