Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get online YARP stats #1148

Closed
sergiobortsov opened this issue Jul 8, 2021 · 2 comments
Closed

How to get online YARP stats #1148

sergiobortsov opened this issue Jul 8, 2021 · 2 comments
Labels
Type: Idea This issue is a high-level idea for discussion.

Comments

@sergiobortsov
Copy link

What should we add or change to make your life better?

it would be great to have the way to get some online YARP stats like current assigned requests per destination, queue (if there is some queue functionality), etc

Why is this important to you?

I'm building the tool to analyze a load balancer stats and then managing the quantity of destinations based on that.

Thanks
Sergii

@sergiobortsov sergiobortsov added the Type: Idea This issue is a high-level idea for discussion. label Jul 8, 2021
@Tratcher
Copy link
Member

Tratcher commented Jul 8, 2021

See #1124. Once you get the destinations you can look here for request counts:
https://github.com/microsoft/reverse-proxy/blob/1f27ecf4e1b23fd44bc9106f6765c65944caa271/src/ReverseProxy/Model/DestinationState.cs#L54

YARP does not have a queue, though the underlying HttpClient might. I don't think that's visible anywhere.

@Tratcher
Copy link
Member

Duplicate of #125

@Tratcher Tratcher marked this as a duplicate of #125 Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Idea This issue is a high-level idea for discussion.
Projects
None yet
Development

No branches or pull requests

2 participants