Comments (5)
I assume you used the default Prometheus installation? Could you check on its health and see that it's working properly?
There was a build that was accidentally promoted to latest
, I don't know if that's causing the issue but could you set your version to 1.109.0
just to ensure we know what you're using? The data is kept in the Prometheus pod, so restarting OpenCost won't lose data assuming Prometheus is working right.
from opencost.
Hey @mattray, following your advice, I've checked the Prometheus health. It appears that after port-forwarding on my local machine, I can successfully query. However, the data retrieved only extends until March 27th. Since the Opencost dashboard also shows data until March 27th, we can infer that Opencost is functioning properly. Therefore, it seems the issue lies with Prometheus, right?
image: "quay.io/prometheus/prometheus:v2.50.1".
This is the image I am using for prometheus-server. should I update this because so far I've seen every pod is running properly.
from opencost.
My suggestion is to set OpenCost to 1.109.0
and restart the pod. Prometheus scrapes OpenCost and acts as the database (OpenCost then queries Prometheus for API results), so in your case it looks like OpenCost isn't providing data to Prometheus. Restarting OpenCost should fix the issue and you'll have a few days missing in Prometheus (you should know about 10 minutes after restarting OpenCost).
from opencost.
Hello @mattray, despite changing the opencost image tag to 1.109.0, I'm still encountering the same issue. Opencost is only displaying data until March 27, and opencost logs indicate that it's unable to query. I'm puzzled as to why Opencost can query or calculate metrics until March 27 but not after. Should it not display data before March 27 as well? Can you assist me in identifying where I may be missing something?
from opencost.
This seems really strange. Did something happen to your Prometheus? At this point I don't have any good suggestions, you're coming up on 2 weeks of no data and the Prometheus installation only keeps 15 days by default. I think reinstalling Prometheus following the instructions closely is the only suggestion I have, which will lose the little data that you have.
from opencost.
Related Issues (20)
- Labels kubernetes_node unavailable with kube-state-metrics HOT 2
- "QueryAthenaPaginated: start query error: not found, ResolveEndpointV2" error when enabling aws cloud cost HOT 6
- EXPORT_CSV_LABELS_LIST does not accept special characters
- Provider alibaba support RRSA authentication HOT 3
- Intermittent "error":"vector cannot contain metrics with the same labelset" HOT 8
- The value file settings are not being respected HOT 2
- Opencost service does not start when azure pricing API hangs HOT 1
- OpenCost and OpenCost-UI packages should have patch numbers HOT 2
- [API] error querying DB: error querying via querysvc query Failure on aggregate HOT 3
- Unable to download pricing data from Azure API with Workload Identity HOT 4
- Broken Alibaba Integration HOT 4
- Failed OpenCost integration to GCP HOT 10
- /var/configs/cloud-configurations.json WRN and ERR messages filling logs HOT 11
- cluster-controller restarts when trying cluster turndown. HOT 10
- Unable to aggregate by label. Getting cost of entire cluster instead HOT 1
- Can't get GCP billing data from EU region HOT 2
- Opencost Plugin Request: Crossplane Hyperscaler Providers HOT 2
- Integrate Azure carbon emission data into carbon cost reporting HOT 1
- Discrepancy Between OpenCost and Monitoring Values in GKE HOT 4
- How to get the cost breakdown per workload for different nodes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencost.