# Is it possible to add configuration options when using hints based autodiscover with heartbeat?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-add-configuration-options-when-using-hints-based-autodiscover-with-heartbeat/349478>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [December 15, 2023, 9:04pm UTC](https://discuss.elastic.co/t/is-it-possible-to-add-configuration-options-when-using-hints-based-autodiscover-with-heartbeat/349478 "2023-12-15T21:04:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfinn](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dfinn](https://discuss.elastic.co/u/dfinn)\
**Post date:** [December 15, 2023, 9:04pm UTC](https://discuss.elastic.co/t/is-it-possible-to-add-configuration-options-when-using-hints-based-autodiscover-with-heartbeat/349478/1 "2023-12-15T21:04:11Z")

</div>

We are using heartbeat to monitor our k8s service and we are doing this with hints based auto discovery via annotations that we set on a service. I would like to have this service include the response body and I see that this is a config option however I don't see if or how I can configure this via the annotations. Is it possible?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [December 16, 2023, 3:23am UTC](https://discuss.elastic.co/t/is-it-possible-to-add-configuration-options-when-using-hints-based-autodiscover-with-heartbeat/349478/2 "2023-12-16T03:23:59Z")

</div>

Hi @dfinn

> [@dfinn](#):
>
> I would like to have this service include the response body

I think Most (if not all) of the [setting](https://www.elastic.co/guide/en/beats/heartbeat/current/monitor-http-options.html) will come through I think, but I don't think they are all documented...

I tried this and it worked.

` co.elastic.monitor/response.include_body: "always"`

---

<div class="post-metadata">

**Author:** ![dfinn](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dfinn](https://discuss.elastic.co/u/dfinn)\
**Post date:** [December 18, 2023, 10:01pm UTC](https://discuss.elastic.co/t/is-it-possible-to-add-configuration-options-when-using-hints-based-autodiscover-with-heartbeat/349478/3 "2023-12-18T22:01:40Z")

</div>

> [@stephenb](#):
>
> co.elastic.monitor/response.include\_body: "always"

that did work, thanks.

---

<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 16, 2024, 12:02am UTC](https://discuss.elastic.co/t/is-it-possible-to-add-configuration-options-when-using-hints-based-autodiscover-with-heartbeat/349478/4 "2024-01-16T00:02:11Z")

</div>

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