apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.09k stars 344 forks source link

cdn-in-a-box - no statistics on delivery services #6375

Open Scumtron opened 3 years ago

Scumtron commented 3 years ago

This Bug Report affects these Traffic Control components:

Current behavior:

No statistics in the delivery service. All values are 0. https://i.imgur.com/NqFyzL9.png https://i.imgur.com/P5kvoff.png https://i.imgur.com/z3e8qLc.png

Expected behavior:

Statistics for each delivery service should be displayed

Steps to reproduce:

git clone https://github.com/apache/trafficcontrol.git --branch v6.0.1 && cd /root/trafficcontrol/infrastructure/cdn-in-a-box make docker-compose build --parallel docker-compose -f docker-compose.yml -f docker-compose.expose-ports.yml up

Scumtron commented 3 years ago

I found a problem with the astats_over_http plugin. It does not contain a value for DsStats. http://23.88.40.207/_astats-8nybicpufpsqgc7a?record.types=122

ocket8888 commented 3 years ago

Verified on master, edge's _astats doesn't output any remap_stats entries in the ats section, even after requests successfully pass through the cache.