Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added examples for metrics #846

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions examples/metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: connaisseur
labels:
app: connaisseur
spec:
replicas: 1
selector:
matchLabels:
app: connaisseur
template:
metadata:
labels:
app: connaisseur
annotations:
prometheus.io/scrape: "true"
spec:
containers:
- name: connaisseur
image: sse-secure-systems/connaisseur:latest
ports:
- containerPort: 8080
env:
- name: DETECTION_MODE
value: "1"
29 changes: 29 additions & 0 deletions examples/metrics_addtional_annotation_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: connaisseur
labels:
app: connaisseur
spec:
replicas: 1
selector:
matchLabels:
app: connaisseur
template:
metadata:
labels:
app: connaisseur
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
prometheus.io/path: "/metrics"
prometheus.io/scheme: "https"
spec:
containers:
- name: connaisseur
image: sse-secure-systems/connaisseur:latest
ports:
- containerPort: 8080
env:
- name: DETECTION_MODE
value: "1"