mon_messagebus.cpp 375 B

1234567891011
  1. #include <library/cpp/messagebus/www/www.h>
  2. #include "mon_messagebus.h"
  3. using namespace NMonitoring;
  4. void TBusNgMonPage::Output(NMonitoring::IMonHttpRequest& request) {
  5. NBus::TBusWww::TOptionalParams params;
  6. params.ParentLinks.push_back(NBus::TBusWww::TLink{"/", request.GetServiceTitle()});
  7. BusWww->ServeHttp(request.Output(), request.GetParams(), params);
  8. }