@@ -69,21 +69,21 @@ class TJsonGraph : public TActorBootstrapped<TJsonGraph> {
6969 if (response.GetError ()) {
7070 json[" status" ] = " error" ;
7171 json[" error" ] = response.GetError ();
72- Send (Event->Sender , new NMon::TEvHttpInfoRes (Viewer->GetHTTPOKJSON (Event->Get ()) + NJson::WriteJson (json, false ), 0 , NMon::IEvHttpInfoRes::EContentType::Custom));
72+ Send (Event->Sender , new NMon::TEvHttpInfoRes (Viewer->GetHTTPOKJSON (Event->Get (), NJson::WriteJson (json, false ) ), 0 , NMon::IEvHttpInfoRes::EContentType::Custom));
7373 return PassAway ();
7474 }
7575 if (response.DataSize () != Metrics.size ()) {
7676 json[" status" ] = " error" ;
7777 json[" error" ] = " Invalid data size received" ;
78- Send (Event->Sender , new NMon::TEvHttpInfoRes (Viewer->GetHTTPOKJSON (Event->Get ()) + NJson::WriteJson (json, false ), 0 , NMon::IEvHttpInfoRes::EContentType::Custom));
78+ Send (Event->Sender , new NMon::TEvHttpInfoRes (Viewer->GetHTTPOKJSON (Event->Get (), NJson::WriteJson (json, false ) ), 0 , NMon::IEvHttpInfoRes::EContentType::Custom));
7979 return PassAway ();
8080 }
8181 for (size_t nMetric = 0 ; nMetric < response.DataSize (); ++nMetric) {
8282 const auto & protoMetric (response.GetData (nMetric));
8383 if (response.TimeSize () != protoMetric.ValuesSize ()) {
8484 json[" status" ] = " error" ;
8585 json[" error" ] = " Invalid value size received" ;
86- Send (Event->Sender , new NMon::TEvHttpInfoRes (Viewer->GetHTTPOKJSON (Event->Get ()) + NJson::WriteJson (json, false ), 0 , NMon::IEvHttpInfoRes::EContentType::Custom));
86+ Send (Event->Sender , new NMon::TEvHttpInfoRes (Viewer->GetHTTPOKJSON (Event->Get (), NJson::WriteJson (json, false ) ), 0 , NMon::IEvHttpInfoRes::EContentType::Custom));
8787 return PassAway ();
8888 }
8989 }
@@ -133,7 +133,7 @@ class TJsonGraph : public TActorBootstrapped<TJsonGraph> {
133133 }
134134 }
135135
136- Send (Event->Sender , new NMon::TEvHttpInfoRes (Viewer->GetHTTPOKJSON (Event->Get ()) + NJson::WriteJson (json, false ), 0 , NMon::IEvHttpInfoRes::EContentType::Custom));
136+ Send (Event->Sender , new NMon::TEvHttpInfoRes (Viewer->GetHTTPOKJSON (Event->Get (), NJson::WriteJson (json, false ) ), 0 , NMon::IEvHttpInfoRes::EContentType::Custom));
137137 PassAway ();
138138 }
139139
0 commit comments