dmwm / auth-proxy-server

MIT License
1 stars 4 forks source link

Adjust APS MONIT metrics streaming #33

Open vkuznet opened 1 month ago

vkuznet commented 1 month ago

Based on Nikodemas report:

We have created a dashboard with the new APS dashboard (original dashboard is here). A few things about the fields in the new dashboard/logs with the examples:

We need to implement those to be compatible with APS+filebeat+logstash approach used in APS timber dashboard.

vkuznet commented 1 month ago

Added in this commit: 791702a202e4c9986bb4d8f10757a93a837e3ec4

vkuznet commented 1 month ago

@arooshap , @nikodemas : I added missing fields for sending APS logs directly to MONIT in this ticket. The cmsweb_env, cmsweb_cluster, and proxy_server will be set if we setup CMSWEB_ENV, CMSWEB_CLUSTER, and APS_SERVER in aps k8s yaml files. And, client_version will be set via user-agent of HTTP request.

Once this issue is committed, APS go.mod and go.sum will need an appropriate update and new APS image should be built (I'll do it later). After that you may test new feature in cmsweb clusters and decide should it be used. For that a set of stress tests will be required to determine the latency of APS+MONIT vs APS+filebeat+logstash+MONIT routes.