Open jmarantz opened 3 years ago
https://github.com/envoyproxy/envoy/pull/13684#issuecomment-728461466 is an example of a case where it would be convenient to have stats that can be relied on.
Thinking about this further, I fear it would be a lot of toil to change (say) the COUNTER macro to include a new bool, or to add a new COUNTER macro variant for always-enabled stats. But we could add new Scope APIs or optional args to the existing ones to force construction regardless of stats disablement settings.
Maybe we don't need to worry about supporting force-enabled stats for the convenience macros.
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 "no stalebot" or other activity occurs. Thank you for your contributions.
Description:
Relevant Links: