Open pensnarik opened 1 year ago
That's probably related to https://github.com/prometheus/common/issues/381
UPD. I finally managed to build it by changing golang version from 1.13 to 1.17 and adding @latest
to go install
command for prom2json and git-chglog but now one of the tests fails:
test 9
Start 9: prom_metric_formatter_test
9: Test command: /code/prom/build/prom_metric_formatter_test
9: Test timeout computed to be: 10000000
9: /code/prom/test/prom_metric_formatter_test.c:132:test_prom_metric_formatter_load_l_value:PASS
9: /code/prom/test/prom_metric_formatter_test.c:133:test_prom_metric_formatter_load_sample:PASS
9: /code/prom/test/prom_metric_formatter_test.c:134:test_prom_metric_formatter_load_metric:PASS
9: /code/prom/test/prom_metric_formatter_test.c:112:test_prom_metric_formatter_load_metrics:FAIL: Expected Non-NULL
9:
9: -----------------------
9: 4 Tests 1 Failures 0 Ignored
9: FAIL
9/14 Test #9: prom_metric_formatter_test .......***Failed 0.00 sec
I got the following error when trying to build the library:
I'm building from master branch, commit hash = c57034d196582d99267d027abb52a05a55dc07f6. Myabe go version iw wrong or am I missed something?