-
Notifications
You must be signed in to change notification settings - Fork 79
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
OpenCost failed to query metrics to VictoriaMetrics #201
Comments
Same issue here since upgrading to v1.110.0 (Chart 1.35.0).
@PabloSebastian does it work when you downgrade to 1.109.0 (Chart 1.34.0)? |
@asdfgugus By mounting a volume and setting en env var
But I still have this issue on the top of the logs:
As it can't retrieve any metrics from VictoriaMetrics, I'm having the UI empty. |
My bad, I thought that you meant the error at the bottom of the logs. When initializing, OpenCost queries the |
Yes, I made a curl request to the vmcluster service:
Also made another curl request to the vmagent targets:
That means that the metrics are being scraped |
This should return the |
Does this need to be over in the opencost/opencost repo? Is it a Helm issue or how OpenCost works with VictoriaMetrics? |
In my case, it is how Opencost works with VictoriaMetrics. I followed the documentation explaining how to configure both applications but couldn't get it to work. |
@PabloSebastian this guide is outdated, use only this. Regarding your setup, have you checked VMAgent logs? if you cluster is empty means that VMAgent cannot for some reason ingest data there. Also among your scrape targets there's only opencost. VictoriaMetrics helm chart provides out of box set of scrape configs, and services, which Opencost relies on (node exporter, etc), so initial query should return bunch of metrics, if vmagent works properly |
@AndrewChubatiuk should we create a VictoriaMetrics section in the docs? I think this would be pretty useful and we could position VM as a Prometheus alternative directly in the installation since I know it's picking up popularity with OpenCost users. |
Setup
vmcluster
1.110
Issue
After deploying the VictoriaMetrics and OpenCost charts using ArgoCD I got the following error in the OpenCost pod:
The OpenCost UI works but there is no info in it:
The text was updated successfully, but these errors were encountered: