client_golang/generate-go-collector.bash

8 lines
161 B
Bash
Raw Permalink Normal View History

#!/bin/env bash
set -e
go get github.com/hashicorp/go-version@v1.6.0
go run prometheus/gen_go_collector_metrics_set.go
mv -f go_collector_metrics_* prometheus