gcp-exporter
gcp-exporter copied to clipboard
`dial tcp [[IPv6]]:443: connect: cannot assign requested address`
[CloudFunctionsCollector] function: projects/webmention/locations/us-central1/functions/webmention
[CloudFunctionsCollector] runtime: go113
Get "https://cloudresourcemanager.googleapis.com/v1/projects?alt=json&fields=projects.projectId%2Cprojects.projectNumber&filter=lifecycleState%3AACTIVE&pageSize=10&prettyPrint=false": dial tcp [2607:f8b0:400a:801::200a]:443: connect: cannot assign requested address
I think the issue was the log.Fatal
in collectors/projects.go
.
Testing with a log.Println; return
so that, rather than panicking, the collector retries next time.