2025-01-20 17:45:33 +05:30
##################### SigNoz Configuration Example #####################
#
# Do not modify this file
#
2025-03-24 14:38:48 +05:30
##################### Version #####################
version :
banner :
# Whether to enable the version banner on startup.
enabled : true
2025-01-20 17:45:33 +05:30
##################### Instrumentation #####################
instrumentation :
logs :
2025-01-24 14:53:02 +05:30
# The log level to use.
2025-01-20 17:45:33 +05:30
level : info
traces :
2025-01-24 14:53:02 +05:30
# Whether to enable tracing.
2025-01-20 17:45:33 +05:30
enabled : false
processors :
batch :
exporter :
otlp :
endpoint : localhost:4317
metrics :
2025-01-24 14:53:02 +05:30
# Whether to enable metrics.
2025-01-20 17:45:33 +05:30
enabled : true
readers :
pull :
exporter :
prometheus :
host : "0.0.0.0"
port : 9090
##################### Web #####################
web :
# Whether to enable the web frontend
enabled : true
# 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
2025-05-03 18:30:07 +05:30
cleanup_interval : 1m
2025-01-20 17:45:33 +05:30
# 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
##################### SQLStore #####################
sqlstore :
# specifies the SQLStore provider to use.
provider : sqlite
# The maximum number of open connections to the database.
max_open_conns : 100
sqlite :
# The path to the SQLite database file.
path : /var/lib/signoz/signoz.db
2025-01-22 23:18:47 +05:30
##################### APIServer #####################
apiserver :
timeout :
2025-03-10 01:30:42 +05:30
# Default request timeout.
2025-01-22 23:18:47 +05:30
default : 60s
2025-03-10 01:30:42 +05:30
# Maximum request timeout.
2025-01-22 23:18:47 +05:30
max : 600s
2025-03-10 01:30:42 +05:30
# List of routes to exclude from request timeout.
2025-01-22 23:18:47 +05:30
excluded_routes :
- /api/v1/logs/tail
2025-01-24 14:43:28 +05:30
- /api/v3/logs/livetail
logging :
2025-03-10 01:30:42 +05:30
# List of routes to exclude from request responselogging.
2025-01-24 14:43:28 +05:30
excluded_routes :
2025-01-30 15:51:55 +05:30
- /api/v1/health
2025-03-20 11:01:01 +05:30
- /api/v1/version
- /
2025-01-30 15:51:55 +05:30
2025-06-21 00:55:38 +05:30
##################### Querier #####################
querier :
# The TTL for cached query results.
cache_ttl : 168h
# The interval for recent data that should not be cached.
flux_interval : 5m
# The maximum number of concurrent queries for missing ranges.
max_concurrent_queries : 4
2025-01-30 15:51:55 +05:30
##################### TelemetryStore #####################
telemetrystore :
# Maximum number of idle connections in the connection pool.
max_idle_conns : 50
# Maximum number of open connections to the database.
max_open_conns : 100
# Maximum time to wait for a connection to be established.
2025-03-10 01:30:42 +05:30
dial_timeout : 5s
2025-03-31 19:41:11 +05:30
# Specifies the telemetrystore provider to use.
provider : clickhouse
2025-03-10 01:30:42 +05:30
clickhouse :
2025-03-31 19:41:11 +05:30
# The DSN to use for clickhouse.
dsn : tcp://localhost:9000
2025-06-21 00:55:38 +05:30
# The cluster name to use for clickhouse.
cluster : cluster
2025-04-27 19:56:36 +05:30
# The query settings for clickhouse.
settings :
max_execution_time : 0
max_execution_time_leaf : 0
timeout_before_checking_execution_speed : 0
max_bytes_to_read : 0
2025-06-21 00:55:38 +05:30
max_result_rows : 0
2025-08-07 18:51:17 +05:30
ignore_data_skipping_indices : ""
2025-08-13 09:59:28 +05:30
secondary_indices_enable_bulk_filtering : false
2025-03-31 19:41:11 +05:30
##################### Prometheus #####################
prometheus :
active_query_tracker :
# Whether to enable the active query tracker.
enabled : true
# The path to use for the active query tracker.
path : ""
# The maximum number of concurrent queries.
max_concurrent : 20
2025-03-10 01:30:42 +05:30
##################### Alertmanager #####################
alertmanager :
# Specifies the alertmanager provider to use.
2025-09-10 13:58:13 +05:30
provider : signoz
2025-03-10 01:30:42 +05:30
signoz :
# The poll interval for periodically syncing the alertmanager with the config in the store.
poll_interval : 1m
# The URL under which Alertmanager is externally reachable (for example, if Alertmanager is served via a reverse proxy). Used for generating relative and absolute links back to Alertmanager itself.
2025-03-31 19:41:11 +05:30
external_url : http://localhost:8080
2025-03-10 01:30:42 +05:30
# The global configuration for the alertmanager. All the exahustive fields can be found in the upstream: https://github.com/prometheus/alertmanager/blob/efa05feffd644ba4accb526e98a8c6545d26a783/config/config.go#L833
global :
# ResolveTimeout is the time after which an alert is declared resolved if it has not been updated.
resolve_timeout : 5m
route :
# GroupByStr is the list of labels to group alerts by.
group_by :
- alertname
# GroupInterval is the interval at which alerts are grouped.
group_interval : 1m
# GroupWait is the time to wait before sending alerts to receivers.
group_wait : 1m
# RepeatInterval is the interval at which alerts are repeated.
repeat_interval : 1h
alerts :
# Interval between garbage collection of alerts.
gc_interval : 30m
silences :
# Maximum number of silences, including expired silences. If negative or zero, no limit is set.
max : 0
# Maximum size of the silences in bytes. If negative or zero, no limit is set.
max_size_bytes : 0
# Interval between garbage collection and snapshotting of the silences. The snapshot will be stored in the state store.
maintenance_interval : 15m
# Retention of the silences.
retention : 120h
nflog :
# Interval between garbage collection and snapshotting of the notification logs. The snapshot will be stored in the state store.
maintenance_interval : 15m
# Retention of the notification logs.
retention : 120h
2025-05-12 14:32:13 +05:30
2025-05-23 00:01:52 +05:30
##################### Emailing #####################
emailing :
# Whether to enable emailing.
enabled : false
templates :
# The directory containing the email templates. This directory should contain a list of files defined at pkg/types/emailtypes/template.go.
directory : /opt/signoz/conf/templates/email
smtp :
# The SMTP server address.
address : localhost:25
# The email address to use for the SMTP server.
from :
# The hello message to use for the SMTP server.
hello :
# The static headers to send with the email.
headers : {}
auth :
# The username to use for the SMTP server.
username :
# The password to use for the SMTP server.
password :
# The secret to use for the SMTP server.
secret :
# The identity to use for the SMTP server.
identity :
tls :
# Whether to enable TLS. It should be false in most cases since the authentication mechanism should use the STARTTLS extension instead.
enabled : false
# Whether to skip TLS verification.
insecure_skip_verify : false
# The path to the CA file.
ca_file_path :
# The path to the key file.
key_file_path :
# The path to the certificate file.
cert_file_path :
2025-05-31 16:04:13 +05:30
##################### Sharder (experimental) #####################
sharder :
# Specifies the sharder provider to use.
provider : noop
single :
# The org id to which this instance belongs to.
org_id : org_id
2025-06-09 16:43:29 +05:30
##################### Analytics #####################
analytics :
# Whether to enable analytics.
enabled : false
segment :
# The key to use for segment.
key : ""
##################### StatsReporter #####################
statsreporter :
# Whether to enable stats reporter. This is used to provide valuable insights to the SigNoz team. It does not collect any sensitive/PII data.
enabled : true
# The interval at which the stats are collected.
interval : 6h
2025-06-18 01:54:55 +05:30
collect :
# Whether to collect identities and traits (emails).
identities : true
2025-06-21 00:55:38 +05:30
##################### Gateway (License only) #####################
gateway :
# The URL of the gateway's api.
url : http://localhost:8080