Hello Team ! Could you please help me on this.. I ...
# general
s
Hello Team ! Could you please help me on this.. I am facing issue in query service which is running as non root user in k8s and it is failing due to permission issue..
ts=2024-07-26T15:43:36.806Z caller=query_logger.go:138 level=error component=activeQueryTracker msg="Failed to create directory for logging active queries"
ts=2024-07-26T15:43:36.806Z caller=query_logger.go:114 level=error component=activeQueryTracker msg="Error opening query log file" file=/root/queries.active err="open queries.active: permission denied"
panic: Unable to create mmap-ed active query log
goroutine 98 [running]:
<http://github.com/prometheus/prometheus/promql.NewActiveQueryTracker({0x0|github.com/prometheus/prometheus/promql.NewActiveQueryTracker({0x0>, 0x0}, 0x14, {0x269e900, 0xc0000ac8c0})
/home/runner/go/pkg/mod/github.com/!sig!noz/prometheus@v1.11.1/promql/query_logger.go:146 +0x411
<http://go.signoz.io/signoz/pkg/query-service/app/clickhouseReader.(*ClickHouseReader).Start(0xc000702820|go.signoz.io/signoz/pkg/query-service/app/clickhouseReader.(*ClickHouseReader).Start(0xc000702820>, 0x0?)