micrometer-metrics / micrometer-metrics/prometheus-rsocket-proxy

Prometheus RSocket Proxy Client does not connect to Prometheus RSocket Proxy Server when using Spring Boot Native Images

Open
#94 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
77
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Currently we are facing the issue that if you use Spring Boot Native Images, the `Prometheus RSocket Proxy Client` does run into a timeout each time it connects to the `Prometheus RSocket Proxy Server`. For normal Java Application everything is working fine.

I also tried to increase the timeout with the newly introduced option https://github.com/micrometer-metrics/prometheus-rsocket-proxy/issues/86

```yml
micrometer:
prometheus:
rsocket:
timeout: 30s
```

Tested version: `2.0.0-M3`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the timeout with the Prometheus RSocket Proxy Client and Server using Spring Boot Native Images, then compare it with a normal Java application. The timeout setting from issue #86 and version 2.0.0-M3 are the stated context; done means the native-image client connects successfully without timing out.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.