Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api/metrics module : request_time metric support #56

Open
miksir opened this issue Nov 3, 2023 · 3 comments
Open

Api/metrics module : request_time metric support #56

miksir opened this issue Nov 3, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@miksir
Copy link

miksir commented Nov 3, 2023

Перебрались на angie во многом что бы не ставить vts модуль. Работает отлично, спасибо. Но не хватает немного метрики по времени ответа. Нет ли планов добавить?

@emiliocamposmartin
Copy link

emiliocamposmartin commented Nov 3, 2023 via email

@VBart
Copy link
Contributor

VBart commented Nov 3, 2023

@emiliocamposmartin

VTS module is compatible, but it doesn't makes much sense, since Angie already has plenty of real-time and precise metrics. Note that Angie metrics based on counters, while VTS module works in log phase, so VTS is similar to parsing access logs and as a result (quote from VTS documentation):

Caveats: this module relies on nginx logging system(NGX_HTTP_LOG_PHASE:last phase of the nginx http), so the traffic may be in certain cirumstances different that real bandwidth traffic. Websocket, canceled downloads may be cause of inaccuracies.

Logging phase happens only after the request processing is finished. So, with VTS you just can't see the real picture at the very moment.

@VBart
Copy link
Contributor

VBart commented Nov 3, 2023

Но не хватает немного метрики по времени ответа. Нет ли планов добавить?

На данный момент метрики по времени ответа бекенд серверов доступны пока только в Angie PRO. Возможно в будущем перенесем их в OSS версию.

@VBart VBart added the enhancement New feature or request label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants