Replies: 2 comments 1 reply
-
There are two issues here: the first is that the collector shouldn't be simply crashing. You should be able to use the memory limiter to prevent the collector from being killed after consuming too much memory. But the underlying issue seems to be that you can't send data to SigNoz. I would check that project's documentation on how to configure the collector to send data to it. |
Beta Was this translation helpful? Give feedback.
-
Hi @jpkrohling , Thank you for the reply.
otel-collector-metrics-config.yaml
But it seems no effect, cause both of the otel still crashing caused by memory usage. |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I just start to migrate our APM to SigNoz and use the Open Telemetry to send and process the metrics.
It turns out the Otel Collector and Otel Metrics keep restarting when I check both consume a lot of memory.
If I checked the logs of Otel Collector, the log is :
2022-06-30T07:32:51.855Z info exporterhelper/queued_retry.go:215 Exporting failed. Will retry the request after interval. {"kind": "exporter", "name": "clickhousemetricswrite", "error": "context deadline exceeded; context deadline exceeded; context deadline exceeded", "errorCauses": [{"error": "context deadline exceeded", "errorVerbose": "context deadline exceeded\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.inTransaction\n\t/src/exporter/clickhousemetricsexporter/clickhouse.go:225\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.(*clickHouse).Write\n\t/src/exporter/clickhousemetricsexporter/clickhouse.go:305\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.(*PrwExporter).export.func1\n\t/src/exporter/clickhousemetricsexporter/exporter.go:279\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1581"}, {"error": "context deadline exceeded", "errorVerbose": "context deadline exceeded\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.inTransaction\n\t/src/exporter/clickhousemetricsexporter/clickhouse.go:225\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.(*clickHouse).Write\n\t/src/exporter/clickhousemetricsexporter/clickhouse.go:305\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.(*PrwExporter).export.func1\n\t/src/exporter/clickhousemetricsexporter/exporter.go:279\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1581"}, {"error": "context deadline exceeded", "errorVerbose": "context deadline exceeded\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.inTransaction\n\t/src/exporter/clickhousemetricsexporter/clickhouse.go:225\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.(*clickHouse).Write\n\t/src/exporter/clickhousemetricsexporter/clickhouse.go:305\ngithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickhousemetricsexporter.(*PrwExporter).export.func1\n\t/src/exporter/clickhousemetricsexporter/exporter.go:279\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1581"}], "interval": "75.972662ms"}
I use the version:
Any best practice to use the Otel Collector? I assume our apps that send their metrics are exceeded the Otel Collector's capacity, but when I give more resources to the Otel Collector, it keeps needing more memory to handle the metrics.
Beta Was this translation helpful? Give feedback.
All reactions