Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

debugger: Expose all feature flags via /debug/feature-flags endpoint #1926

Conversation

draychev
Copy link
Contributor

This PR adds the /debug/feature-flags endpoint to the debug server, which shows current enabled feature flags.


Please answer the following questions with yes/no.

  • Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
    no

@draychev draychev requested a review from a team as a code owner October 27, 2020 01:20
@codecov-io
Copy link

Codecov Report

Merging #1926 into main will decrease coverage by 0.00%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1926      +/-   ##
==========================================
- Coverage   58.50%   58.49%   -0.01%     
==========================================
  Files         130      131       +1     
  Lines        5256     5262       +6     
==========================================
+ Hits         3075     3078       +3     
- Misses       2178     2181       +3     
  Partials        3        3              
Impacted Files Coverage Δ
pkg/debugger/feature_flags.go 20.00% <20.00%> (ø)
pkg/debugger/server.go 100.00% <100.00%> (ø)
pkg/envoy/route/config.go 95.83% <0.00%> (+0.83%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2856723...a84494e. Read the comment docs.

@draychev draychev merged commit 7df16e9 into openservicemesh:main Oct 27, 2020
@draychev draychev deleted the expose-feature-flags-via-debug-endpoint branch October 27, 2020 16:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants