Not able to expose application metrics when deployed

Summary

While working with my deployed app on cloud, I am not able to produce application level metrics like counter, avg or min/max latency. I have tried setting global.metrics as true in my .toml file. When trying to access host/metrics it says metrics page is not defined. Also I get the error as enclosed in attachments while compiling

Steps to reproduce

Code snippet:

[server]
headless = true

[global]
metrics = true

Attachments:

image

1 Like

Hey @Naman_Tuli,

Unfortunately, we donโ€™t expose a metrics page or have a config file option that would do this โ€“ can you clarify what youโ€™re trying to accomplish?

I think he is referring to the /metrics page accessed when global.metrics where set to true.
I am looking for the same.
Is there an similar endpoint for accessing data from prometheus_client, or have this been removed completely?

As Jon mentioned, I was indeed looking for the metrics endpoint where I could monitor the request count and other processor metrics for the exposed service

1 Like

Hi @Naman_Tuli and @Jon-Michael_Josefsen,

Unfortunately, we do not have an exposed metrics endpoint that would provide that data.