Disable the Prometheus feature by default

It remains enabled in the Docker image, but this avoids having to have
protoc installed to build the binary
This commit is contained in:
Quentin Gliech
2022-11-18 23:49:42 +01:00
parent 4420c21333
commit 412bb92bf8
2 changed files with 1 additions and 10 deletions

View File

@@ -186,9 +186,6 @@ jobs:
rustup default 1.65.0
rustup component add clippy
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Setup OPA
uses: open-policy-agent/setup-opa@v2.0.1
with:
@@ -246,9 +243,6 @@ jobs:
rustup toolchain install ${{ matrix.toolchain }}
rustup default ${{ matrix.toolchain }}
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Setup OPA
uses: open-policy-agent/setup-opa@v2.0.1
with:
@@ -311,9 +305,6 @@ jobs:
rustup default stable
rustup component add llvm-tools-preview
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Setup OPA
uses: open-policy-agent/setup-opa@v2.0.1
with:

View File

@@ -57,7 +57,7 @@ mas-templates = { path = "../templates" }
indoc = "1.0.7"
[features]
default = ["jaeger", "zipkin", "prometheus", "webpki-roots", "policy-cache"]
default = ["jaeger", "zipkin", "webpki-roots", "policy-cache"]
# Features used in the Docker image
docker = ["otlp", "jaeger", "zipkin", "prometheus", "native-roots", "mas-config/docker"]