tcp-info
tcp-info copied to clipboard
Update the Prometheus metrics to pass the prometheus linter
Output on travis:
605 promtest.go:42: Bad metric tcpinfo_cache_count_histogram: metric name should not include type 'histogram'
606 promtest.go:42: Bad metric tcpinfo_connection_count_histogram: metric name should not include type 'histogram'
607 promtest.go:42: Bad metric tcpinfo_polling_interval_histogram: metric name should not include type 'histogram'
608 promtest.go:42: Bad metric tcpinfo_receive_rate_histogram: metric name should not include type 'histogram'
609 promtest.go:42: Bad metric tcpinfo_send_rate_histogram: metric name should not include type 'histogram'
610 promtest.go:42: Bad metric tcpinfo_syscall_time_histogram: metric name should not include type 'histogram'