Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to fetch docker container metrics #116

Open
Siscos06 opened this issue Nov 20, 2024 · 0 comments
Open

Unable to fetch docker container metrics #116

Siscos06 opened this issue Nov 20, 2024 · 0 comments

Comments

@Siscos06
Copy link

I'm trying to set up SigNoz to monitor my home server docker containers. I managed to deploy SigNoz in a docker environment using this guide.
However, when I pulled it, I got the exited - code 0 for otel-migrator-async and error - code 1 for otel-migrator-sync in Portainer. I don't know if this is related to my problem in some kind of way.
The dashboard I'm trying to use is this one. I was able to import and use the HostMetrics Dashboard, which I guess that means that still SigNoz works.
Since I quite new in this area, I don't exactly know how I should precede. Thus, I will be very thankful if someone can help me.

The logs are:

  • otel-migrator-async:
    L=info timestamp=2024-11-20T13:41:14.855Z C=signozschemamigrator/main.go:225 M=Parsed DSN optsError=json: unsupported type: func(context.Context, string) (net.Conn, error)
    L=info timestamp=2024-11-20T13:41:14.856Z C=signozschemamigrator/main.go:231 M=Opened connection
    L=info timestamp=2024-11-20T13:41:14.856Z C=signozschemamigrator/main.go:249 M=Migrating up
    L=info timestamp=2024-11-20T13:41:14.856Z C=schema_migrator/manager.go:682 M=Running migrations up async
    L=info timestamp=2024-11-20T13:41:14.856Z C=schema_migrator/manager.go:551 M=Checking if migration should run db=signoz_metrics migration_id=1000 versions=[]
    L=info timestamp=2024-11-20T13:41:14.856Z C=schema_migrator/manager.go:568 M=Fetching migration status query=SELECT * FROM signoz_metrics.schema_migrations_v2 WHERE migration_id = 1000 SETTINGS final = 1;
    L=info timestamp=2024-11-20T13:41:14.861Z C=schema_migrator/manager.go:579 M=Migration status migration_id=1000 status=finished
    L=info timestamp=2024-11-20T14:56:34.175Z C=signozschemamigrator/main.go:189 M=Running migrations in async mode dsn=tcp://clickhouse:9000 replication=false cluster-name=cluster
    L=info timestamp=2024-11-20T14:56:34.181Z C=signozschemamigrator/main.go:202 M=Up migrations versions=[]
    L=info timestamp=2024-11-20T14:56:34.181Z C=signozschemamigrator/main.go:215 M=Down migrations versions=[]
    L=info timestamp=2024-11-20T14:56:34.181Z C=signozschemamigrator/main.go:225 M=Parsed DSN optsError=json: unsupported type: func(context.Context, string) (net.Conn, error)
    L=info timestamp=2024-11-20T14:56:34.184Z C=signozschemamigrator/main.go:231 M=Opened connection
    L=info timestamp=2024-11-20T14:56:34.184Z C=signozschemamigrator/main.go:249 M=Migrating up
    L=info timestamp=2024-11-20T14:56:34.184Z C=schema_migrator/manager.go:682 M=Running migrations up async
    L=info timestamp=2024-11-20T14:56:34.185Z C=schema_migrator/manager.go:551 M=Checking if migration should run db=signoz_metrics migration_id=1000 versions=[]
    L=info timestamp=2024-11-20T14:56:34.185Z C=schema_migrator/manager.go:568 M=Fetching migration status query=SELECT * FROM signoz_metrics.schema_migrations_v2 WHERE migration_id = 1000 SETTINGS final = 1;
    L=info timestamp=2024-11-20T14:56:34.205Z C=schema_migrator/manager.go:579 M=Migration status migration_id=1000 status=finished
  • otel-migrator-sync
    L=info timestamp=2024-11-20T14:56:34.631Z C=signozschemamigrator/main.go:127 M=Parsed DSN optsError=json: unsupported type: func(context.Context, string) (net.Conn, error)
    L=info timestamp=2024-11-20T14:56:34.631Z C=signozschemamigrator/main.go:133 M=Opened connection
    Error: failed to bootstrap migrations: failed to create dbs
    failed to create dbs
    code: 999, message: Coordination error: Connection loss, path /clickhouse/task_queue/ddl/query-
    Usage:
    signoz-schema-migrator sync [flags]
    Flags:
    --down string Down migrations to run, comma separated. Must provide down migrations explicitly to run
    -h, --help help for sync
    --up string Up migrations to run, comma separated. Leave empty to run all up migrations
    Global Flags:
    --cluster-name string Cluster name to use while running migrations (default "cluster")
    --dev Development mode
    --dsn string Clickhouse DSN
    --replication Enable replication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant