# Support additional fields in "activity" metricset for PostgreSQL 10

**URL:** <https://discuss.elastic.co/t/support-additional-fields-in-activity-metricset-for-postgresql-10/197725>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 2, 2019, 5:19pm UTC](https://discuss.elastic.co/t/support-additional-fields-in-activity-metricset-for-postgresql-10/197725 "2019-09-02T17:19:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjsh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kjsh/32/53453_2.png) [@kjsh](https://discuss.elastic.co/u/kjsh)\
**Post date:** [September 2, 2019, 5:19pm UTC](https://discuss.elastic.co/t/support-additional-fields-in-activity-metricset-for-postgresql-10/197725/1 "2019-09-02T17:19:53Z")

</div>

Postgres 10 added few more columns to the `pg_stat_activity` which can be exported by the metricbeats module. I noticed that we use 9.2 at the moment.

I would be happy to send in a patch for the "activity" metricset. However, I'm a bit skeptical about how it could affect the other metricsets in the "postgres" module.

Is there a roadmap for adding support for the future versions?

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [September 3, 2019, 1:17pm UTC](https://discuss.elastic.co/t/support-additional-fields-in-activity-metricset-for-postgresql-10/197725/2 "2019-09-03T13:17:13Z")

</div>

Hi @kjsh 🙂

Can you open a feature request in the GH repo? It's the best place to discuss this type of requests [https://github.com/elastic/beats/issues/new?template=feature-request.md](https://github.com/elastic/beats/issues/new?template=feature-request.md)

Thanks!

---

<div class="post-metadata">

**Author:** ![kjsh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kjsh/32/53453_2.png) [@kjsh](https://discuss.elastic.co/u/kjsh)\
**Post date:** [September 3, 2019, 1:36pm UTC](https://discuss.elastic.co/t/support-additional-fields-in-activity-metricset-for-postgresql-10/197725/3 "2019-09-03T13:36:49Z")

</div>

Hi Mario,

Thanks for the reply. I had, in fact, opened a feature request issue on the repo before posting here: [https://github.com/elastic/beats/issues/13464](https://github.com/elastic/beats/issues/13464)  
Can you take a look at it?

Thanks  
Kshitij

---

<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:** [October 1, 2019, 1:37pm UTC](https://discuss.elastic.co/t/support-additional-fields-in-activity-metricset-for-postgresql-10/197725/4 "2019-10-01T13:37:01Z")

</div>

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