View other months usage per project

Is there a way to do that?
Solution:
Railway only stores the current billing cycle's usage for you, you can extend this by exporting the metrics via Railway's GraphQL to your own metrics server
Jump to solution
11 Replies
Percy
Percy4d ago
Project ID: N/A
Otavio
Otavio4d ago
N/A
Solution
Fragly
Fragly4d ago
Railway only stores the current billing cycle's usage for you, you can extend this by exporting the metrics via Railway's GraphQL to your own metrics server
Otavio
Otavio4d ago
this is only monthly?
No description
Otavio
Otavio4d ago
understood
Fragly
Fragly4d ago
yea, it only shows the current billing cycle's usage
Otavio
Otavio4d ago
and the last month not stored only the total usage like in the invoice
Fragly
Fragly4d ago
yea, it only stores the current billing cycle's usage, to extend this you'd need to export the metrics yourself and store it somewhere yes the invoice shows the total usage for your billing cycle
Otavio
Otavio4d ago
where can I access Railway's GraphQL ?
Fragly
Fragly4d ago
(billing cycle = 1 month) here's some resources for you regarding Railway's GraphQL API https://docs.railway.app/guides/public-api https://railway.app/graphiql
Brody
Brody4d ago
only shows*