I have an exporter, scrap metric 1 time per hour, but i found the metric only available for 5 minutes, beyond 5 minutes, i cannot search results with PermSQL. Is there any configuration to control this?
All metrics should be scraped at least every 2 minutes, as otherwise they will be marked as stale as you have seen and stop being returned within queries.
While there is some configuration that can adjust the staleness parameters changing it wouldn’t be recommended as doing so can cause performance and other issues.
Thank you very much.