Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add a xml label to the span ? #571

Closed
soumithx opened this issue Oct 23, 2019 · 2 comments
Closed

How to add a xml label to the span ? #571

soumithx opened this issue Oct 23, 2019 · 2 comments

Comments

@soumithx
Copy link

i am using apm for .Net API Calls , i want to add label for a xml string , if it converted to string , displaying on UI with truncted text ? is there any way to get Full XML

@SergeyKleyman
Copy link
Contributor

Hi @soumithx,

Labels are indeed limited to 1024 characters and if a label is longer it is truncated.

APM has a mechanism to attach pieces of data longer than 1024 characters and that mechanism is custom context. But it's not implemented by .NET agent yet (#419) and when custom context will be supported by .NET agent it will be available only for transactions and errors (for example it will not be available for spans). Will custom context work for your use case?

In addition a small administrative issue. As mentioned in README we recommend using the forum for questions and GitHub issues for confirmed bugs and enhancement requests. The forum allows other users to learn from the questions and answers and the number of people that can answer a question at the forum is much larger than at the Github repo which is mostly for developers of the agent.

@soumithx
Copy link
Author

ok thanks @SergeyKleyman 👍

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

No branches or pull requests

2 participants