CrateDB Prometheus Adapter croaks with err="context deadline exceeded"

Dear Florencia,

thank you for writing in. I deliberately moved your question to this discussion to keep things in line.

After Ryan originally reported this issue, we took some actions to adjust the TCP keepalive interval and the TCP connect timeout settings, also making the latter configurable.

We outlined the improvements at Failed to POST/GET data from CrateDB: Croaks with err="context deadline exceeded" · Issue #33 · crate/cratedb-prometheus-adapter · GitHub, where Ryan also posted the context deadline exceeded error he was observing.

However, Ryan never reported back if those improvements have been helpful in any way. May I humbly ask you about this, @RyanWN4?

@Florencia_Artegoytia: Maybe you can increase the connect_timeout setting in your adapter’s config.yml as outlined within [1], bounce your containers and report back about any improvements you might be able to observe?

With kind regards,
Andreas.


  1. CrateDB and Prometheus for long-term metrics storage ↩︎