You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your idea related to a problem? Please describe.
Since we don't use and don't want users to press on the profiling button , we want to hide the "Metrics" tab in the table page view with the is_feature_enabled function
Describe the solution you'd like
Use feature flags like how they are used in the s3_datasets section to enable/ disable the "Metrics" tab.
### Feature or Bugfix
- Feature
### Detail
Using existing functions like is_feature_enabled to enabled / disable
use of metrics and associated profiling jobs.
### Relates
- #1570
### Security
Please answer the questions below briefly where applicable, or write
`N/A`. Based on
[OWASP 10](https://owasp.org/Top10/en/).
- Does this PR introduce or modify any input fields or queries - this
includes
fetching data from storage outside the application (e.g. a database, an
S3 bucket)? N/A
- Is the input sanitized?
- What precautions are you taking before deserializing the data you
consume?
- Is injection prevented by parametrizing queries?
- Have you ensured no `eval` or similar functions are used?
- Does this PR introduce any functionality or component that requires
authorization? N/A
- How have you ensured it respects the existing AuthN/AuthZ mechanisms?
- Are you logging failed auth attempts?
- Are you using or adding any cryptographic features? No
- Do you use a standard proven implementations?
- Are the used keys controlled by the customer? Where are they stored?
- Are you introducing any new policies/roles/users? No
- Have you used the least-privilege principle? How?
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
---------
Co-authored-by: trajopadhye <[email protected]>
Is your idea related to a problem? Please describe.
Since we don't use and don't want users to press on the profiling button , we want to hide the "Metrics" tab in the table page view with the
is_feature_enabled
functionDescribe the solution you'd like
Use feature flags like how they are used in the
s3_datasets
section to enable/ disable the "Metrics" tab.Proposing a config like
P.S. Don't attach files. Please, prefer add code snippets directly in the message body.
The text was updated successfully, but these errors were encountered: