Skip to content

[RUN-5058] Document the Java tracing API (11.10.0)#10964

Open
atennapel wants to merge 2 commits intomendix:developmentfrom
atennapel:run/5058-java-tracing-api
Open

[RUN-5058] Document the Java tracing API (11.10.0)#10964
atennapel wants to merge 2 commits intomendix:developmentfrom
atennapel:run/5058-java-tracing-api

Conversation

@atennapel
Copy link
Copy Markdown
Contributor

This MR is for a feature introduces in Mx 11.10.0.

@akkrishnakumar
Copy link
Copy Markdown
Contributor

Approved by Runtime Team

Copy link
Copy Markdown
Collaborator

@MarkvanMents MarkvanMents left a comment

Choose a reason for hiding this comment

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

Looks good and clear. I just have one observation - let me know if it needs a change or whether the placeholders are good.

Comment on lines +181 to +182
.createSpan("my span name")
.withAttribute("attribute key", "attribute value")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do these placeholder values ("my span name" etc.) take spaces?
If not, might be better to have my_span_name or mySpanName as placeholders?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The span name can take spaces and in production we already have span names with spaces.
The attributes keys can also take spaces, though in production we have no attribute keys that have spaces, so it might be good to only update the attribute key to attribute_key.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants