# Custom label size issue in transaction metadata

**URL:** <https://discuss.elastic.co/t/custom-label-size-issue-in-transaction-metadata/333520>\
**Category:** Elasticsearch\
**Created:** [May 16, 2023, 4:37am UTC](https://discuss.elastic.co/t/custom-label-size-issue-in-transaction-metadata/333520 "2023-05-16T04:37:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![APandey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/apandey/32/98018_2.png) [@APandey](https://discuss.elastic.co/u/APandey)\
**Post date:** [May 16, 2023, 4:37am UTC](https://discuss.elastic.co/t/custom-label-size-issue-in-transaction-metadata/333520/1 "2023-05-16T04:37:25Z")

</div>

Hi team,

We have modified the apm java agent code to add some metadata in transactions that is having dynamic length. One issue we are facing is that sometimes when the size of that metadata value is large let say more than 1024 characters it is getting truncated.

How can we overcome this issue or if there are any other alternatives.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 13, 2023, 4:37am UTC](https://discuss.elastic.co/t/custom-label-size-issue-in-transaction-metadata/333520/2 "2023-06-13T04:37:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
