New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Go Functions] - Failed to collect metrics #9177
Labels
type/bug
The PR fixed a bug or issue reported a bug
Comments
looked through the go functions with metrics implementation, it seems the go functions are using wrong port to expose metrics. i will draft a PR to fix this issue. |
1 task
codelipenghui
pushed a commit
that referenced
this issue
Jan 30, 2021
Fixes #9177 ### Motivation go function added metrics collector by #6105, but havnt pass `metricsPort` to go function, also not init & start prometheus http server. As the result, function worker will keep trying to access to the metrics port to collect data, which will cause massive log errors in log history. ### Modifications - expose `metricsPort` to go function - add prometheus http server to go function ### Verifying this change - [x] Make sure that the change passes the CI checks.
codelipenghui
pushed a commit
that referenced
this issue
Feb 4, 2021
Fixes #9177 go function added metrics collector by #6105, but havnt pass `metricsPort` to go function, also not init & start prometheus http server. As the result, function worker will keep trying to access to the metrics port to collect data, which will cause massive log errors in log history. - expose `metricsPort` to go function - add prometheus http server to go function - [x] Make sure that the change passes the CI checks. (cherry picked from commit 211a125)
1 task
zymap
pushed a commit
that referenced
this issue
Feb 22, 2021
Master Issue: #9177 ### Motivation As discussed in #9318, both @zymap and @wolfstudy suggested, to add `metricsPort` as a field of `InstanceConfig`. ### Modifications - add metricsPort to InstanceConfig - add hasValidMetricsPort to InstanceConfig to check if metrics port is valid - applied changes to k8s runtime & process runtime
ivankelly
pushed a commit
to ivankelly/pulsar
that referenced
this issue
Aug 10, 2021
Master Issue: apache#9177 As discussed in apache#9318, both @zymap and @wolfstudy suggested, to add `metricsPort` as a field of `InstanceConfig`. - add metricsPort to InstanceConfig - add hasValidMetricsPort to InstanceConfig to check if metrics port is valid - applied changes to k8s runtime & process runtime
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seeing errors in my log for go functions refusiing a metrics connection.
The function appears to start a listener on startup
021/01/10 15:57:16.848 log.go:46: [info] Serving InstanceCommunication on port 33915
However its counts DO eventually go up, so perhaps it's intermittant?
Running off of 2.8.0-SNAPSHOT
The text was updated successfully, but these errors were encountered: