weixin_39624705
weixin_39624705
2020-12-08 22:55

[prometheus] Update prometheus to 2.9.0

Signed-off-by: Graham Weldon

Testing


hab studio enter
DO_CHECK=1 build prometheus
exit

hab studio enter
./prometheus/tests/test.sh

Sample output


ok      github.com/prometheus/prometheus/cmd/prometheus 382.556s
ok      github.com/prometheus/prometheus/cmd/promtool   1.129s
ok      github.com/prometheus/prometheus/config 1.251s
ok      github.com/prometheus/prometheus/discovery      4.132s
ok      github.com/prometheus/prometheus/discovery/azure        1.105s
?       github.com/prometheus/prometheus/discovery/config       [no test files]
ok      github.com/prometheus/prometheus/discovery/consul       1.091s
ok      github.com/prometheus/prometheus/discovery/dns  1.037s
?       github.com/prometheus/prometheus/discovery/ec2  [no test files]
ok      github.com/prometheus/prometheus/discovery/file 33.192s
?       github.com/prometheus/prometheus/discovery/gce  [no test files]
ok      github.com/prometheus/prometheus/discovery/kubernetes   11.915s
ok      github.com/prometheus/prometheus/discovery/marathon     1.056s
ok      github.com/prometheus/prometheus/discovery/openstack    1.140s
ok      github.com/prometheus/prometheus/discovery/refresh      1.027s
ok      github.com/prometheus/prometheus/discovery/targetgroup  1.023s
ok      github.com/prometheus/prometheus/discovery/triton       1.079s
ok      github.com/prometheus/prometheus/discovery/zookeeper    1.051s
ok      github.com/prometheus/prometheus/documentation/examples/custom-sd/adapter       1.100s
?       github.com/prometheus/prometheus/documentation/examples/custom-sd/adapter-usage [no test files]
?       github.com/prometheus/prometheus/documentation/examples/remote_storage/example_write_adapter    [no test files]
?       github.com/prometheus/prometheus/documentation/examples/remote_storage/remote_storage_adapter   [no test files]
ok      github.com/prometheus/prometheus/documentation/examples/remote_storage/remote_storage_adapter/graphite  1.017s
ok      github.com/prometheus/prometheus/documentation/examples/remote_storage/remote_storage_adapter/influxdb  1.037s
ok      github.com/prometheus/prometheus/documentation/examples/remote_storage/remote_storage_adapter/opentsdb  1.021s
ok      github.com/prometheus/prometheus/notifier       1.272s
?       github.com/prometheus/prometheus/pkg/gate       [no test files]
ok      github.com/prometheus/prometheus/pkg/labels     1.016s
ok      github.com/prometheus/prometheus/pkg/logging    1.230s
?       github.com/prometheus/prometheus/pkg/modtimevfs [no test files]
?       github.com/prometheus/prometheus/pkg/pool       [no test files]
ok      github.com/prometheus/prometheus/pkg/relabel    1.042s
ok      github.com/prometheus/prometheus/pkg/rulefmt    1.070s
?       github.com/prometheus/prometheus/pkg/runtime    [no test files]
ok      github.com/prometheus/prometheus/pkg/textparse  1.036s
?       github.com/prometheus/prometheus/pkg/timestamp  [no test files]
?       github.com/prometheus/prometheus/pkg/value      [no test files]
?       github.com/prometheus/prometheus/prompb [no test files]
ok      github.com/prometheus/prometheus/promql 7.156s
ok      github.com/prometheus/prometheus/rules  1.669s
ok      github.com/prometheus/prometheus/scrape 6.418s
ok      github.com/prometheus/prometheus/storage        1.037s
ok      github.com/prometheus/prometheus/storage/remote 9.935s
ok      github.com/prometheus/prometheus/storage/tsdb   1.115s
ok      github.com/prometheus/prometheus/template       1.070s
ok      github.com/prometheus/prometheus/util/httputil  1.065s
ok      github.com/prometheus/prometheus/util/promlint  1.043s
ok      github.com/prometheus/prometheus/util/stats     1.073s
ok      github.com/prometheus/prometheus/util/strutil   1.027s
?       github.com/prometheus/prometheus/util/testutil  [no test files]
?       github.com/prometheus/prometheus/util/treecache [no test files]
ok      github.com/prometheus/prometheus/web    6.811s
ok      github.com/prometheus/prometheus/web/api/v1     2.050s
?       github.com/prometheus/prometheus/web/api/v2     [no test files]
?       github.com/prometheus/prometheus/web/ui [no test files]

 ✓ Command is on path
 ✓ Version matches
 ✓ Help command
 ✓ Service is running
 ✓ Listening on port 9090

5 tests, 0 failures

该提问来源于开源项目:habitat-sh/core-plans

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

4条回答

为你推荐

换一换