Open GoogleCodeExporter opened 9 years ago
I think its a good patch and I will apply, thanks! However it should be
pointed out:
1) the java returned hostname of the box is often unhelpful depending on how
the box is configured
2) the instance ID is entirely configurable (Settings -> General), you could
put a meaningful hostname as the instance ID.
Original comment by jrivard
on 1 Oct 2013 at 8:54
I'm aware of the limitations of getCanonicalHostName, but in most cases it
seems to be working pretty well.
Maybe the root cause of this patch is that the documentation on instanceID is
absent. It is not entirely clear what values are allowed (type of characters,
length etc.).
The instanceID is also part of the PWM configuration, while retrieving the
hostname dynamically, does not. Therefore it would be better to use something
like getCanonicalHostName: multiple nodes can have the same PWM configuration
file which makes it easier to administrate.
Original comment by sebastia...@gmail.com
on 2 Oct 2013 at 7:43
I noticed that my initial patch missed the canonical hostname for the daily
statistics. Hereby an updated version.
Original comment by sebastia...@gmail.com
on 25 Oct 2013 at 7:18
Attachments:
Original issue reported on code.google.com by
sebastia...@gmail.com
on 1 Oct 2013 at 9:19Attachments: