Skip to content

Commit

Permalink
Add prom scraping
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Dec 11, 2023
1 parent e6246b8 commit 0f63a37
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
5 changes: 4 additions & 1 deletion manifests/oracle-cluster/prod/helium/iot-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ kind: Service
metadata:
name: iot-oracle
namespace: helium
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
spec:
ports:
- port: 8080
Expand Down Expand Up @@ -149,4 +152,4 @@ spec:
name: cpu
target:
type: Utilization
averageUtilization: 75
averageUtilization: 75
3 changes: 3 additions & 0 deletions manifests/oracle-cluster/prod/helium/mobile-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ kind: Service
metadata:
name: mobile-oracle
namespace: helium
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
spec:
ports:
- port: 8080
Expand Down
5 changes: 4 additions & 1 deletion manifests/oracle-cluster/sdlc/helium/iot-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ kind: Service
metadata:
name: iot-oracle
namespace: helium
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
spec:
ports:
- port: 8080
Expand Down Expand Up @@ -149,4 +152,4 @@ spec:
name: cpu
target:
type: Utilization
averageUtilization: 75
averageUtilization: 75
3 changes: 3 additions & 0 deletions manifests/oracle-cluster/sdlc/helium/mobile-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ kind: Service
metadata:
name: mobile-oracle
namespace: helium
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
spec:
ports:
- port: 8080
Expand Down

0 comments on commit 0f63a37

Please sign in to comment.