Skip to content
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

Code executor does not expose metrics endpoint but does have metrics annotations #155

Closed
erulabs opened this issue Mar 4, 2024 · 0 comments · Fixed by #170
Closed

Code executor does not expose metrics endpoint but does have metrics annotations #155

erulabs opened this issue Mar 4, 2024 · 0 comments · Fixed by #170

Comments

@erulabs
Copy link
Contributor

erulabs commented Mar 4, 2024

The retool-code-executor deployment contains the prometheus scrape annotations:

    prometheus.io/scrape: 'true'
    prometheus.io/port: '9090'

However, there is no process listening on 9090 in code executor:

root@retool-code-executor-8578784858-w9m2f:/retool/code_executor# curl localhost:9090
curl: (7) Failed to connect to localhost port 9090: Connection refused
root@retool-code-executor-8578784858-w9m2f:/retool/code_executor# netstat -pnlt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp6       0      0 :::3004                 :::*                    LISTEN      14/node

We should remove the prometheus scrape annotations from code executor.

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