Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix(go-html-to-md-service): emit nanosecond-precision log timestamps (#3474)
Abimael Martell5b8cc3c5bd52
diff --git a/apps/go-html-to-md-service/main.go b/apps/go-html-to-md-service/main.goindex 3e6d587f1..ce2096d80 100644--- a/apps/go-html-to-md-service/main.go+++ b/apps/go-html-to-md-service/main.go@@ -22,8 +22,13 @@ const ()func main() {- // Configure logging- zerolog.TimeFieldFormat = zerolog.TimeFormatUnix+ // Configure logging.+ // RFC3339Nano emits sub-second precision (and an unambiguous string format+ // for Cloud Logging) so log entries from this service can be ordered+ // correctly relative to other services. The previous TimeFormatUnix value+ // produced second-level resolution, which collapsed many events into a+ // single timestamp bucket and made cross-service log correlation flaky.+ zerolog.TimeFieldFormat = time.RFC3339Nanoenv := os.Getenv("ENV")