The hostname is part of the metric path so, yes, that is available.
The IP address is trickier because that is actually displayed as a string and we do not persist strings in SmartStor.
If the agent is 'live' and connected, you can query for the IP address.
An alternative would be to query for historical agents and do a 'nslookup' to get the IP address.
There are example queries available in the CLW Reference in the documentation wiki for your APM version.