Running node and relay on one server - Prometheus Node Export Question

I have a question about the prometheus node export function. I setup my node and relay on the same server and put port 12798 in my node and config files. The export is working, I see the metrics being generated. Are my metrics being skewed because it’s grabbing metrics from both, or is this okay? Should I be doing this differently? Thanks for your help.


It is interesting since if both node using the same host and port for opening a Promethues port then only one can get that port - other should get back an address already in use…
So are you sure that you can see the metrics of both nodes?
you can check the listening addresses with sudo netstat -lnaopt to see how many ports are open on 12798