diff options
author | Matt Layher <mdlayher@gmail.com> | 2019-11-25 14:41:38 -0500 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2019-11-25 13:41:38 -0600 |
commit | da6b66371f70822bc75303c79c85b80c46bcfae6 (patch) | |
tree | 09dc8c777daa4d93dbbff5597941ba5cc69a3138 /collector/fixtures/e2e-output.txt | |
parent | 3c2c4e7b3c473777b13e79cc84cc04e519fd3a9a (diff) | |
download | prometheus_node_collector-da6b66371f70822bc75303c79c85b80c46bcfae6.tar.bz2 prometheus_node_collector-da6b66371f70822bc75303c79c85b80c46bcfae6.tar.xz prometheus_node_collector-da6b66371f70822bc75303c79c85b80c46bcfae6.zip |
collector: reimplement sockstat collector with procfs (#1552)
* collector: reimplement sockstat collector with procfs
* collector: handle sockstat IPv4 disabled, debug logging
Signed-off-by: Matt Layher <mdlayher@gmail.com>
Diffstat (limited to 'collector/fixtures/e2e-output.txt')
-rw-r--r-- | collector/fixtures/e2e-output.txt | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/collector/fixtures/e2e-output.txt b/collector/fixtures/e2e-output.txt index 64be188..e915f92 100644 --- a/collector/fixtures/e2e-output.txt +++ b/collector/fixtures/e2e-output.txt | |||
@@ -2575,15 +2575,27 @@ node_scrape_collector_success{collector="vmstat"} 1 | |||
2575 | node_scrape_collector_success{collector="wifi"} 1 | 2575 | node_scrape_collector_success{collector="wifi"} 1 |
2576 | node_scrape_collector_success{collector="xfs"} 1 | 2576 | node_scrape_collector_success{collector="xfs"} 1 |
2577 | node_scrape_collector_success{collector="zfs"} 1 | 2577 | node_scrape_collector_success{collector="zfs"} 1 |
2578 | # HELP node_sockstat_FRAG6_inuse Number of FRAG6 sockets in state inuse. | ||
2579 | # TYPE node_sockstat_FRAG6_inuse gauge | ||
2580 | node_sockstat_FRAG6_inuse 0 | ||
2581 | # HELP node_sockstat_FRAG6_memory Number of FRAG6 sockets in state memory. | ||
2582 | # TYPE node_sockstat_FRAG6_memory gauge | ||
2583 | node_sockstat_FRAG6_memory 0 | ||
2578 | # HELP node_sockstat_FRAG_inuse Number of FRAG sockets in state inuse. | 2584 | # HELP node_sockstat_FRAG_inuse Number of FRAG sockets in state inuse. |
2579 | # TYPE node_sockstat_FRAG_inuse gauge | 2585 | # TYPE node_sockstat_FRAG_inuse gauge |
2580 | node_sockstat_FRAG_inuse 0 | 2586 | node_sockstat_FRAG_inuse 0 |
2581 | # HELP node_sockstat_FRAG_memory Number of FRAG sockets in state memory. | 2587 | # HELP node_sockstat_FRAG_memory Number of FRAG sockets in state memory. |
2582 | # TYPE node_sockstat_FRAG_memory gauge | 2588 | # TYPE node_sockstat_FRAG_memory gauge |
2583 | node_sockstat_FRAG_memory 0 | 2589 | node_sockstat_FRAG_memory 0 |
2590 | # HELP node_sockstat_RAW6_inuse Number of RAW6 sockets in state inuse. | ||
2591 | # TYPE node_sockstat_RAW6_inuse gauge | ||
2592 | node_sockstat_RAW6_inuse 1 | ||
2584 | # HELP node_sockstat_RAW_inuse Number of RAW sockets in state inuse. | 2593 | # HELP node_sockstat_RAW_inuse Number of RAW sockets in state inuse. |
2585 | # TYPE node_sockstat_RAW_inuse gauge | 2594 | # TYPE node_sockstat_RAW_inuse gauge |
2586 | node_sockstat_RAW_inuse 0 | 2595 | node_sockstat_RAW_inuse 0 |
2596 | # HELP node_sockstat_TCP6_inuse Number of TCP6 sockets in state inuse. | ||
2597 | # TYPE node_sockstat_TCP6_inuse gauge | ||
2598 | node_sockstat_TCP6_inuse 17 | ||
2587 | # HELP node_sockstat_TCP_alloc Number of TCP sockets in state alloc. | 2599 | # HELP node_sockstat_TCP_alloc Number of TCP sockets in state alloc. |
2588 | # TYPE node_sockstat_TCP_alloc gauge | 2600 | # TYPE node_sockstat_TCP_alloc gauge |
2589 | node_sockstat_TCP_alloc 17 | 2601 | node_sockstat_TCP_alloc 17 |
@@ -2602,6 +2614,12 @@ node_sockstat_TCP_orphan 0 | |||
2602 | # HELP node_sockstat_TCP_tw Number of TCP sockets in state tw. | 2614 | # HELP node_sockstat_TCP_tw Number of TCP sockets in state tw. |
2603 | # TYPE node_sockstat_TCP_tw gauge | 2615 | # TYPE node_sockstat_TCP_tw gauge |
2604 | node_sockstat_TCP_tw 4 | 2616 | node_sockstat_TCP_tw 4 |
2617 | # HELP node_sockstat_UDP6_inuse Number of UDP6 sockets in state inuse. | ||
2618 | # TYPE node_sockstat_UDP6_inuse gauge | ||
2619 | node_sockstat_UDP6_inuse 9 | ||
2620 | # HELP node_sockstat_UDPLITE6_inuse Number of UDPLITE6 sockets in state inuse. | ||
2621 | # TYPE node_sockstat_UDPLITE6_inuse gauge | ||
2622 | node_sockstat_UDPLITE6_inuse 0 | ||
2605 | # HELP node_sockstat_UDPLITE_inuse Number of UDPLITE sockets in state inuse. | 2623 | # HELP node_sockstat_UDPLITE_inuse Number of UDPLITE sockets in state inuse. |
2606 | # TYPE node_sockstat_UDPLITE_inuse gauge | 2624 | # TYPE node_sockstat_UDPLITE_inuse gauge |
2607 | node_sockstat_UDPLITE_inuse 0 | 2625 | node_sockstat_UDPLITE_inuse 0 |
@@ -2614,7 +2632,7 @@ node_sockstat_UDP_mem 0 | |||
2614 | # HELP node_sockstat_UDP_mem_bytes Number of UDP sockets in state mem_bytes. | 2632 | # HELP node_sockstat_UDP_mem_bytes Number of UDP sockets in state mem_bytes. |
2615 | # TYPE node_sockstat_UDP_mem_bytes gauge | 2633 | # TYPE node_sockstat_UDP_mem_bytes gauge |
2616 | node_sockstat_UDP_mem_bytes 0 | 2634 | node_sockstat_UDP_mem_bytes 0 |
2617 | # HELP node_sockstat_sockets_used Number of sockets sockets in state used. | 2635 | # HELP node_sockstat_sockets_used Number of IPv4 sockets in use. |
2618 | # TYPE node_sockstat_sockets_used gauge | 2636 | # TYPE node_sockstat_sockets_used gauge |
2619 | node_sockstat_sockets_used 229 | 2637 | node_sockstat_sockets_used 229 |
2620 | # HELP node_textfile_mtime_seconds Unixtime mtime of textfiles successfully read. | 2638 | # HELP node_textfile_mtime_seconds Unixtime mtime of textfiles successfully read. |