add source code and readme
This commit is contained in:
20
manifests/applications/piefed/monitoring.yaml
Normal file
20
manifests/applications/piefed/monitoring.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: piefed-web-monitor
|
||||
namespace: piefed-application
|
||||
labels:
|
||||
app.kubernetes.io/name: piefed
|
||||
app.kubernetes.io/component: monitoring
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: piefed
|
||||
app.kubernetes.io/component: web
|
||||
endpoints:
|
||||
- port: http
|
||||
interval: 30s
|
||||
path: /metrics
|
||||
scheme: http
|
||||
scrapeTimeout: 10s
|
||||
Reference in New Issue
Block a user