Version 12.2.0 (commit: 92f1fba9b4b6700328e99e97328d6639df8ddc3d, branch: release-12.2.0)
Hello Community
,
We are working on an implementation where metrics are fetched from external monitoring platforms such as Datadog, Dynatrace and New Relic.
We are able to retrieve historical data (for example, the last 48 hours) from the source systems even after a period of downtime. However, we are facing a challenge when visualizing this data through Grafana OSS using Prometheus as the metric store.
Below is our current scenario:
- Our application can fetch past metrics (e.g., last 2 days) from vendor APIs even when the system is restarted after downtime.
- The data is transformed and forwarded to Prometheus through an OTEL collector.
- Prometheus accepts and stores only real-time incoming data, not old historical samples.
- Any backfilled metrics with timestamps older than the current time window are ignored or discarded by Prometheus.
- Because of this, Grafana dashboards only show the latest data points.
- Historical ranges do not appear even though we fetched them successfully.
- The requirement is to visualize older data, even when it was not scraped or stored by Prometheus at the time of occurrence.
We would like your guidance on:
- How Grafana OSS can be used to visualize historical metric windows under such conditions.
- Whether Grafana is capable of rendering data that is not persisted in Prometheus but fetched dynamically from external APIs.
- Any recommended architecture or best practice that supports historic timelines without Prometheus pre-retention.
- How others have handled late ingestion or missed time windows for metrics while still allowing historical visualization.
- Any native or community-supported methods to overlay historical data fetched post-factum.
We would greatly appreciate insights, recommended patterns, or real-world implementation references from the community. ![]()
Thank you.