Api to get total request

hi!
is there an api to get total request made to a worker?

You could use the Graphql API for this. There’s an overview in the docs here:

1 Like

i already test it but i want a total not request time lapse
is there a function that return the Total

Naturally the referenced docs only contain an example query. There’s no direct function to just return the total number of invocations, you just need to craft a query such that that is what you request.

I assume you probably want to query sum{ requests } for a daterange which covers your requirements.

That’s actually in the example query so you can prob just strip out the bits you don’t need if you’re unsure of the graphql syntax.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.