Skip to content

Conversation

@hmhuan
Copy link

@hmhuan hmhuan commented Nov 1, 2025

I got the issue like below so I would like to contribute to fix it by apply configurable for connectionTimeout and readTimeout.

stack_trace: java.io.IOException: ailed to push metrics to the Prometheus Pushgateway on <pushgateway_address>: Read timed out
Caused by: java.net.SocketTimeoutException: Read timed out
  • AS-IS: the current connectionTimeout and readTimeout is 10s
  • TOBE: we can create builder with connectionTimeout and readTimeout custom value, default value is 10s

Copy link
Member

@zeitlinger zeitlinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Gregor Zeitlinger <[email protected]>
@zeitlinger
Copy link
Member

A pushed a change that reads the properties from a file to be in line with the other properties

@zeitlinger
Copy link
Member

@hmhuan please fix the build - and let me know if you want to have this PR included in the upcoming release

@hmhuan
Copy link
Author

hmhuan commented Nov 5, 2025

Hi @zeitlinger , Thank you for your support. I will fix the build and update on this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants