CR in end of agentName in influx db

Description

When data is stored in the Influx db, agentName has a Carriage Return at the end. the agent is setup in weblogic and the agentName is defined in setDomainEnv.sh as

This causes the Grafana dashboards to fail.

Influx queries is returned garbled

Environment

InspectIT ver. : 1.8.1.95 Build 20170616100104
Influx: 1.2.4
Linux lstmonitoring001 4.4.0-70-generic #91~14.04.1-Ubuntu SMP Wed Mar 22 15:48:21 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Activity

Show:
Technical User
August 23, 2017, 12:11 PM

SUCCESS: Integrated in

inspectIT - Integration #344
INSPECTIT-2490: CR in end of agentName in influx db (ivan.senic: 8246d191e0f4ec3a6b5db6c95feb442cfcd1f8df)

  • (edit) inspectit.agent.java/src/test/java/rocks/inspectit/agent/java/config/impl/ConfigurationStorageTest.java

  • (edit) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/config/impl/ConfigurationStorage.java

Tobias Angerstein
August 23, 2017, 9:07 AM

I did not check it with Weblogic, but this error shouldn't occur in future.

Fixed

Assignee

Tobias Angerstein

Reporter

Ivan Senic

Integrator

Ivan Senic