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

The status value of TCP close_cait cannot be counted, but it actually has a value #3118

Open
mashuangwei opened this issue Sep 11, 2024 · 1 comment

Comments

@mashuangwei
Copy link

Host operating system: output of uname -a

node_exporter version: output of node_exporter --version

node_exporter command line flags

./node_exporter --collector.tcpstat

node_exporter log output

Are you running node_exporter in Docker?

What did you do that produced an error?

I want to see ' node_tcp_connection_states{state="close_wait"} 5', but it doesnt have

What did you expect to see?

node_tcp_connection_states{state="close_wait"} 5
node_tcp_connection_states{state="established"} 2
node_tcp_connection_states{state="wait_time"} 9
node_tcp_connection_states{state="fin_wait1"} 1
node_tcp_connection_states{state="syn_recv"} 1

What did you see instead?

TYPE node_tcp_connection_states gauge

node_tcp_connection_states{state="established"} 2
node_tcp_connection_states{state="wait_time"} 9
node_tcp_connection_states{state="fin_wait1"} 1
node_tcp_connection_states{state="syn_recv"} 1

@chengjoey
Copy link
Contributor

could you provide the close wait details? use netstat -ton | grep CLOSE_WAIT

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

No branches or pull requests

2 participants