inspectIT / inspectit-ocelot

inspectIT Ocelot - Java agent for collecting application performance, tracing and behavior data
http://www.inspectit.rocks/
Apache License 2.0
204 stars 69 forks source link

[Bug] - Older Agent versions are no longer compatible with the config server from the release 2.2.0 #1543

Closed danipaniii closed 1 year ago

danipaniii commented 1 year ago

Describe the bug Older agent versions are no longer compatible with the config server from the release 2.2.0. When using an older agent version with the current config server the status view cannot be shown and an error is being thrown, because older agent versions don't send a json string to config server containing the service states map.

To Reproduce Steps to reproduce the behavior:

  1. Start current config server
  2. Start current config server ui
  3. Start an older agent (Version < 2.2.0)
  4. Go to the .../status page in the config ui
  5. Error

Expected behavior The status view should be opened without an error and there should be a message in the tooltip of the "Show Service States" Button, saying that this functionality is available from agent versions 2.2.0 and up. If the agent version is below 2.2.0, this button should be disabled.