Add metrics endpoint with http metrics using Prometheus client lib

This commit is contained in:
Markus Muellner
2022-03-15 20:52:47 +01:00
committed by Benj Fassbind
parent 8046fb1eb9
commit 6539e1b856
12 changed files with 561 additions and 40 deletions
+6 -5
View File
@@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: true
matrix:
go: [1.15, 1.16]
go: [1.16, 1.17, 1.18]
run_long_tests: [no]
allow_failure: [false]
include:
@@ -55,6 +55,11 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.45.0
- name: Setup Python
uses: actions/setup-python@v2
with:
@@ -75,10 +80,6 @@ jobs:
run: |
make version
- name: Make prepare
run: |
make prepare
- name: Make
env:
RUN_LONG_TESTS: ${{ matrix.run_long_tests }}