Lucas Thompson
07/02/2025, 4:56 PMVibhu Pandey
07/02/2025, 6:32 PMLucas Thompson
07/02/2025, 6:54 PMJuly 02, 2025 at 14:49 (UTC-4:00)
{"level":"fatal","timestamp":"2025-07-02T18:49:13.480Z","caller":"query-service/main.go:144","msg":"Failed to create signoz","error":"unable to open database file: no such file or directory","stacktrace":"main.main\n\t/home/runner/work/signoz/signoz/pkg/query-service/main.go:144\nruntime.main\n\t/opt/hostedtoolcache/go/1.23.10/x64/src/runtime/proc.go:272"}
signoz-container
July 02, 2025 at 14:49 (UTC-4:00)
{"timestamp":"2025-07-02T18:49:13.47915072Z","level":"INFO","code":{"function":"<http://github.com/SigNoz/signoz/pkg/signoz.New|github.com/SigNoz/signoz/pkg/signoz.New>","file":"/home/runner/work/signoz/signoz/pkg/signoz/signoz.go","line":73},"msg":"starting signoz","version":"","variant":"community","commit":"","branch":"","go":"go1.23.10","timestamp":""}
signoz-container
July 02, 2025 at 14:49 (UTC-4:00)
{"timestamp":"2025-07-02T18:49:13.479337464Z","level":"INFO","code":{"function":"<http://github.com/SigNoz/signoz/pkg/sqlstore/sqlitesqlstore.New|github.com/SigNoz/signoz/pkg/sqlstore/sqlitesqlstore.New>","file":"/home/runner/work/signoz/signoz/pkg/sqlstore/sqlitesqlstore/provider.go","line":44},"msg":"connected to sqlite","logger":"<http://github.com/SigNoz/signoz/pkg/sqlitesqlstore|github.com/SigNoz/signoz/pkg/sqlitesqlstore>","path":"/var/lib/signoz/signoz.db"}
signoz-container
July 02, 2025 at 14:49 (UTC-4:00)
{"timestamp":"2025-07-02T18:49:13.47941071Z","level":"ERROR","code":{"function":"<http://github.com/prometheus/prometheus/promql.NewActiveQueryTracker|github.com/prometheus/prometheus/promql.NewActiveQueryTracker>","file":"/home/runner/go/pkg/mod/github.com/prometheus/prometheus@v0.304.1/promql/query_logger.go","line":137},"msg":"Failed to create directory for logging active queries","logger":"<http://github.com/SigNoz/signoz/pkg/prometheus/clickhouseprometheus|github.com/SigNoz/signoz/pkg/prometheus/clickhouseprometheus>"}
signoz-container
July 02, 2025 at 14:49 (UTC-4:00)
{"timestamp":"2025-07-02T18:49:13.479920498Z","level":"INFO","code":{"function":"<http://github.com/SigNoz/signoz/pkg/sqlmigrator.(*migrator).Migrate|github.com/SigNoz/signoz/pkg/sqlmigrator.(*migrator).Migrate>","file":"/home/runner/work/signoz/signoz/pkg/sqlmigrator/migrator.go","line":43},"msg":"starting sqlstore migrations","logger":"<http://github.com/SigNoz/signoz/pkg/sqlmigrator|github.com/SigNoz/signoz/pkg/sqlmigrator>","dialect":"sqlite"}
signoz-container
July 02, 2025 at 14:49 (UTC-4:00)
[Deprecated] flag --config is deprecated for passing prometheus config. The flag will be used for passing the entire SigNoz config. More details can be found at <https://github.com/SigNoz/signoz/issues/6805>.
signoz-container
July 02, 2025 at 14:49 (UTC-4:00)
[Deprecated] flag --flux-interval is deprecated and scheduled for removal. Please use SIGNOZ_QUERIER_FLUX__INTERVAL instead.
signoz-container
July 02, 2025 at 14:49 (UTC-4:00)
[Deprecated] flag --flux-interval-for-trace-detail is deprecated and scheduled for complete removal. Please use SIGNOZ_QUERIER_FLUX__INTERVAL instead.
signoz-container
July 02, 2025 at 14:49 (UTC-4:00)
[Deprecated] flag --cluster is deprecated and scheduled for removal. Please use SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_CLUSTER instead.
Lucas Thompson
07/02/2025, 6:54 PMVibhu Pandey
07/02/2025, 7:15 PM/var/lib/signoz/signoz.db
Vibhu Pandey
07/02/2025, 7:16 PM/var/lib/signoz/signoz.db
Lucas Thompson
07/02/2025, 7:18 PMLucas Thompson
07/02/2025, 7:19 PMVibhu Pandey
07/02/2025, 7:22 PM{
"level": "fatal",
"timestamp": "2025-07-02T18:49:13.480Z",
"caller": "query-service/main.go:144",
"msg": "Failed to create signoz",
"error": "unable to open database file: no such file or directory",
"stacktrace": "main.main\n\t/home/runner/work/signoz/signoz/pkg/query-service/main.go:144\nruntime.main\n\t/opt/hostedtoolcache/go/1.23.10/x64/src/runtime/proc.go:272"
}
This tells me signoz is not able to open sqlite. Looks like a sqlite error and not a clickhouse error.
Try setting SIGNOZ_SQLSTORE_SQLITE_PATH
to something inside your EFS to make it work. Eg: If EFS is mounted at /mnt
, try specifying the env variable to /mnt/signoz.db
Lucas Thompson
07/02/2025, 7:22 PMLucas Thompson
07/03/2025, 3:03 PMJuly 03, 2025 at 10:58 (UTC-4:00)
{"timestamp":"2025-07-03T14:58:28.386477134Z","level":"INFO","code":{"function":"<http://github.com/SigNoz/signoz/pkg/signoz.New|github.com/SigNoz/signoz/pkg/signoz.New>","file":"/home/runner/work/signoz/signoz/pkg/signoz/signoz.go","line":73},"msg":"starting signoz","version":"","variant":"community","commit":"","branch":"","go":"go1.23.10","timestamp":""}
signoz-container
July 03, 2025 at 10:58 (UTC-4:00)
{"timestamp":"2025-07-03T14:58:28.386680605Z","level":"INFO","code":{"function":"<http://github.com/SigNoz/signoz/pkg/sqlstore/sqlitesqlstore.New|github.com/SigNoz/signoz/pkg/sqlstore/sqlitesqlstore.New>","file":"/home/runner/work/signoz/signoz/pkg/sqlstore/sqlitesqlstore/provider.go","line":44},"msg":"connected to sqlite","logger":"<http://github.com/SigNoz/signoz/pkg/sqlitesqlstore|github.com/SigNoz/signoz/pkg/sqlitesqlstore>","path":"/mnt/efs/signoz.db"}
signoz-container
July 03, 2025 at 10:58 (UTC-4:00)
{"timestamp":"2025-07-03T14:58:28.386799713Z","level":"ERROR","code":{"function":"<http://github.com/prometheus/prometheus/promql.NewActiveQueryTracker|github.com/prometheus/prometheus/promql.NewActiveQueryTracker>","file":"/home/runner/go/pkg/mod/github.com/prometheus/prometheus@v0.304.1/promql/query_logger.go","line":137},"msg":"Failed to create directory for logging active queries","logger":"<http://github.com/SigNoz/signoz/pkg/prometheus/clickhouseprometheus|github.com/SigNoz/signoz/pkg/prometheus/clickhouseprometheus>"}
signoz-container
July 03, 2025 at 10:58 (UTC-4:00)
{"timestamp":"2025-07-03T14:58:28.38755219Z","level":"INFO","code":{"function":"<http://github.com/SigNoz/signoz/pkg/sqlmigrator.(*migrator).Migrate|github.com/SigNoz/signoz/pkg/sqlmigrator.(*migrator).Migrate>","file":"/home/runner/work/signoz/signoz/pkg/sqlmigrator/migrator.go","line":43},"msg":"starting sqlstore migrations","logger":"<http://github.com/SigNoz/signoz/pkg/sqlmigrator|github.com/SigNoz/signoz/pkg/sqlmigrator>","dialect":"sqlite"}
signoz-container
July 03, 2025 at 10:58 (UTC-4:00)
{"level":"fatal","timestamp":"2025-07-03T14:58:28.387Z","caller":"query-service/main.go:144","msg":"Failed to create signoz","error":"unable to open database file: no such file or directory","stacktrace":"main.main\n\t/home/runner/work/signoz/signoz/pkg/query-service/main.go:144\nruntime.main\n\t/opt/hostedtoolcache/go/1.23.10/x64/src/runtime/proc.go:272"}
Lucas Thompson
07/10/2025, 6:02 PM[Deprecated] flag --config is deprecated for passing prometheus config. The flag will be used for passing the entire SigNoz config. More details can be found at <https://github.com/SigNoz/signoz/issues/6805>.
signoz-container
July 10, 2025 at 13:32 (UTC-4:00)
[Deprecated] flag --flux-interval is deprecated and scheduled for removal. Please use SIGNOZ_QUERIER_FLUX__INTERVAL instead.
signoz-container
July 10, 2025 at 13:32 (UTC-4:00)
[Deprecated] flag --flux-interval-for-trace-detail is deprecated and scheduled for complete removal. Please use SIGNOZ_QUERIER_FLUX__INTERVAL instead.
signoz-container
July 10, 2025 at 13:32 (UTC-4:00)
[Deprecated] flag --cluster is deprecated and scheduled for removal. Please use SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_CLUSTER instead.
a. and here's my config
environment = [
{
"name": "SIGNOZ_ALERTMANAGER_PROVIDER",
"value": "signoz"
},
{
"name": "SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN",
"value": "<tcp://clickhouse:9000>"
},
{
"name": "SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_CLUSTER",
"value": "cluster"
},
{
"name": "SIGNOZ_SQLSTORE_SQLITE_PATH",
"value": "/var/lib/signoz/signoz.db"
},
{
"name": "SIGNOZ_TELEMETRYSTORE_PROVIDER",
"value": "clickhouse"
},
{
"name": "SIGNOZ_ANALYTICS_ENABLED",
"value": "true"
},
{
"name": "SIGNOZ_QUERIER_FLUX__INTERVAL",
"value": "5m"
},
]
2. Secondly Im not sure how to resolve the error regarding the Failed to create directory for logging active queries
, im guessing it leads into the other error regarding Failed to create signoz, unable to open database file
but one thing at a time
{"level":"fatal","timestamp":"2025-07-10T17:32:17.350Z","caller":"query-service/main.go:144","msg":"Failed to create signoz","error":"unable to open database file: no such file or directory","stacktrace":"main.main\n\t/home/runner/work/signoz/signoz/pkg/query-service/main.go:144\nruntime.main\n\t/opt/hostedtoolcache/go/1.23.10/x64/src/runtime/proc.go:272"}
signoz-container
July 10, 2025 at 13:32 (UTC-4:00)
{"timestamp":"2025-07-10T17:32:17.348940656Z","level":"INFO","code":{"function":"<http://github.com/SigNoz/signoz/pkg/signoz.New|github.com/SigNoz/signoz/pkg/signoz.New>","file":"/home/runner/work/signoz/signoz/pkg/signoz/signoz.go","line":73},"msg":"starting signoz","version":"","variant":"community","commit":"","branch":"","go":"go1.23.10","timestamp":""}
signoz-container
July 10, 2025 at 13:32 (UTC-4:00)
{"timestamp":"2025-07-10T17:32:17.34928235Z","level":"INFO","code":{"function":"<http://github.com/SigNoz/signoz/pkg/sqlstore/sqlitesqlstore.New|github.com/SigNoz/signoz/pkg/sqlstore/sqlitesqlstore.New>","file":"/home/runner/work/signoz/signoz/pkg/sqlstore/sqlitesqlstore/provider.go","line":44},"msg":"connected to sqlite","logger":"<http://github.com/SigNoz/signoz/pkg/sqlitesqlstore|github.com/SigNoz/signoz/pkg/sqlitesqlstore>","path":"/var/lib/signoz/signoz.db"}
signoz-container
July 10, 2025 at 13:32 (UTC-4:00)
{"timestamp":"2025-07-10T17:32:17.3494089Z","level":"ERROR","code":{"function":"<http://github.com/prometheus/prometheus/promql.NewActiveQueryTracker|github.com/prometheus/prometheus/promql.NewActiveQueryTracker>","file":"/home/runner/go/pkg/mod/github.com/prometheus/prometheus@v0.304.1/promql/query_logger.go","line":137},"msg":"Failed to create directory for logging active queries","logger":"<http://github.com/SigNoz/signoz/pkg/prometheus/clickhouseprometheus|github.com/SigNoz/signoz/pkg/prometheus/clickhouseprometheus>"}
would much appreciate some guidance on this. I'm very excited because I believe I am very close, just need some help getting over the finish line.
@Nagesh Bansal and maybe @Srikanth Chekuri as well
apologies for the multiple tags, I just can't contain my excitement
Thanks!Vibhu Pandey
07/10/2025, 6:20 PMSet SIGNOZ_PROMETHEUS_ACTIVE__QUERY__TRACKER_ENABLED to false
Vibhu Pandey
07/10/2025, 6:21 PMFailed to create directory for logging active queries
Vibhu Pandey
07/10/2025, 6:21 PM{
"name": "SIGNOZ_SQLSTORE_SQLITE_PATH",
"value": "/var/lib/signoz/signoz.db"
},
Vibhu Pandey
07/10/2025, 6:21 PMLucas Thompson
07/10/2025, 6:26 PMVibhu Pandey
07/10/2025, 6:27 PMargs
Lucas Thompson
07/10/2025, 6:28 PMLucas Thompson
07/10/2025, 6:28 PMVibhu Pandey
07/10/2025, 6:28 PMLucas Thompson
07/10/2025, 6:28 PMLucas Thompson
07/10/2025, 6:30 PMLucas Thompson
07/10/2025, 6:32 PMLucas Thompson
07/10/2025, 6:33 PMVibhu Pandey
07/10/2025, 6:35 PMcommand = ["--config=/root/config/prometheus.yml"]
Vibhu Pandey
07/10/2025, 6:35 PMLucas Thompson
07/10/2025, 6:35 PMVibhu Pandey
07/10/2025, 6:36 PM{"function":"<http://github.com/SigNoz/signoz/pkg/sqlstore/sqlitesqlstore.New|github.com/SigNoz/signoz/pkg/sqlstore/sqlitesqlstore.New>","file":"/home/runner/work/signoz/signoz/pkg/sqlstore/sqlitesqlstore/provider.go","line":44},"msg":"connected to sqlite","logger":"<http://github.com/SigNoz/signoz/pkg/sqlitesqlstore|github.com/SigNoz/signoz/pkg/sqlitesqlstore>","path":"/var/lib/signoz/signoz.db"}
This indicates that SIGNOZ_SQLSTORE_SQLITE_PATH
is being picked up correctly.
But when signoz tries to do something, it realizes nothing exists at /var/lib/signoz/signoz.db
.Vibhu Pandey
07/10/2025, 6:36 PM/var/lib/signoz
is present and the container has permissions to create a signoz.db
file.Vibhu Pandey
07/10/2025, 6:37 PM/signoz-setup/var/lib/signoz
Vibhu Pandey
07/10/2025, 6:37 PM/signoz-setup/var/lib/signoz/signoz.db
?Lucas Thompson
07/10/2025, 6:39 PMVibhu Pandey
07/10/2025, 6:39 PMLucas Thompson
07/10/2025, 6:40 PMLucas Thompson
07/10/2025, 6:44 PMLucas Thompson
07/10/2025, 6:44 PMVibhu Pandey
07/10/2025, 6:44 PMLucas Thompson
07/10/2025, 6:46 PMLucas Thompson
07/10/2025, 6:46 PMLucas Thompson
07/10/2025, 6:47 PMVibhu Pandey
07/10/2025, 6:48 PMLucas Thompson
07/10/2025, 6:48 PMVibhu Pandey
07/10/2025, 6:49 PMLucas Thompson
07/10/2025, 6:49 PMLucas Thompson
07/10/2025, 6:50 PMLucas Thompson
07/10/2025, 6:51 PMBelow is a single, all-in-one ECS task definition JSON that includes every SigNoz component in one task:
Vibhu Pandey
07/10/2025, 6:55 PM{
"name": "zookeeper-1",
"image": "bitnami/zookeeper:3.7.1",
"cpu": 512,
"memory": 512,
"memoryReservation": 512,
"essential": true,
"portMappings": [
{
"containerPort": 2181,
"hostPort": 2181,
"protocol": "tcp"
},
{
"containerPort": 2888,
"hostPort": 2888,
"protocol": "tcp"
},
{
"containerPort": 3888,
"hostPort": 3888,
"protocol": "tcp"
},
{
"containerPort": 9141,
"hostPort": 9141,
"protocol": "tcp"
}
],
"environment": [
{
"name": "ALLOW_ANONYMOUS_LOGIN",
"value": "yes"
},
{
"name": "ZOO_SERVER_ID",
"value": "1"
},
{
"name": "ZOO_ENABLE_PROMETHEUS_METRICS",
"value": "yes"
},
{
"name": "ZOO_AUTOPURGE_INTERVAL",
"value": "1"
},
{
"name": "ZOO_PROMETHEUS_METRICS_PORT_NUMBER",
"value": "9141"
},
{
"name": "ZOO_ADMIN_SERVER_PORT_NUMBER",
"value": "3181"
}
],
"healthCheck": {
"command": [
"CMD-SHELL",
"curl -s -m 2 <http://localhost:3181/commands/ruok> | grep error | grep null"
],
"interval": 30,
"timeout": 5,
"retries": 3,
"startPeriod": 30
},
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/aws/ecs/<LOG_GROUP>",
"awslogs-region": "<AWS_REGION>",
"awslogs-stream-prefix": "zookeeper"
}
}
}
Vibhu Pandey
07/10/2025, 6:56 PM{ "name": "ZOO_ADMIN_SERVER_PORT_NUMBER","value":"3181"}
2. healthcheck modified: ["CMD-SHELL","curl -s -m 2 <http://localhost:3181/commands/ruok> | grep error | grep null"]
Lucas Thompson
07/10/2025, 6:57 PMLucas Thompson
07/10/2025, 7:00 PMVibhu Pandey
07/10/2025, 7:01 PMLucas Thompson
07/10/2025, 7:03 PMLucas Thompson
07/10/2025, 7:03 PMVibhu Pandey
07/10/2025, 7:04 PMLucas Thompson
07/10/2025, 7:04 PMLucas Thompson
07/10/2025, 7:10 PMVibhu Pandey
07/10/2025, 7:11 PMNagesh Bansal
07/10/2025, 7:24 PMLucas Thompson
07/10/2025, 7:24 PMLucas Thompson
07/10/2025, 7:29 PMLucas Thompson
07/10/2025, 7:29 PMLucas Thompson
07/10/2025, 7:30 PMvalues.yaml
is in my situation as opposed to the k8s docshttps://signoz.io/docs/tutorial/setting-up-tls-for-signoz/Vibhu Pandey
07/10/2025, 7:31 PMVibhu Pandey
07/10/2025, 7:31 PMLucas Thompson
07/10/2025, 7:32 PMLucas Thompson
07/10/2025, 7:32 PMLucas Thompson
07/10/2025, 7:37 PMLucas Thompson
07/14/2025, 6:08 PM10.1.0.2:53
is coming from in this otel collector error log
{
"level": "error",
"timestamp": "2025-07-14T17:23:17.974Z",
"caller": "opamp/server_client.go:143",
"msg": "Failed to connect to the server: %v",
"component": "opamp-server-client",
"error": "dial tcp: lookup signoz on 10.1.0.2:53: no such host",
"stacktrace": "github.com/SigNoz/signoz-otel-collector/opamp.(*serverClient).Start.func2\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/opamp/server_client.go:143\ngithub.com/open-telemetry/opamp-go/client.(*wsClient).tryConnectOnce.func1\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.19.0/client/wsclient.go:232\ngithub.com/open-telemetry/opamp-go/client.(*wsClient).tryConnectOnce\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.19.0/client/wsclient.go:253\ngithub.com/open-telemetry/opamp-go/client.(*wsClient).ensureConnected\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.19.0/client/wsclient.go:282\ngithub.com/open-telemetry/opamp-go/client.(*wsClient).runOneCycle\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.19.0/client/wsclient.go:326\ngithub.com/open-telemetry/opamp-go/client.(*wsClient).runUntilStopped\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.19.0/client/wsclient.go:412\ngithub.com/open-telemetry/opamp-go/client/internal.(*ClientCommon).StartConnectAndRun.func1\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.19.0/client/internal/clientcommon.go:208"
}
for context here is my current otel collector config
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
awscloudwatch:
region: us-east-1
imds_endpoint: <http://169.254.169.254/latest/>
logs:
poll_interval: 1m
groups:
named:
/ecs/kh-ecs:
/ecs/keycloak:
prometheus:
config:
global:
scrape_interval: 60s
scrape_configs:
- job_name: otel-collector
static_configs:
- targets:
- localhost:8888
labels:
job_name: otel-collector
hostmetrics:
collection_interval: 30s # Frequency of metrics collection.
scrapers:
cpu: {}
load:
cpu_average: false
memory: {}
disk: {}
filesystem: {}
network: {}
paging: {}
processes: {}
syslog:
tcp:
listen_address: "0.0.0.0:54527"
protocol: rfc3164
location: UTC
operators:
- type: move
from: attributes.message
to: body
processors:
batch:
send_batch_size: 10000
send_batch_max_size: 11000
timeout: 10s
resourcedetection:
# Using OTEL_RESOURCE_ATTRIBUTES envvar, env detector adds custom labels.
detectors: [env, system, ec2]
system:
hostname_sources: [os]
timeout: 2s
resource/env:
attributes:
- key: deployment.environment
value: develop
action: upsert
signozspanmetrics/delta:
metrics_exporter: clickhousemetricswrite, signozclickhousemetrics
metrics_flush_interval: 60s
latency_histogram_buckets: [100us, 1ms, 2ms, 6ms, 10ms, 50ms, 100ms, 250ms, 500ms, 1000ms, 1400ms, 2000ms, 5s, 10s, 20s, 40s, 60s ]
dimensions_cache_size: 100000
aggregation_temporality: AGGREGATION_TEMPORALITY_DELTA
enable_exp_histogram: true
dimensions:
- name: service.namespace
default: default
- name: deployment.environment
default: default
# This is added to ensure the uniqueness of the timeseries
# Otherwise, identical timeseries produced by multiple replicas of
# collectors result in incorrect APM metrics
- name: signoz.collector.id
- name: service.version
- name: browser.platform
- name: browser.mobile
- name: k8s.cluster.name
- name: k8s.node.name
- name: k8s.namespace.name
- name: host.name
- name: host.type
- name: container.name
extensions:
health_check:
endpoint: 0.0.0.0:13133
pprof:
endpoint: 0.0.0.0:1777
exporters:
clickhousetraces:
datasource: <tcp://clickhouse:9000/signoz_traces>
low_cardinal_exception_grouping: ${env:LOW_CARDINAL_EXCEPTION_GROUPING}
use_new_schema: true
clickhousemetricswrite:
endpoint: <tcp://clickhouse:9000/signoz_metrics>
disable_v2: true
resource_to_telemetry_conversion:
enabled: true
clickhousemetricswrite/prometheus:
endpoint: <tcp://clickhouse:9000/signoz_metrics>
disable_v2: true
signozclickhousemetrics:
dsn: <tcp://clickhouse:9000/signoz_metrics>
clickhouselogsexporter:
dsn: <tcp://clickhouse:9000/signoz_logs>
timeout: 10s
use_new_schema: true
# debug: {}
otlp:
endpoint: "127.0.0.1:4317" # Your SigNoz collector endpoint.
tls:
insecure: true
service:
telemetry:
logs:
encoding: json
extensions:
- health_check
- pprof
pipelines:
traces:
receivers: [otlp]
processors: [signozspanmetrics/delta, batch]
exporters: [clickhousetraces]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [clickhousemetricswrite, signozclickhousemetrics]
metrics/prometheus:
receivers: [prometheus]
processors: [batch]
exporters: [clickhousemetricswrite/prometheus, signozclickhousemetrics]
metrics/hostmetrics:
receivers: [hostmetrics]
processors: [resourcedetection, resource/env]
exporters: [otlp]
logs:
receivers: [otlp,awscloudwatch, syslog]
processors: [batch]
exporters: [clickhouselogsexporter]
Lucas Thompson
07/15/2025, 2:10 PMVibhu Pandey
07/15/2025, 2:12 PM10.1.0.2:53
).
it says collector is unable to find the signoz container.
There must be another config map in the collector (something that has opamp in it)Lucas Thompson
07/15/2025, 2:18 PM{
"level": "error",
"ts": "2025-07-15T14:02:45.887Z",
"caller": "service@v0.128.0/service.go:189",
"msg": "error found during service initialization",
"resource": {
"service.instance.id": "fb079bc5-0001-40e9-885f-f039f1cd3c73",
"service.name": "/signoz-otel-collector",
"service.version": "dev"
},
"error": "failed to build pipelines: failed to create \"clickhouselogsexporter\" exporter for data type \"logs\": cannot configure clickhouse logs exporter: code: 81, message: Database signoz_logs does not exist",
"stacktrace": "<http://go.opentelemetry.io/collector/service.New.func1|go.opentelemetry.io/collector/service.New.func1>\n\t/home/runner/go/pkg/mod/go.opentelemetry.io/collector/service@v0.128.0/service.go:189\ngo.opentelemetry.io/collector/service.New\n\t/home/runner/go/pkg/mod/go.opentelemetry.io/collector/service@v0.128.0/service.go:220\ngo.opentelemetry.io/collector/otelcol.(*Collector).setupConfigurationComponents\n\t/home/runner/go/pkg/mod/go.opentelemetry.io/collector/otelcol@v0.128.0/collector.go:197\ngo.opentelemetry.io/collector/otelcol.(*Collector).Run\n\t/home/runner/go/pkg/mod/go.opentelemetry.io/collector/otelcol@v0.128.0/collector.go:312\ngithub.com/SigNoz/signoz-otel-collector/signozcol.(*WrappedCollector).Run.func1\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/signozcol/collector.go:103"
}
Lucas Thompson
07/15/2025, 2:19 PM{
"level": "error",
"timestamp": "2025-07-15T14:02:16.171Z",
"caller": "app/server.go:175",
"msg": "failed to preload metrics metadata",
"error": "dial tcp: lookup clickhouse on 10.1.0.2:53: no such host",
"stacktrace": "<http://github.com/SigNoz/signoz/pkg/query-service/app.NewServer|github.com/SigNoz/signoz/pkg/query-service/app.NewServer>\n\t/home/runner/work/signoz/signoz/pkg/query-service/app/server.go:175\nmain.main\n\t/home/runner/work/signoz/signoz/pkg/query-service/main.go:147\nruntime.main\n\t/opt/hostedtoolcache/go/1.23.10/x64/src/runtime/proc.go:272"
}
Vibhu Pandey
07/15/2025, 2:20 PM<tcp://clickhouse:9000>
with <tcp://localhost:9000>
, things should work? Since they all run as sidecars?Lucas Thompson
07/15/2025, 2:21 PMexporters:
clickhousetraces:
datasource: <tcp://localhost:9000/signoz_traces>
low_cardinal_exception_grouping: ${env:LOW_CARDINAL_EXCEPTION_GROUPING}
use_new_schema: true
clickhousemetricswrite:
endpoint: <tcp://localhost:9000/signoz_metrics>
disable_v2: true
resource_to_telemetry_conversion:
enabled: true
clickhousemetricswrite/prometheus:
endpoint: <tcp://localhost:9000/signoz_metrics>
disable_v2: true
signozclickhousemetrics:
dsn: <tcp://localhost:9000/signoz_metrics>
clickhouselogsexporter:
dsn: <tcp://localhost:9000/signoz_logs>
timeout: 10s
use_new_schema: true
and those errors i just pasted above were from that attemptVibhu Pandey
07/15/2025, 2:21 PMopamp
file?Lucas Thompson
07/15/2025, 2:24 PMmanager-config.yaml
?
if so I am grabbing it and setting it up likethe flags on the otel-collector are looking for and it has this as its content
server_endpoint: <ws://signoz:4320/v1/opamp>
Vibhu Pandey
07/15/2025, 2:24 PMVibhu Pandey
07/15/2025, 2:24 PMLucas Thompson
07/15/2025, 2:25 PMLucas Thompson
07/15/2025, 2:26 PMserver_endpoint: <ws://localhost:4320/v1/opamp>
Vibhu Pandey
07/15/2025, 2:26 PMLucas Thompson
07/15/2025, 2:37 PMsignoz-container
now seeing a new error, but seems like progress
{"level":"error","timestamp":"2025-07-15T14:29:58.841Z","caller":"opamp/opamp_server.go:117","msg":"Failed to find or create agent","agentID":"01980e7e-0da0-79c0-bd92-95e71836c201","error":"cannot create agent without orgId","errorVerbose":"cannot create agent without orgId\<http://ngithub.com/SigNoz/signoz/pkg/query-service/app/opamp/model.(*Agents).FindOrCreateAgent|ngithub.com/SigNoz/signoz/pkg/query-service/app/opamp/model.(*Agents).FindOrCreateAgent>\n\t/home/runner/work/signoz/signoz/pkg/query-service/app/opamp/model/agents.go:91\ngithub.com/SigNoz/signoz/pkg/query-service/app/opamp.(*Server).OnMessage\n\t/home/runner/work/signoz/signoz/pkg/query-service/app/opamp/opamp_server.go:115\ngithub.com/open-telemetry/opamp-go/server.(*server).handleWSConnection\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.19.0/server/serverimpl.go:253\nruntime.goexit\n\t/opt/hostedtoolcache/go/1.23.10/x64/src/runtime/asm_amd64.s:1700","stacktrace":"github.com/SigNoz/signoz/pkg/query-service/app/opamp.(*Server).OnMessage\n\t/home/runner/work/signoz/signoz/pkg/query-service/app/opamp/opamp_server.go:117\ngithub.com/open-telemetry/opamp-go/server.(*server).handleWSConnection\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.19.0/server/serverimpl.go:253"}
and on the otel-collector logs side seeing opamp log still
{
"level": "error",
"timestamp": "2025-07-15T14:29:58.841Z",
"caller": "opamp/server_client.go:146",
"msg": "Server returned an error response: %v",
"component": "opamp-server-client",
"": "",
"stacktrace": "<http://github.com/SigNoz/signoz-otel-collector/opamp.(*serverClient).Start.func3|github.com/SigNoz/signoz-otel-collector/opamp.(*serverClient).Start.func3>\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/opamp/server_client.go:146\ngithub.com/open-telemetry/opamp-go/client/internal.(*receivedProcessor).processErrorResponse\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.19.0/client/internal/receivedprocessor.go:247\ngithub.com/open-telemetry/opamp-go/client/internal.(*receivedProcessor).ProcessReceivedMessage\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.19.0/client/internal/receivedprocessor.go:170\ngithub.com/open-telemetry/opamp-go/client/internal.(*wsReceiver).ReceiverLoop\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.19.0/client/internal/wsreceiver.go:94"
}
as well as more clickhouse pipelines/exporter issues, but assuming we will get to those afterwardsLucas Thompson
07/15/2025, 2:39 PMdeploy/common/clickhouse
?Lucas Thompson
07/15/2025, 2:57 PMconnection refused
{
"level": "fatal",
"timestamp": "2025-07-15T14:53:41.592Z",
"caller": "signozotelcollector/main.go:79",
"msg": "failed to run service:",
"error": "failed to start collector service: failed to start : failed to start with noop config: collector failed to restart: failed to build pipelines: failed to create \"clickhousetraces\" exporter for data type \"traces\": failed to create clickhouse client: dial tcp 127.0.0.1:9000: connect: connection refused",
"stacktrace": "main.main\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/cmd/signozotelcollector/main.go:79\nruntime.main\n\t/opt/hostedtoolcache/go/1.23.10/x64/src/runtime/proc.go:272"
}
Lucas Thompson
07/15/2025, 2:57 PMLucas Thompson
07/15/2025, 3:11 PMLucas Thompson
07/16/2025, 12:49 PMLucas Thompson
07/16/2025, 12:50 PMLucas Thompson
07/16/2025, 12:50 PMLucas Thompson
07/16/2025, 3:58 PMcode: 701, message: Requested cluster 'cluster' not found
for some reason schema migrator is having trouble recognizing zookeeper cluster?