mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-27 23:27:57 +00:00
* feat: added new cache package for query service * feat: handle type checking for inmemory * feat: some copy corrections * feat: added inmemory test cases * chore: some renaming * feat: added redis handling * chore: add redis tests * feat(cache): refactor the code * feat(cache): refactor the code * feat(cache): added defaults for redis config * feat(cache): update makefile to run all tetss * feat(cache): update tests and docs * feat(cache): update tests and docs * feat(cache): handle signoz web flag * feat(cache): handle signoz web flag * feat(cache): handle signoz web flag
32 lines
984 B
YAML
32 lines
984 B
YAML
##################### SigNoz Configuration Defaults #####################
|
|
#
|
|
# Do not modify this file
|
|
#
|
|
|
|
##################### Web #####################
|
|
web:
|
|
# The prefix to serve web on
|
|
prefix: /
|
|
# The directory containing the static build files.
|
|
directory: /etc/signoz/web
|
|
|
|
##################### Cache #####################
|
|
cache:
|
|
# specifies the caching provider to use.
|
|
provider: memory
|
|
# memory: Uses in-memory caching.
|
|
memory:
|
|
# Time-to-live for cache entries in memory. Specify the duration in ns
|
|
ttl: 60000000000
|
|
# The interval at which the cache will be cleaned up
|
|
cleanupInterval:
|
|
# redis: Uses Redis as the caching backend.
|
|
redis:
|
|
# The hostname or IP address of the Redis server.
|
|
host: localhost
|
|
# The port on which the Redis server is running. Default is usually 6379.
|
|
port: 6379
|
|
# The password for authenticating with the Redis server, if required.
|
|
password:
|
|
# The Redis database number to use
|
|
db: 0 |