Metric backend.averageTotalSessionTimeInSeconds is showing a value measured in milliseconds, not seconds.
This metric seems to be sourced from the HAProxy stats page, under Backend > Sessions > Total > Max / Avg over last 1024 success. conn. > Total > Avg which is labeled with ms unit and matches our stored metrics in NRDB for backend.averageTotalSessionTimeInSeconds.
Expected Behavior
Metric unit should match its name
Steps to Reproduce
Install nri-haproxy and the infra agent
Install HAProxy
Compare the stats page (http://localhost:2022/stats) with the backend.averageTotalSessionTimeInSeconds metric.
Description
Metric
backend.averageTotalSessionTimeInSeconds
is showing a value measured in milliseconds, not seconds.This metric seems to be sourced from the HAProxy stats page, under
Backend > Sessions > Total > Max / Avg over last 1024 success. conn. > Total > Avg
which is labeled withms
unit and matches our stored metrics in NRDB forbackend.averageTotalSessionTimeInSeconds
.Expected Behavior
Metric unit should match its name
Steps to Reproduce
backend.averageTotalSessionTimeInSeconds
metric.Your Environment
Additional context
Support case #00142225