Closed meelgr closed 1 year ago
When viewing logs of pipeline-exporter docker container I see folowing error:
{"level":"info","msg":"pull projects from wildcards","on-init":"yes","scheduled":"every 1800s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"pull environments from projects","on-init":"yes","scheduled":"every 1800s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"pull refs from projects","on-init":"yes","scheduled":"every 300s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"pull metrics","on-init":"yes","scheduled":"every 30s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"garbage collect projects","on-init":"no","scheduled":"every 14400s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"garbage collect environments","on-init":"no","scheduled":"every 14400s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"garbage collect refs","on-init":"no","scheduled":"every 1800s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"garbage collect metrics","on-init":"no","scheduled":"every 600s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"opentelemetry gRPC endpoint provided, initializing connection..","opentelemetry_grpc_endpoint":"otel-collector:4317","time":"2023-07-21T09:36:15Z"} *{"error":"1 errors occurred detecting resource:\n\t user: Current requires cgo or $USER set in environment","level":"error","msg":"","time":"2023-07-21T09:36:15Z"}** {"execution-time":27547501,"level":"debug","msg":"exited..","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"pull projects from wildcards","on-init":"yes","scheduled":"every 1800s","time":"2023-07-21T09:48:19Z"}
Found issue; In docker compose file I added the docker user as user. After removing user it worked
When viewing logs of pipeline-exporter docker container I see folowing error:
{"level":"info","msg":"pull projects from wildcards","on-init":"yes","scheduled":"every 1800s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"pull environments from projects","on-init":"yes","scheduled":"every 1800s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"pull refs from projects","on-init":"yes","scheduled":"every 300s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"pull metrics","on-init":"yes","scheduled":"every 30s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"garbage collect projects","on-init":"no","scheduled":"every 14400s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"garbage collect environments","on-init":"no","scheduled":"every 14400s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"garbage collect refs","on-init":"no","scheduled":"every 1800s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"garbage collect metrics","on-init":"no","scheduled":"every 600s","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"opentelemetry gRPC endpoint provided, initializing connection..","opentelemetry_grpc_endpoint":"otel-collector:4317","time":"2023-07-21T09:36:15Z"} *{"error":"1 errors occurred detecting resource:\n\t user: Current requires cgo or $USER set in environment","level":"error","msg":"","time":"2023-07-21T09:36:15Z"}** {"execution-time":27547501,"level":"debug","msg":"exited..","time":"2023-07-21T09:36:15Z"} {"level":"info","msg":"pull projects from wildcards","on-init":"yes","scheduled":"every 1800s","time":"2023-07-21T09:48:19Z"}