aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/service/pages
diff options
context:
space:
mode:
authordcherednik <dcherednik@ydb.tech>2022-07-11 18:31:28 +0300
committerdcherednik <dcherednik@ydb.tech>2022-07-11 18:31:28 +0300
commit1b27061db9d5da991cfbed6a2edb75e6df98e5c5 (patch)
tree519d702c7d9ab9fd247ac7830b60d81f568ec837 /library/cpp/monlib/service/pages
parent9815e621b8ee1a73fae63122d0461ed9c52e3bea (diff)
downloadydb-1b27061db9d5da991cfbed6a2edb75e6df98e5c5.tar.gz
Avoid Ydb::NMonitoring and NMonitoring conflict.
Diffstat (limited to 'library/cpp/monlib/service/pages')
-rw-r--r--library/cpp/monlib/service/pages/templates.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/monlib/service/pages/templates.h b/library/cpp/monlib/service/pages/templates.h
index b4656f059f..0249807d5f 100644
--- a/library/cpp/monlib/service/pages/templates.h
+++ b/library/cpp/monlib/service/pages/templates.h
@@ -13,14 +13,14 @@
label \
:
-#define TAG(name) WITH_SCOPED(tmp, NMonitoring::name(__stream))
-#define TAG_CLASS(name, cls) WITH_SCOPED(tmp, NMonitoring::name(__stream, cls))
-#define TAG_CLASS_STYLE(name, cls, style) WITH_SCOPED(tmp, NMonitoring::name(__stream, {{"class", cls}, {"style", style}}))
-#define TAG_CLASS_ID(name, cls, id) WITH_SCOPED(tmp, NMonitoring::name(__stream, cls, "", id))
-#define TAG_CLASS_FOR(name, cls, for0) WITH_SCOPED(tmp, NMonitoring::name(__stream, cls, for0))
-#define TAG_ATTRS(name, ...) WITH_SCOPED(tmp, NMonitoring::name(__stream, ##__VA_ARGS__))
+#define TAG(name) WITH_SCOPED(tmp, ::NMonitoring::name(__stream))
+#define TAG_CLASS(name, cls) WITH_SCOPED(tmp, ::NMonitoring::name(__stream, cls))
+#define TAG_CLASS_STYLE(name, cls, style) WITH_SCOPED(tmp, ::NMonitoring::name(__stream, {{"class", cls}, {"style", style}}))
+#define TAG_CLASS_ID(name, cls, id) WITH_SCOPED(tmp, ::NMonitoring::name(__stream, cls, "", id))
+#define TAG_CLASS_FOR(name, cls, for0) WITH_SCOPED(tmp, ::NMonitoring::name(__stream, cls, for0))
+#define TAG_ATTRS(name, ...) WITH_SCOPED(tmp, ::NMonitoring::name(__stream, ##__VA_ARGS__))
-#define HTML(str) WITH_SCOPED(__stream, NMonitoring::TOutputStreamRef(str))
+#define HTML(str) WITH_SCOPED(__stream, ::NMonitoring::TOutputStreamRef(str))
#define HEAD() TAG(THead)
#define BODY() TAG(TBody)
@@ -92,10 +92,10 @@
#define HTML_OUTPUT_TIME_PARAM(str, param) str << #param << ": " << ToStringLocalTimeUpToSeconds(param) << "<br/>"
#define COLLAPSED_BUTTON_CONTENT(targetId, buttonText) \
- WITH_SCOPED(tmp, NMonitoring::TCollapsedButton(__stream, targetId, buttonText))
+ WITH_SCOPED(tmp, ::NMonitoring::TCollapsedButton(__stream, targetId, buttonText))
#define HREF(path) \
- WITH_SCOPED(tmp, NMonitoring::THref(__stream, path))
+ WITH_SCOPED(tmp, ::NMonitoring::THref(__stream, path))
namespace NMonitoring {
struct THref {