diff options
author | a-sidorin <a-sidorin@yandex-team.ru> | 2022-02-10 16:50:02 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:02 +0300 |
commit | 9473a88c91129dfe21343af486bebb93a0b33291 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/monlib | |
parent | 4ffc252d74adad4b93762976940ef53012cb98df (diff) | |
download | ydb-9473a88c91129dfe21343af486bebb93a0b33291.tar.gz |
Restoring authorship annotation for <a-sidorin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib')
-rw-r--r-- | library/cpp/monlib/service/pages/registry_mon_page.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/monlib/service/pages/registry_mon_page.cpp b/library/cpp/monlib/service/pages/registry_mon_page.cpp index 931ffed8c0..c59e50f622 100644 --- a/library/cpp/monlib/service/pages/registry_mon_page.cpp +++ b/library/cpp/monlib/service/pages/registry_mon_page.cpp @@ -4,7 +4,7 @@ #include <library/cpp/monlib/encode/json/json.h> #include <library/cpp/monlib/encode/prometheus/prometheus.h> #include <library/cpp/monlib/encode/spack/spack_v1.h> -#include <library/cpp/monlib/service/format.h> +#include <library/cpp/monlib/service/format.h> namespace NMonitoring { void TMetricRegistryPage::Output(NMonitoring::IMonHttpRequest& request) { @@ -20,8 +20,8 @@ namespace NMonitoring { encoder = NMonitoring::EncoderJson(&out); } else if (formatStr == TStringBuf("spack")) { resp = HTTPOKSPACK; - const auto compression = ParseCompression(request); - encoder = NMonitoring::EncoderSpackV1(&out, ETimePrecision::SECONDS, compression); + const auto compression = ParseCompression(request); + encoder = NMonitoring::EncoderSpackV1(&out, ETimePrecision::SECONDS, compression); } else if (formatStr == TStringBuf("prometheus")) { resp = HTTPOKPROMETHEUS; encoder = NMonitoring::EncoderPrometheus(&out); |