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