How to add, enable or disable an experimental feature
This document will take you through how to add, enable, or disable an experimental feature in Sourcegraph. Experimental features are not fully released, but we welcome your feedback at feedback@sourcegraph.com or on twitter @sourcegraph!
NOTE: Changing these settings will affect the entire instance. We advise testing settings in a development environment before changing them in production.
Prerequisites
- This document assumes that Sourcegraph is installed
- Assumes you have site-admin privileges on the instance
Steps to enable/disable
- Navigate to Site Admin > Global settings in the UI, or follow this link format for your
externalUrl/site-admin/global-settings - Scroll down to find where
experimentalFeaturesis located. Example:
JSON"experimentalFeatures": { "searchResultsAggregations": true, "showCodeMonitoringLogs": false, },
- Locate the feature you would like to disable or enable, setting
truefor enable orfalsefor disable. - If adding a feature, follow the format
"featureName": true,. The available features are listed underexperimentalFeaturesin the settings reference. - Changes take effect on the next page load; no restart is needed.
- For more information, see Editing global settings for site-admins
Further resources
- Sourcegraph - Configuration Settings
- Sourcegraph - Site configuration
- Learn more about new experimental features on our Blog or Twitter @sourcegraph