Skip to content

Conversation

@farajidaneshgar
Copy link

  • A new function (processSpanStateChange) is added to the TransientState class. Because in async traces unlike sync traces, the position of the event in fOngoingInfo is not the same as the quark of the event in the call stack. So we should pass two integer, quark and callstack quark to the function.

  • The Statesystem and ItmfStateSystem classes are changed relayed to this function.
    this changes is for adding flamgraph analysis for opentracing

*A new function (processSpanStateChange) is
 added to the TransientState class. Because in
 async traces unlike sync traces, the position of
 the event in fOngoingInfo is not the same as
 the quark of the event in the call stack.
 So we should pass two integer, quark and
 callstack quark to the function.

* the Statesystem and ItmfStateSystem classes
 are changed relayed to this function.

Signed-off-by: Fariba Daneshgar <faraji.daneshgar@gmail.com>
Copy link
Contributor

@MatthewKhouzam MatthewKhouzam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Transient State is an implementation of the API. Are we certain we want to add an API for this feature? It seems... like everything else will need to implement "unsupported" though it's designed for one implementation.

}

/**
* @param t
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More doc please

* @throws StateValueTypeException
*/
@Override
public void modifySpanAttribute(long t, Object value, int attributeQuark, int spanQuark)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Span is not a state system notion, it's a contextual interval. Should we bring it down to this level of abstraction?

long start, long end) throws StateSystemDisposedException, IndexOutOfBoundsException, TimeRangeException;

/**
* @param t
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants