Hi. I was wondering if the values for inbound/outbound data metrics in the fly.io dashboard represent the average network bandwidth for a single app instance or if this is the sum of all instances?
Thanks
Hi. I was wondering if the values for inbound/outbound data metrics in the fly.io dashboard represent the average network bandwidth for a single app instance or if this is the sum of all instances?
Thanks
Looks like it shows both.
The prometheus datasource is per-organization. You can see the actual query in the explore section of the âNetwork I/O graphâ (found in the drop-down menu when you click the title):
topk_avg(5,
sum(rate(fly_instance_net_recv_bytes
{app=~"app",device="eth0"}))by(instance,region)
, "region=Other") > 0
If you remove this query you can see that the per-instance data disappears. The allocs in those labels match what my appâs fly status
does.
The same holds true if you remove the queries representing the appâs total recv/sent network bytes, ie:
sum(rate(fly_instance_net_sent_bytes{app="app",device="eth0"}))
If your question is if âsumâ in this context meant âover timeâ I did find this useful post explaining a bit about how sum works while I was digging into this.
Thanks for asking! I hope this is the answer you were looking for
I see! Thank you for this detailed answer!