Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is possible to omit the above line in the configuration file and specify the repository information and agent name via the JVM parameters. When lunching launching the application to be monitored it is necessary to add following parameter to the JVM parameters:

Code Block
-Dinspectit.repository=localhost:9070; -Dinspectit.agent.name=MyTestAgent

As you can notice the value of the inspectit.repository parameter should be in the form of repositoryIp:repositoryPort;agentName and the inspectit.agent.name is just the full name.

Tip
titleEasier configurations sharing

 Setting of the repository details and agent name via JVM parameters can be very handy when multiple agents share the same configuration and should be connected to different CMRs or to the same CMR with different agent names.

...