Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Commit

Permalink
feat(metrics): Feed MSS metrics into Prometheus (INTLY-1892)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidffrench committed Jun 19, 2019
1 parent a8b1a84 commit 0169e27
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions deploy/monitor/mss_service_monitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Monitor Service (Metrics)
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
monitoring-key: middleware
name: mobile-security-service
spec:
endpoints:
- path: /api/metrics
port: server
selector:
matchLabels:
app: mobilesecurityservice
2 changes: 1 addition & 1 deletion deploy/monitor/service_monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: ServiceMonitor
metadata:
labels:
monitoring-key: middleware
name: mobile-security-service
name: mobile-security-service-operator
spec:
endpoints:
- path: /metrics
Expand Down

0 comments on commit 0169e27

Please sign in to comment.