Hey! I’m starting to monitor a few machines with Mimir and Loki through Grafana Alloy. I’m encountering a stange problem. The logs get to loki just fine but the inconvinience I’m facing is that under the “instance” label I’m getting the hostnames of the machines when I want the IP address. If the IP can be sent under another label that wouldn’t be a good alternative as well.
For example. I have the machine I have set up mimir in has the IP = 10.10.33.4, and the hostname is “Mimir01”.
What I would want is: instance = 10.10.33.4
What I’m getting is: instance = Mimir01
The Alloy configuration is pretty straight forward, I’m just using a local.file.match that points to the logs, a loki.source.file to get the logs, and a loki.write to send the logs to Loki.
Is there a way I can change this?