# Elastic APM skip transactions and metrics

**URL:** https://discuss.elastic.co/t/elastic-apm-skip-transactions-and-metrics/259828
**Category:** APM
**Created:** [December 29, 2020, 9:21pm UTC](https://discuss.elastic.co/t/elastic-apm-skip-transactions-and-metrics/259828 "2020-12-29T21:21:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Nikhil\_Bhaware](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikhil_bhaware/32/81248_2.png) [@Nikhil\_Bhaware](https://discuss.elastic.co/u/Nikhil_Bhaware)
#### Post date: [December 29, 2020, 9:21pm UTC](https://discuss.elastic.co/t/elastic-apm-skip-transactions-and-metrics/259828/1 "2020-12-29T21:21:55Z")

</div>

**Kibana version** : **kibana-7.10.0**

**Elasticsearch version** : elasticsearch-7.10.0

**APM Server version** : apm-server-7.10.0

**APM Agent language and version** : java : 1.19.0

**Browser version** : chrome 72.0.3626.121

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: deb

**Fresh install or upgraded from other version?** Fresh install

1. Is there any configuration in APM Agent by which we can skip collecting jvm information/metric?
2. If i want to rely on manually instrumentation(using public api) only, is there any configuration for this use-case in apm agent?

---

<div class="post-metadata">

### Author: ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)
#### Post date: [December 30, 2020, 7:59am UTC](https://discuss.elastic.co/t/elastic-apm-skip-transactions-and-metrics/259828/2 "2020-12-30T07:59:42Z")

</div>

> [@Nikhil\_Bhaware](#):
>
> If i want to rely on manually instrumentation(using public api) only, is there any configuration for this use-case in apm agent?

I think you are looking for something as suggested in [this issue](https://github.com/elastic/apm-agent-java/issues/845). It is in the backlog, but no concrete plans to add that in the immediate timeframe...  
If you read though, take a look at [this comment](https://github.com/elastic/apm-agent-java/issues/845#issuecomment-722172320), which also answers your first question -

> [@Nikhil\_Bhaware](#):
>
> Is there any configuration in APM Agent by which we can skip collecting jvm information/metric?

If it is really about not collecting metrics, take a look at the [`disable_metrics`](https://www.elastic.co/guide/en/apm/agent/java/current/config-reporter.html#config-disable-metrics) configuration.

I hope this helps.

---

<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: [January 27, 2021, 7:59am UTC](https://discuss.elastic.co/t/elastic-apm-skip-transactions-and-metrics/259828/3 "2021-01-27T07:59:49Z")

</div>

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