# Elastics Syntherics Push 800KB limit

**URL:** <https://discuss.elastic.co/t/elastics-syntherics-push-800kb-limit/338796>\
**Category:** Synthetics\
**Created:** [July 19, 2023, 2:04pm UTC](https://discuss.elastic.co/t/elastics-syntherics-push-800kb-limit/338796 "2023-07-19T14:04:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill\_Voudouris](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bill_voudouris/32/123661_2.png) [@Bill\_Voudouris](https://discuss.elastic.co/u/Bill_Voudouris)\
**Post date:** [July 19, 2023, 2:04pm UTC](https://discuss.elastic.co/t/elastics-syntherics-push-800kb-limit/338796/1 "2023-07-19T14:04:08Z")

</div>

Hello,

I've setup an elastics synthetics project but when I import

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/d/9daa7387e24c7cfb7d3efa5fa79dd0a05cd0aca0.png)

Then there is an error while pushing it using the cmd:  
npx `@elastic/synthetics push`  
Error Message:  
Error: You have monitors whose size exceeds the 800KB limit.

This error shows up only if I import that library (`@playwright/test`) in the journey.ts because I managed to push a 30 KB journey.ts file without any issues

Do you have any workaround about this?

Thank you

---

<div class="post-metadata">

**Author:** ![shahzad31](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shahzad31/32/51637_2.png) [@shahzad31](https://discuss.elastic.co/u/shahzad31)\
**Post date:** [July 19, 2023, 3:20pm UTC](https://discuss.elastic.co/t/elastics-syntherics-push-800kb-limit/338796/2 "2023-07-19T15:20:16Z")

</div>

Hello @Bill_Voudouris , Welcome to Elastic community forum.

I don't think there is any workaround to size limit. From playwright you can try importing the specific module. Like devices in this case?  
Or maybe you can just copy whole json file locally and use that [https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/deviceDescriptorsSource.json](https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/deviceDescriptorsSource.json)

Regards

---

<div class="post-metadata">

**Author:** ![Bill\_Voudouris](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bill_voudouris/32/123661_2.png) [@Bill\_Voudouris](https://discuss.elastic.co/u/Bill_Voudouris)\
**Post date:** [July 20, 2023, 7:55am UTC](https://discuss.elastic.co/t/elastics-syntherics-push-800kb-limit/338796/3 "2023-07-20T07:55:03Z")

</div>

Hello @shahzad31 , thank you for your reply.

For now I have changed the project to structure to have different project folders with it's synthetics.config.ts so the module is not imported in the journey and it works.

Thank you

---

<div class="post-metadata">

**Author:** ![shahzad31](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shahzad31/32/51637_2.png) [@shahzad31](https://discuss.elastic.co/u/shahzad31)\
**Post date:** [July 20, 2023, 8:13am UTC](https://discuss.elastic.co/t/elastics-syntherics-push-800kb-limit/338796/4 "2023-07-20T08:13:48Z")

</div>

i am glad to hear that @Bill_Voudouris , we are planing to at least double the limit.  
And also reexport devices from our Syntethics package.

Regards

---

<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:** [August 17, 2023, 8:14am UTC](https://discuss.elastic.co/t/elastics-syntherics-push-800kb-limit/338796/5 "2023-08-17T08:14:39Z")

</div>

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