Move parent from SpanIdent to Span

Description

For the EUM and maybe for other future use-cases we need the ability to dynamically change the parent of a span after it has already entered the CMR.
As this parent is currently referenced every indirectly through the SpanIdent, this breaks these references in the data. The solution and I came up with is to move the parent attribute from SpanIdent to Span instead.

Environment

None

Activity

Show:
Technical User
July 31, 2017, 10:19 AM

SUCCESS: Integrated in

inspectIT - Integration #328
INSPECTIT-2499: Moved parent reference from SpanIdent to Span. (ivan.senic: a148751743738d39cd3b7fe039eeabefbbecf44b)

  • (edit) inspectit.shared.all/src/main/java/rocks/inspectit/shared/all/tracing/data/Span.java

  • (edit) inspectit.shared.cs/src/main/java/rocks/inspectit/shared/cs/indexing/query/factory/impl/SpanQueryFactory.java

  • (edit) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/tracing/core/transformer/SpanTransformer.java

  • (edit) inspectit.ui.rcp/src/main/java/rocks/inspectit/ui/rcp/editor/tree/util/TraceTreeData.java

  • (edit) inspectit.agent.java/src/test/java/rocks/inspectit/agent/java/tracing/core/transformer/SpanContextTransformerTest.java

  • (edit) inspectit.shared.all/src/main/java/rocks/inspectit/shared/all/tracing/data/SpanIdent.java

  • (edit) inspectit.shared.all/src/main/resources/schema/SpanIdent.sch

  • (edit) inspectit.shared.all/src/main/resources/schema/AbstractSpan.sch

  • (edit) inspectit.agent.java/src/test/java/rocks/inspectit/agent/java/tracing/core/transformer/SpanTransformerTest.java

  • (edit) inspectit.agent.java/src/test/java/rocks/inspectit/agent/java/sensor/method/invocationsequence/InvocationSequenceHookTest.java

  • (edit) inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/tracing/core/transformer/SpanContextTransformer.java

  • (edit) inspectit.shared.all/src/main/java/rocks/inspectit/shared/all/tracing/data/AbstractSpan.java

Fixed

Assignee

Jonas Kunz

Reporter

Jonas Kunz

Integrator

Ivan Senic