# Showing APM queue size

**URL:** <https://discuss.elastic.co/t/showing-apm-queue-size/187820>\
**Category:** APM\
**Created:** [June 27, 2019, 12:03pm UTC](https://discuss.elastic.co/t/showing-apm-queue-size/187820 "2019-06-27T12:03:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vicmarbev](https://avatars.discourse-cdn.com/v4/letter/v/f07891/32.png) [@vicmarbev](https://discuss.elastic.co/u/vicmarbev)\
**Post date:** [June 27, 2019, 12:03pm UTC](https://discuss.elastic.co/t/showing-apm-queue-size/187820/1 "2019-06-27T12:03:54Z")

</div>

Hi, I've been having problems with the queue being full, and I know that I can set the queue size manually, but: How can I see the number of events currently in the queue? Can I check it through the API?

---

<div class="post-metadata">

**Author:** ![gil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gil/32/41911_2.png) [@gil](https://discuss.elastic.co/u/gil)\
**Post date:** [June 28, 2019, 5:48pm UTC](https://discuss.elastic.co/t/showing-apm-queue-size/187820/2 "2019-06-28T17:48:15Z")

</div>

The queue size can be monitored and graphed in stack monitoring with [monitoring enabled](https://www.elastic.co/guide/en/apm/server/current/configuration-monitor.html#_literal_enabled_literal_7) - using `xpack.monitoring.enabled: true` (or just `monitoring.enabled` in 7.x+).

These metrics are also exposed at `http://apm-server:$port/debug/vars` with the [--httpprof :$port](https://www.elastic.co/guide/en/apm/server/7.2/command-line-options.html#run-command) command line flag.

---

<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:** [July 19, 2019, 1:48pm UTC](https://discuss.elastic.co/t/showing-apm-queue-size/187820/3 "2019-07-19T13:48:17Z")

</div>

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