Available Feature Flags
DURATION_SORT_FEATURE are enabled by default.
TIMESTAMP_SORT_FEATURE: When this feature is enabled, then SigNoz creates a materialized view table to optimize sorting spans/traces by timestamp at cost of increasing storage by 40-50% of
DURATION_SORT_FEATURE: When this feature is enabled, then SigNoz creates a projection over table to optimize sorting spans/traces by duration at cost of increasing storage by 40-50% of
signoz_index_v2table. This also speeds up loading of duration trace filters by upto 90%.
To toggle features, configs have to be added on both OTel Collector and Query Service
Adding configs to OTel collector
Features can be enabled or disabled via the arguments to OTel Collector with the
When using the
--feature-gates flag, feature identifiers must be presented as a comma-delimited list. Feature identifiers prefixed with
- will disable the feature, and prefixing with
+ or with no prefix will enable the feature.
To disable both
TIMESTAMP_SORT_FEATURE , you need to update the
docker-compose.yaml file of SigNoz installation.
Replace this line in your file with below line:
command: ["--config=/etc/otel-collector-config.yaml", "--feature-gates=-DURATION_SORT_FEATURE,-TIMESTAMP_SORT_FEATURE"]
Adding configs to Query Service
We need to set environment variables to toggle features. Add new environment variables here to enable or disable features: