A TKGi cluster located in one foundation was not having its metrics collected by the Healthwatch instance running in another foundation , despite the federated scrape job being configured correctly against it.
Symptoms observed:
Tanzu Kubernetes Grid Integrated
Tanzu Platform for Cloud Foundry
The remote scrape target's system clock was drifting approximately 5 minutes behind the Prometheus/Healthwatch server.
By default, Prometheus scrape configs use honor_timestamps: true, which makes Prometheus trust the timestamp embedded in each metric sample from the target rather than using its own local scrape time. Because the target's clock was skewed, incoming sample timestamps fell outside the active window of Prometheus's TSDB head block, and the TSDB rejected them as "out of bounds." These samples were silently dropped during ingestion — before ever reaching memory or disk — which is why the target showed as healthy while queries returned nothing.
Set honor_timestamps: false on the affected federated scrape job. This forces Prometheus to stamp incoming samples with its own local scrape time instead of the (skewed) timestamp reported by the remote target, allowing the TSDB to accept and store the data normally.
scrape_configs:
- job_name: jobname
scheme: https
metrics_path: "/federate"
scrape_interval: 60s
scrape_timeout: 50s
honor_labels: true
honor_timestamps: false # Prevents TSDB "out of bounds" drops caused by clock drift on the remote targetSteps to apply and verify: