diff --git a/cmd/karma/tests/testscript/083_metrics.txt b/cmd/karma/tests/testscript/083_metrics.txt index 46fd75735..3d5fd5733 100644 --- a/cmd/karma/tests/testscript/083_metrics.txt +++ b/cmd/karma/tests/testscript/083_metrics.txt @@ -19,9 +19,6 @@ go_gc_duration_seconds_count # HELP go_goroutines Number of goroutines that currently exist. # TYPE go_goroutines gauge go_goroutines -# HELP go_info Information about the Go environment. -# TYPE go_info gauge -go_info{version="go1.15.3"} # HELP go_memstats_alloc_bytes Number of bytes allocated and still in use. # TYPE go_memstats_alloc_bytes gauge go_memstats_alloc_bytes @@ -136,5 +133,5 @@ level=info msg="Removing PID file" path=karma.pid while [ ! -f karma.pid ]; do sleep 1 ; done sleep 5 -curl -s http://localhost:8083/metrics | grep -v 'process_' | sed -E s_' ([0-9]+|[0-9]+\.[0-9]+|[0-9]+\.[0-9]+e(\+|\-)[0-9]+)$'_''_g > curl.txt +curl -s http://localhost:8083/metrics | grep -vE 'process_|go_info' | sed -E s_' ([0-9]+|[0-9]+\.[0-9]+|[0-9]+\.[0-9]+e(\+|\-)[0-9]+)$'_''_g > curl.txt cat karma.pid | xargs kill