# Gaps in prometheus scraping

**URL:** <https://discuss.prometheus.io/t/gaps-in-prometheus-scraping/1017>\
**Category:** General Help/Support\
**Created:** [May 27, 2022, 4:06pm UTC](https://discuss.prometheus.io/t/gaps-in-prometheus-scraping/1017 "2022-05-27T16:06:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fhalde](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/fhalde/32/442_2.png) [@fhalde](https://discuss.prometheus.io/u/fhalde)\
**Post date:** [May 27, 2022, 4:06pm UTC](https://discuss.prometheus.io/t/gaps-in-prometheus-scraping/1017/1 "2022-05-27T16:06:45Z")

</div>

Hello  
Prometheus version 2.34.0

We use serverset SD to discover our spark targets

The spark service has two endpoints  
/metrics/prometheus  
/metrics/executor/prometheus

They run on the same port

What’s weird is, we are noticing some gaps in /metrics/prometheus but no gaps in metrics from /metrics/executor/prometheus. The latter is much slower compared to the former scrape. We know for a fact we don’t reach the scrape timeouts

They are spawned as two separate jobs in prometheus. Can duplicate targets be a problem?

I see a lot of logs in Zk treecache package. How can we enable debug logs?  
Thanks!
