# Dynatrace custom ingestion metric no data

**URL:** <https://community.dynatrace.com/t/dynatrace-custom-ingestion-metric-no-data/38636>\
**Category:** Open Q&A\
**Tags:** dynatrace-managed, dynatrace-api\
**Created:** [February 28, 2023, 5:14pm UTC](https://community.dynatrace.com/t/dynatrace-custom-ingestion-metric-no-data/38636 "2023-02-28T17:14:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfaprob](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@alfaprob](https://community.dynatrace.com/u/alfaprob)\
**Post date:** [February 28, 2023, 5:14pm UTC](https://community.dynatrace.com/t/dynatrace-custom-ingestion-metric-no-data/38636/1 "2023-02-28T17:14:28Z")

</div>

When ingesting metrics via [REST POST,](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/post-ingest-metrics)&nbsp;what would be the best way to setup a custom metric alarm if there is no data received for a long period of time?&nbsp; &nbsp;I can’t use [alert on missing data](https://www.dynatrace.com/support/help/observe-and-explore/davis-ai/anomaly-detection/metric-events/missing-data-alert#expand--show-example) because is too sensitive.&nbsp; &nbsp; I only need an alarm if no data is received for 1hr.

Thanks

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [February 28, 2023, 7:02pm UTC](https://community.dynatrace.com/t/dynatrace-custom-ingestion-metric-no-data/38636/2 "2023-02-28T19:02:24Z")

</div>

When I faced this same problem, I adjusted the ingest script to send 0 when no data is received.
