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