/remote-tracing

Remote testing projects for inspectIT tracing functionality

Primary LanguageJava

How to start all:

  1. Make sure that remoting profiles are added to your mapped/default environment. There is additional profile in the inspectit-config directory that you can copy to your CMR and use in addition (activates manual sensor and invocation entry on the MQ listeners).
  2. Run ./startMQBroker.sh to fire up Docker container which will serve as MQ Broker.
  3. Update ./startAll.sh and change path to the inspectIT agent project on your local machine.
  4. Run ./startAll.sh which will start 3 JVMs in separate terminals.

Usage:

There are three projects that run in separate JVMs and communicate between each other:

  1. clients - Web application running on 8002.
  2. http - Web application running on 8001.
  3. mq - Application listening on MQ messages.

Clients application can be used to call any url with different HTTP clients. Available are:

If no url is specified, default url is http://localhost:8001/, which in facts calls the second application. You can also specify any url you like, but then your trace will end there.

When http://localhost:8001/ is called the MQ message is sent to the broker and third application will receive it via the same broker.