Project: springxd
Issue XD-1448: SpringXD logs error and large stack trace when metric can't be found. Distracting.
When a REST client of SpringXD (i.e., a dashboard) attempts to query (GET) a metric (e.g., counter, gauge, etc.) that does not exist the admin sever logs an ERROR and a large stack trace (attached). In usage of Spring XD we see this frequently because a dashboard is running but the streams and counters have not been created quite yet, or initialized by messages flowing through the streams. With a polling dashboard this results in a lot of distracting and large stack traces in the logs that are not actually issues. I would suggest logging a one line warning or info message instead of the error and stack trace.
Story points: 1