#Question about metrics

24 messages · Page 1 of 1 (latest)

late solar
#

Hello, I know you can view metrics on the dashboard of the project, but I was wondering if it's possible to retrieve them via the API or maybe export them some other way?

I am looking to be able to see the memory usage and cpu.

If this is not possible, I understand, just wanted to ask.

Thank you!

astral magnetBOT
#

Project ID: cf5d5b88-d2e7-42b1-9238-2fa78bf49058

barren wharfBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

late solar
#

cf5d5b88-d2e7-42b1-9238-2fa78bf49058

orchid talon
#

you absolutely can, just look at the api calls the site makes you open the metrics tab of your service, then instead of the internal endpoint the site uses, you just use https://backboard.railway.app/graphql/v2 with the same query

late solar
#

OHH AWESOME!

#

Thank you so much

orchid talon
#

I'm curious, did you know about the metrics tab in the service?

late solar
orchid talon
#

yes, did you know about that before this thread?

late solar
#

I did!

#

I need to export the metrics for my own alerting 🙂

#

thats what I need it for 🙂

orchid talon
#

did you know someone from the community created a discord bot that will show you your usage?

late solar
#

no way

#

That is very cool, is it in this server?

orchid talon
#

I find, one sec

late solar
#

thank you!

orchid talon
#

here you go

#

though that's a little more for local development of the bot

late solar
#

thanks so much 🙂

#

i will check this out, I believe I found the graphql endpoint as well 🙂 thanks again Brody