-
Notifications
You must be signed in to change notification settings - Fork 9
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
Unleash Edge metrics - would like to have appName flow through from client app -> Edge -> metrics exposed by Prometheus endpoint #440
Comments
Hello @YayBurritos and thank you for your contribution! We have recorded this as an idea input for future planning. We might opt for a different solution to the issue, one that matches our architecture in a better way. |
Just to add a bit more context here for our specific situation, we have two client applications using Edge:
Each application is instantiating an I understand that it may not make sense for Edge to pass this along to Unleash Server. So to satisfy this particular issue/feature request, maybe the following alternative would work:
That would allow us to know which Edge clients are using our toggles. Thanks! |
So, are you saying that you don't see So any usage of Edge by web-app-123, should be reflected in the feature_toggle_usage_total in the unleash-server that Edge is connected to. I can see the value in being able to see feature_toggle_usage_total on the edge /metrics endpoint as well though, so you could do some grafana magic showing what percentage of traffic is going via edge. |
The only We aren't seeing any
Yes - that would be great. We could certainly query the |
Hi @YayBurritos - a bit of a delayed answer, but with Unleash/unleash#7210 - Unleash should now include metrics coming from Edge, so you should see feature_toggle_usage_total update based on usage from Edge as well. In addition, I've made #469 to track that we add feature_toggle_usage_total to edge's |
@chriswk : Is there an anticipated Unleash version for these changes? Looks like Unleash |
@YayBurritos it is included in v6. (older versions will usually just get patches / bug fixes) |
Thanks @ivarconr! |
Hey @chriswk - Just wanted to give you a quick update... We recently upgraded to Unleash Server v6 and now see our That said, we do still see value in also being able to see the Thanks so much! |
Describe the feature request
This request started from a discussion in the Unleash public Slack help channel on March 5, 2024...
@ivarconr responded:
I then questioned:
@ivarconr responded to those two questions:
Ivar asked for clarification as to what we're looking to accomplish (what problem we're trying to solve). That info is in the Background section below.
Background
We have multiple applications (and multiple environments for each app) using Unleash (Edge and Server) for feature toggles. We build various dashboards in Grafana using Prometheus (and other) data.
For a given feature toggle, it can be helpful to know which applications are actually using it...and possibly how often the toggle is being checked...
Potential Use Cases
Those are just some ideas. We can get the metrics for both Edge and Server into Prometheus and having a single place to view them (Grafana, where most of our other metrics surface) is preferable over having to poke around in the Unleash UI (IMO).
Solution suggestions
I've been looking at the toggle metrics in Unleash UI. Seeing Applications that can be used to filter. Those names align with our applications and do seem to flow through from Edge to the metrics displayed in the Unleash UI. Having those same names as the
appName
label for thefeature_toggle_usage_total
metric would likely allow us to address the use case(s) outlined above.I appreciate the response. If there's anything I can do to help, please let me know. Thanks!
The text was updated successfully, but these errors were encountered: