Re: [prometheus-users] Tracking Metrics Per Session/Request

2023-07-05 Thread Matt Doughty
To expand on this a bit. If you added session-id as a label, you would end up with an unbounded cardinality problem, and that leads to a very bad time in Prometheus. Never try to capture things like client-ip, session-id, order-number etc. in your metrics. Definitely look into tracing for this

Re: [prometheus-users] Tracking Metrics Per Session/Request

2023-07-05 Thread KW
Thank you! On Monday, July 3, 2023 at 3:51:26 PM UTC-5 Stuart Clark wrote: > On 03/07/2023 19:59, KW wrote: > > Hello, > > > > I work with an ASP.NET Core API that uses sessions to store the user's > > state. The API calls out to many other different microservices to run > > logic based on the

Re: [prometheus-users] Tracking Metrics Per Session/Request

2023-07-03 Thread Stuart Clark
On 03/07/2023 19:59, KW wrote: Hello, I work with an ASP.NET Core API that uses sessions to store the user's state. The API calls out to many other different microservices to run logic based on the user's request, we update and save the state on the server, and return the relevant

[prometheus-users] Tracking Metrics Per Session/Request

2023-07-03 Thread KW
Hello, I work with an ASP.NET Core API that uses sessions to store the user's state. The API calls out to many other different microservices to run logic based on the user's request, we update and save the state on the server, and return the relevant information in the response. I'm looking to