-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Management Server Identification #5770
Comments
At the API level this SGTM, however I'm not sure we should output this as a numeric gauge given that it's likely to be a string. Can this be output as some sort of admin endpoint? Potentially as part of config_dump? |
Yeah, I think this should be a |
I thought about being able to dump on admin endpoint however in we (typically many others as well) do not have access to the admin end point with out going to the box in production. So was thinking it would be easier if we output via stats but seems making the identifier to completely numeric is restrictive in nature. or any other ideas? |
I'm really not in favor of a numeric stat output here. I just don't think it makes sense. One option here is potentially to create a new textual stat type, since I think some stat backends do support text? @fredlas is already thinking about a new gauge type that doesn't allow summing across hot restarts so maybe sync up with him? |
@mattklein123 Agree with using(rather misusing) numeric stat for this. I guess it is out of desperation rather than a perfect fit. If new textual stat is available that would be awesome. Let us add api and output it to config_dump in v1 for management server identification. Once that stat type is available we could just output it to stat as well (which would be very easy thing to do). If this plan makes sense, please assign this to me. |
Yes let's start with the API change and go from there. |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
This PR adds API support required for envoyproxy#5770 . Once envoyproxy#5844 lands, I will output it using the text stat. Risk Level: Low Testing: N/A Signed-off-by: Rama Chavali <rama.rao@salesforce.com> Signed-off-by: Fred Douglas <fredlas@google.com>
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions. |
Some times we would like to know to which management server instance, the running Envoy is connected to debug certain scenarios. Currently there is no provision to do that.
The proposal is to include a opaque identifier in
DiscoveryResponse
(similar to opaque identifier inNode
ofDiscoveryRequest
) that management server can populate and send. On the Envoy side we can push a gauge stat indicating the management server identifier.What do you think about this? Would you think it would be generally useful or leave it to the management server to figure that out by some logging etc.
The text was updated successfully, but these errors were encountered: