aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/messagebus/mon_messagebus.cpp
blob: c24a7e1d4013ca33e5c00a8ebec09e35deb0f08a (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);
}