Created
June 12, 2024 14:09
-
-
Save hagen1778/65603b78d802e1a4f7dbb3b8ae4f9524 to your computer and use it in GitHub Desktop.
prometheus log scrape timestamps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index c285f05e3..affb717e5 100644 | |
--- a/scrape/scrape.go | |
+++ b/scrape/scrape.go | |
@@ -1241,7 +1241,7 @@ mainLoop: | |
} | |
last = sl.scrapeAndReport(last, scrapeTime, errc) | |
- | |
+ fmt.Println("scrape timestamp", scrapeTime.UnixMilli(), "actual timestamp:", time.Now()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment