Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] vmagent addon reports an error that promethues job cannot be scrape #7180

Closed
sophon-zt opened this issue Apr 26, 2024 · 1 comment · Fixed by #7182
Closed

[BUG] vmagent addon reports an error that promethues job cannot be scrape #7180

sophon-zt opened this issue Apr 26, 2024 · 1 comment · Fixed by #7182
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@sophon-zt
Copy link
Contributor

sophon-zt commented Apr 26, 2024

Error message in the victoria-metrics-agent pod

{"ts":"2024-04-26T03:05:57.761Z","level":"warn","caller":"VictoriaMetrics/lib/promscrape/scrapework.go:377","msg":"cannot scrape target \"http://localhost:9090/metrics\" ({instance=\"localhost:9090\",job=\"prometheus\"}) 1 out of 1 times during -promscrape.suppressScrapeErrorsDelay=0s; the last error: error when scraping \"http://localhost:9090/metrics\": dial tcp4 127.0.0.1:9090: connect: connection refused; try -enableTCP6 command-line flag if you scrape ipv6 addresses"}
{"ts":"2024-04-26T03:06:12.763Z","level":"warn","caller":"VictoriaMetrics/lib/promscrape/scrapework.go:377","msg":"cannot scrape target \"http://localhost:9090/metrics\" ({instance=\"localhost:9090\",job=\"prometheus\"}) 1 out of 1 times during -promscrape.suppressScrapeErrorsDelay=0s; the last error: error when scraping \"http://localhost:9090/metrics\": dial tcp4 127.0.0.1:9090: connect: connection refused; try -enableTCP6 command-line flag if you scrape ipv6 addresses"}
@sophon-zt sophon-zt added the kind/bug Something isn't working label Apr 26, 2024
@sophon-zt sophon-zt assigned nayutah and sophon-zt and unassigned nayutah Apr 26, 2024
@sophon-zt sophon-zt linked a pull request Apr 26, 2024 that will close this issue
@sophon-zt sophon-zt added this to the Release 0.8.3 milestone Apr 26, 2024
@sophon-zt
Copy link
Contributor Author

img_v3_02aa_918dc722-978d-49bc-8f9d-0715b605d3ag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants