trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

How do I count the bandwidth value of a single domain name?

Open JoeyX-u opened this issue 2 years ago • 3 comments

How do I count the bandwidth value of a single domain name? example: domain: https://www.google.com speed: 10M/s

JoeyX-u avatar Jun 02 '22 11:06 JoeyX-u

You can run global plugin remap_stats.so and then either use traffic_ctl metric match to get via command line or use stats_over_http plugin to do the same over an http endpoint.

traeak avatar Jun 06 '22 12:06 traeak

@traeak Does this plugin have statistics for each host separately? It didn't before...

Scumtron avatar Jun 07 '22 09:06 Scumtron

Might also take a look at log stats -- it parses squid binary log to produce stats. https://docs.trafficserver.apache.org/appendices/command-line/traffic_logstats.en.html

(and for your previous question... the plugin runs on a single host. The Traffic Server project itself doesn't have anything that manages many ATS nodes. The Apache Traffic Control project may have something along those lines.

mlibbey avatar Jun 07 '22 15:06 mlibbey

This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

github-actions[bot] avatar Jun 07 '23 22:06 github-actions[bot]