SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
18.72k stars 1.21k forks source link

Error 500 all over the place in last release (0.44) #5046

Open ManiMozaffar opened 4 months ago

ManiMozaffar commented 4 months ago

Bug description

I cloned the repo, and went to docker deploy, and started the containers. I'm getting error 500 from most of APIs from query service.

Screenshot 2024-05-21 at 16 56 02

But this one return 200 v1/featureFlags.

Traceback of clickhouse exceptions
2024-05-21 16:57:41 signoz-otel-collector | 2024-05-21T14:57:41.508Z warn clickhousemetricsexporter/exporter.go:347 empty batch, skipping {"kind": "exporter", "data_type": "metrics", "name": "clickhousemetricswrite"} 2024-05-21 16:58:00 signoz-clickhouse | 2024.05.21 14:58:00.065400 [ 48 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 2024-05-21 16:58:00 signoz-clickhouse | 2024-05-21 16:58:00 signoz-clickhouse | 0. Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001360d6f8 in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 1. Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000001360ea74 in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 2. Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000013611530 in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 3. Poco::Net::HTTPSession::write(char const*, long) @ 0x00000000135fadc4 in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 4. Poco::Net::HTTPHeaderIOS::~HTTPHeaderIOS() @ 0x00000000135f5c4c in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 5. Poco::Net::HTTPHeaderOutputStream::~HTTPHeaderOutputStream() @ 0x00000000135f6010 in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 6. DB::HTTPServerResponse::send() @ 0x000000001117c680 in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 7. DB::HTTPServerConnection::sendErrorResponse(Poco::Net::HTTPServerSession&, Poco::Net::HTTPResponse::HTTPStatus) @ 0x0000000011178c34 in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 8. DB::HTTPServerConnection::run() @ 0x0000000011178928 in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 9. Poco::Net::TCPServerConnection::start() @ 0x0000000013611fa4 in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 10. Poco::Net::TCPServerDispatcher::run() @ 0x0000000013612f18 in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 11. Poco::PooledThread::run() @ 0x0000000013732adc in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 12. Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000013730f0c in /usr/bin/clickhouse 2024-05-21 16:58:00 signoz-clickhouse | 13. start_thread @ 0x0000000000007624 in /lib/libpthread.so.0 2024-05-21 16:58:00 signoz-clickhouse | 14. ? @ 0x00000000000d162c in /lib/libc.so.6 2024-05-21 16:58:00 signoz-clickhouse | (version 24.1.2.5 (official build))
Migration's log to confirm everything's smooth.
2024-05-21 16:53:49 {"level":"info","timestamp":"2024-05-21T14:53:49.620Z","caller":"signozschemamigrator/migrate.go:89","msg":"Setting env var SIGNOZ_CLUSTER","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 16:53:49 {"level":"info","timestamp":"2024-05-21T14:53:49.620Z","caller":"signozschemamigrator/migrate.go:106","msg":"Successfully set env var SIGNOZ_CLUSTER ","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 16:53:49 {"level":"info","timestamp":"2024-05-21T14:53:49.620Z","caller":"signozschemamigrator/migrate.go:111","msg":"Setting env var SIGNOZ_REPLICATED","component":"migrate cli","replication":false} 2024-05-21 16:53:49 {"level":"info","timestamp":"2024-05-21T14:53:49.626Z","caller":"migrationmanager/manager.go:76","msg":"Running migrations for all migrators","component":"migrationmanager"} 2024-05-21 16:53:49 {"level":"info","timestamp":"2024-05-21T14:53:49.626Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for logs","component":"migrationmanager","migrator":"logs"} 2024-05-21 16:53:50 {"level":"info","timestamp":"2024-05-21T14:53:50.198Z","caller":"basemigrator/logger.go:22","msg":"1/u init_db (428.329834ms)\n","migrator":"logs"} 2024-05-21 16:53:50 {"level":"info","timestamp":"2024-05-21T14:53:50.273Z","caller":"basemigrator/logger.go:22","msg":"2/u add_minmax_idx (503.78075ms)\n","migrator":"logs"} 2024-05-21 16:53:50 {"level":"info","timestamp":"2024-05-21T14:53:50.477Z","caller":"basemigrator/logger.go:22","msg":"3/u add_distributed_table (706.343667ms)\n","migrator":"logs"} 2024-05-21 16:53:50 {"level":"info","timestamp":"2024-05-21T14:53:50.564Z","caller":"basemigrator/logger.go:22","msg":"4/u ttl_only_drop_parts (793.210751ms)\n","migrator":"logs"} 2024-05-21 16:53:51 {"level":"info","timestamp":"2024-05-21T14:53:51.214Z","caller":"basemigrator/logger.go:22","msg":"5/u attribute_rename (1.443535918s)\n","migrator":"logs"} 2024-05-21 16:53:51 {"level":"info","timestamp":"2024-05-21T14:53:51.369Z","caller":"basemigrator/logger.go:22","msg":"6/u tag_attributes (1.598499626s)\n","migrator":"logs"} 2024-05-21 16:53:51 {"level":"info","timestamp":"2024-05-21T14:53:51.549Z","caller":"basemigrator/logger.go:22","msg":"7/u default_indexes (1.777948376s)\n","migrator":"logs"} 2024-05-21 16:53:51 {"level":"info","timestamp":"2024-05-21T14:53:51.845Z","caller":"basemigrator/logger.go:22","msg":"8/u add_bool (2.074633209s)\n","migrator":"logs"} 2024-05-21 16:53:51 {"level":"info","timestamp":"2024-05-21T14:53:51.976Z","caller":"basemigrator/logger.go:22","msg":"9/u add_usage (2.205281793s)\n","migrator":"logs"} 2024-05-21 16:53:51 {"level":"info","timestamp":"2024-05-21T14:53:51.976Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for metrics","component":"migrationmanager","migrator":"metrics"} 2024-05-21 16:53:52 {"level":"info","timestamp":"2024-05-21T14:53:52.874Z","caller":"basemigrator/logger.go:22","msg":"1/u init_db (775.097667ms)\n","migrator":"metrics"} 2024-05-21 16:53:53 {"level":"info","timestamp":"2024-05-21T14:53:53.112Z","caller":"basemigrator/logger.go:22","msg":"2/u metric_meta (1.012185709s)\n","migrator":"metrics"} 2024-05-21 16:53:53 {"level":"info","timestamp":"2024-05-21T14:53:53.254Z","caller":"basemigrator/logger.go:22","msg":"3/u ts_v4 (1.153913834s)\n","migrator":"metrics"} 2024-05-21 16:53:53 {"level":"info","timestamp":"2024-05-21T14:53:53.606Z","caller":"basemigrator/logger.go:22","msg":"4/u ts_v4_high_precision (1.505359s)\n","migrator":"metrics"} 2024-05-21 16:53:53 {"level":"info","timestamp":"2024-05-21T14:53:53.731Z","caller":"basemigrator/logger.go:22","msg":"5/u samples_v4 (1.630283959s)\n","migrator":"metrics"} 2024-05-21 16:53:53 {"level":"info","timestamp":"2024-05-21T14:53:53.853Z","caller":"basemigrator/logger.go:22","msg":"6/u add_usage (1.752755709s)\n","migrator":"metrics"} 2024-05-21 16:53:53 {"level":"info","timestamp":"2024-05-21T14:53:53.979Z","caller":"basemigrator/logger.go:22","msg":"7/u exp_hist (1.878761001s)\n","migrator":"metrics"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.037Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for traces","component":"migrationmanager","migrator":"traces"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.235Z","caller":"basemigrator/logger.go:22","msg":"1/u init_db (78.735542ms)\n","migrator":"traces"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.301Z","caller":"basemigrator/logger.go:22","msg":"2/u init_schema (144.565583ms)\n","migrator":"traces"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.384Z","caller":"basemigrator/logger.go:22","msg":"3/u init_schema (227.991709ms)\n","migrator":"traces"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.453Z","caller":"basemigrator/logger.go:22","msg":"4/u update_table (296.949125ms)\n","migrator":"traces"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.524Z","caller":"basemigrator/logger.go:22","msg":"5/u add_hasError (368.30025ms)\n","migrator":"traces"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.594Z","caller":"basemigrator/logger.go:22","msg":"6/u add_tag_map (437.697708ms)\n","migrator":"traces"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.662Z","caller":"basemigrator/logger.go:22","msg":"7/u init_signoz_index_v2 (506.191708ms)\n","migrator":"traces"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.729Z","caller":"basemigrator/logger.go:22","msg":"8/u init_signoz_spans (572.78075ms)\n","migrator":"traces"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.796Z","caller":"basemigrator/logger.go:22","msg":"9/u init_signoz_error_index (637.748875ms)\n","migrator":"traces"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.865Z","caller":"basemigrator/logger.go:22","msg":"10/u add_gRPC_code_method (706.477584ms)\n","migrator":"traces"} 2024-05-21 16:53:54 {"level":"info","timestamp":"2024-05-21T14:53:54.988Z","caller":"basemigrator/logger.go:22","msg":"11/u init_durationMV (828.929667ms)\n","migrator":"traces"} 2024-05-21 16:53:55 {"level":"info","timestamp":"2024-05-21T14:53:55.055Z","caller":"basemigrator/logger.go:22","msg":"12/u init_signoz_error_index_v2 (820.257375ms)\n","migrator":"traces"} 2024-05-21 16:53:55 {"level":"info","timestamp":"2024-05-21T14:53:55.407Z","caller":"basemigrator/logger.go:22","msg":"13/u add_RPC_system_service_method (1.106143792s)\n","migrator":"traces"} 2024-05-21 16:53:55 {"level":"info","timestamp":"2024-05-21T14:53:55.530Z","caller":"basemigrator/logger.go:22","msg":"14/u add_usage_explorer_mv (1.146190459s)\n","migrator":"traces"} 2024-05-21 16:53:55 {"level":"info","timestamp":"2024-05-21T14:53:55.712Z","caller":"basemigrator/logger.go:22","msg":"15/u top_level_operations_mv (1.25827575s)\n","migrator":"traces"} 2024-05-21 16:53:55 {"level":"info","timestamp":"2024-05-21T14:53:55.963Z","caller":"basemigrator/logger.go:22","msg":"16/u dependency_graph_minutes (1.437916709s)\n","migrator":"traces"} 2024-05-21 16:53:56 {"level":"info","timestamp":"2024-05-21T14:53:56.366Z","caller":"basemigrator/logger.go:22","msg":"17/u add_distributed_table (1.772107668s)\n","migrator":"traces"} 2024-05-21 16:53:56 {"level":"info","timestamp":"2024-05-21T14:53:56.717Z","caller":"basemigrator/logger.go:22","msg":"18/u add_new_tag_types (2.054242834s)\n","migrator":"traces"} 2024-05-21 16:53:57 {"level":"info","timestamp":"2024-05-21T14:53:57.073Z","caller":"basemigrator/logger.go:22","msg":"19/u ttl_only_drop_parts (2.343485376s)\n","migrator":"traces"} 2024-05-21 16:53:57 {"level":"info","timestamp":"2024-05-21T14:53:57.196Z","caller":"basemigrator/logger.go:22","msg":"20/u resource_att_exceptions (2.399898793s)\n","migrator":"traces"} 2024-05-21 16:53:57 {"level":"info","timestamp":"2024-05-21T14:53:57.324Z","caller":"basemigrator/logger.go:22","msg":"21/u resource_attributes_signoz_index_v2 (2.459079501s)\n","migrator":"traces"} 2024-05-21 16:53:57 {"level":"info","timestamp":"2024-05-21T14:53:57.620Z","caller":"basemigrator/logger.go:22","msg":"22/u dependency_graph_minutes_v2 (2.632169126s)\n","migrator":"traces"} 2024-05-21 16:53:57 {"level":"info","timestamp":"2024-05-21T14:53:57.742Z","caller":"basemigrator/logger.go:22","msg":"23/u span_attributes_mv (2.686396668s)\n","migrator":"traces"} 2024-05-21 16:53:57 {"level":"info","timestamp":"2024-05-21T14:53:57.869Z","caller":"basemigrator/logger.go:22","msg":"24/u span_attributes_keys (2.461627002s)\n","migrator":"traces"} 2024-05-21 16:53:58 {"level":"info","timestamp":"2024-05-21T14:53:58.050Z","caller":"basemigrator/logger.go:22","msg":"25/u add_time_column_ttl_top_level (2.519242377s)\n","migrator":"traces"} 2024-05-21 16:53:58 {"level":"info","timestamp":"2024-05-21T14:53:58.171Z","caller":"basemigrator/logger.go:22","msg":"26/u add_usage (2.458803084s)\n","migrator":"traces"} 2024-05-21 16:53:58 {"level":"info","timestamp":"2024-05-21T14:53:58.525Z","caller":"basemigrator/logger.go:22","msg":"27/u add_is_remote_span (2.562514585s)\n","migrator":"traces"} 2024-05-21 16:53:58 {"level":"info","timestamp":"2024-05-21T14:53:58.699Z","caller":"migrationmanager/manager.go:85","msg":"Finished running migrations for all migrators","component":"migrationmanager"} 2024-05-21 16:54:00 {"level":"info","timestamp":"2024-05-21T14:54:00.268Z","caller":"signozschemamigrator/migrate.go:89","msg":"Setting env var SIGNOZ_CLUSTER","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 16:54:00 {"level":"info","timestamp":"2024-05-21T14:54:00.269Z","caller":"signozschemamigrator/migrate.go:106","msg":"Successfully set env var SIGNOZ_CLUSTER ","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 16:54:00 {"level":"info","timestamp":"2024-05-21T14:54:00.269Z","caller":"signozschemamigrator/migrate.go:111","msg":"Setting env var SIGNOZ_REPLICATED","component":"migrate cli","replication":false} 2024-05-21 16:54:00 {"level":"info","timestamp":"2024-05-21T14:54:00.273Z","caller":"migrationmanager/manager.go:76","msg":"Running migrations for all migrators","component":"migrationmanager"} 2024-05-21 16:54:00 {"level":"info","timestamp":"2024-05-21T14:54:00.273Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for logs","component":"migrationmanager","migrator":"logs"} 2024-05-21 16:54:00 {"level":"info","timestamp":"2024-05-21T14:54:00.284Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for metrics","component":"migrationmanager","migrator":"metrics"} 2024-05-21 16:54:00 {"level":"info","timestamp":"2024-05-21T14:54:00.412Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for traces","component":"migrationmanager","migrator":"traces"} 2024-05-21 16:54:00 {"level":"info","timestamp":"2024-05-21T14:54:00.643Z","caller":"migrationmanager/manager.go:85","msg":"Finished running migrations for all migrators","component":"migrationmanager"} 2024-05-21 16:55:19 {"level":"info","timestamp":"2024-05-21T14:55:19.757Z","caller":"signozschemamigrator/migrate.go:89","msg":"Setting env var SIGNOZ_CLUSTER","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 16:55:19 {"level":"info","timestamp":"2024-05-21T14:55:19.757Z","caller":"signozschemamigrator/migrate.go:106","msg":"Successfully set env var SIGNOZ_CLUSTER ","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 16:55:19 {"level":"info","timestamp":"2024-05-21T14:55:19.757Z","caller":"signozschemamigrator/migrate.go:111","msg":"Setting env var SIGNOZ_REPLICATED","component":"migrate cli","replication":false} 2024-05-21 16:55:19 {"level":"info","timestamp":"2024-05-21T14:55:19.761Z","caller":"migrationmanager/manager.go:76","msg":"Running migrations for all migrators","component":"migrationmanager"} 2024-05-21 16:55:19 {"level":"info","timestamp":"2024-05-21T14:55:19.761Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for logs","component":"migrationmanager","migrator":"logs"} 2024-05-21 16:55:23 {"level":"info","timestamp":"2024-05-21T14:55:23.747Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for metrics","component":"migrationmanager","migrator":"metrics"} 2024-05-21 16:55:23 {"level":"info","timestamp":"2024-05-21T14:55:23.870Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for traces","component":"migrationmanager","migrator":"traces"} 2024-05-21 16:55:24 {"level":"info","timestamp":"2024-05-21T14:55:24.108Z","caller":"migrationmanager/manager.go:85","msg":"Finished running migrations for all migrators","component":"migrationmanager"} 2024-05-21 16:55:31 {"level":"info","timestamp":"2024-05-21T14:55:31.565Z","caller":"signozschemamigrator/migrate.go:89","msg":"Setting env var SIGNOZ_CLUSTER","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 16:55:31 {"level":"info","timestamp":"2024-05-21T14:55:31.565Z","caller":"signozschemamigrator/migrate.go:106","msg":"Successfully set env var SIGNOZ_CLUSTER ","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 16:55:31 {"level":"info","timestamp":"2024-05-21T14:55:31.565Z","caller":"signozschemamigrator/migrate.go:111","msg":"Setting env var SIGNOZ_REPLICATED","component":"migrate cli","replication":false} 2024-05-21 16:55:31 {"level":"info","timestamp":"2024-05-21T14:55:31.569Z","caller":"migrationmanager/manager.go:76","msg":"Running migrations for all migrators","component":"migrationmanager"} 2024-05-21 16:55:31 {"level":"info","timestamp":"2024-05-21T14:55:31.569Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for logs","component":"migrationmanager","migrator":"logs"} 2024-05-21 16:55:31 {"level":"info","timestamp":"2024-05-21T14:55:31.635Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for metrics","component":"migrationmanager","migrator":"metrics"} 2024-05-21 16:55:31 {"level":"info","timestamp":"2024-05-21T14:55:31.785Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for traces","component":"migrationmanager","migrator":"traces"} 2024-05-21 16:55:32 {"level":"info","timestamp":"2024-05-21T14:55:32.030Z","caller":"migrationmanager/manager.go:85","msg":"Finished running migrations for all migrators","component":"migrationmanager"} 2024-05-21 16:55:39 {"level":"info","timestamp":"2024-05-21T14:55:39.869Z","caller":"signozschemamigrator/migrate.go:89","msg":"Setting env var SIGNOZ_CLUSTER","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 16:55:39 {"level":"info","timestamp":"2024-05-21T14:55:39.869Z","caller":"signozschemamigrator/migrate.go:106","msg":"Successfully set env var SIGNOZ_CLUSTER ","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 16:55:39 {"level":"info","timestamp":"2024-05-21T14:55:39.869Z","caller":"signozschemamigrator/migrate.go:111","msg":"Setting env var SIGNOZ_REPLICATED","component":"migrate cli","replication":false} 2024-05-21 16:55:39 {"level":"info","timestamp":"2024-05-21T14:55:39.875Z","caller":"migrationmanager/manager.go:76","msg":"Running migrations for all migrators","component":"migrationmanager"} 2024-05-21 16:55:39 {"level":"info","timestamp":"2024-05-21T14:55:39.875Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for logs","component":"migrationmanager","migrator":"logs"} 2024-05-21 16:55:39 {"level":"info","timestamp":"2024-05-21T14:55:39.884Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for metrics","component":"migrationmanager","migrator":"metrics"} 2024-05-21 16:55:40 {"level":"info","timestamp":"2024-05-21T14:55:40.014Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for traces","component":"migrationmanager","migrator":"traces"} 2024-05-21 16:55:40 {"level":"info","timestamp":"2024-05-21T14:55:40.250Z","caller":"migrationmanager/manager.go:85","msg":"Finished running migrations for all migrators","component":"migrationmanager"} 2024-05-21 17:00:10 {"level":"info","timestamp":"2024-05-21T15:00:10.914Z","caller":"signozschemamigrator/migrate.go:89","msg":"Setting env var SIGNOZ_CLUSTER","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 17:00:10 {"level":"info","timestamp":"2024-05-21T15:00:10.914Z","caller":"signozschemamigrator/migrate.go:106","msg":"Successfully set env var SIGNOZ_CLUSTER ","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 17:00:10 {"level":"info","timestamp":"2024-05-21T15:00:10.914Z","caller":"signozschemamigrator/migrate.go:111","msg":"Setting env var SIGNOZ_REPLICATED","component":"migrate cli","replication":false} 2024-05-21 17:00:10 {"level":"info","timestamp":"2024-05-21T15:00:10.919Z","caller":"migrationmanager/manager.go:76","msg":"Running migrations for all migrators","component":"migrationmanager"} 2024-05-21 17:00:10 {"level":"info","timestamp":"2024-05-21T15:00:10.919Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for logs","component":"migrationmanager","migrator":"logs"} 2024-05-21 17:00:11 {"level":"info","timestamp":"2024-05-21T15:00:11.006Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for metrics","component":"migrationmanager","migrator":"metrics"} 2024-05-21 17:00:11 {"level":"info","timestamp":"2024-05-21T15:00:11.142Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for traces","component":"migrationmanager","migrator":"traces"} 2024-05-21 17:00:11 {"level":"info","timestamp":"2024-05-21T15:00:11.329Z","caller":"migrationmanager/manager.go:85","msg":"Finished running migrations for all migrators","component":"migrationmanager"} 2024-05-21 17:00:59 {"level":"info","timestamp":"2024-05-21T15:00:59.203Z","caller":"signozschemamigrator/migrate.go:89","msg":"Setting env var SIGNOZ_CLUSTER","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 17:00:59 {"level":"info","timestamp":"2024-05-21T15:00:59.203Z","caller":"signozschemamigrator/migrate.go:106","msg":"Successfully set env var SIGNOZ_CLUSTER ","component":"migrate cli","cluster-name":"cluster"} 2024-05-21 17:00:59 {"level":"info","timestamp":"2024-05-21T15:00:59.203Z","caller":"signozschemamigrator/migrate.go:111","msg":"Setting env var SIGNOZ_REPLICATED","component":"migrate cli","replication":false} 2024-05-21 17:00:59 {"level":"info","timestamp":"2024-05-21T15:00:59.207Z","caller":"migrationmanager/manager.go:76","msg":"Running migrations for all migrators","component":"migrationmanager"} 2024-05-21 17:00:59 {"level":"info","timestamp":"2024-05-21T15:00:59.207Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for logs","component":"migrationmanager","migrator":"logs"} 2024-05-21 17:00:59 {"level":"info","timestamp":"2024-05-21T15:00:59.281Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for metrics","component":"migrationmanager","migrator":"metrics"} 2024-05-21 17:00:59 {"level":"info","timestamp":"2024-05-21T15:00:59.352Z","caller":"migrationmanager/manager.go:78","msg":"Running migrations for traces","component":"migrationmanager","migrator":"traces"} 2024-05-21 17:00:59 {"level":"info","timestamp":"2024-05-21T15:00:59.587Z","caller":"migrationmanager/manager.go:85","msg":"Finished running migrations for all migrators","component":"migrationmanager"}

Expected behavior

  1. Cloning repo and starting docker container should be fine tho. Maybe a CI/CD action to confirm this before deploying? I didn't have this issue in version 0.33. Gonna test it all the way back to see where was the first version with this issue.

How to reproduce

  1. Clone repo
  2. Go to docker deploy
  3. Start all containers
  4. Go to dashboard, create a user
  5. Go to "services" or "logs" -> error 500

Version information

Additional context

Thank you for your bug report – we love squashing them!

ManiMozaffar commented 4 months ago

Tried version 0.39.1 it's working

srikanthccv commented 4 months ago

I couldn't reproduce the error. Please share full response from the APIs.