chore: prom metrics

This commit is contained in:
sljeff 2023-02-22 17:59:52 +08:00
parent d0d42619ea
commit 80dbb7b304
4 changed files with 16 additions and 0 deletions

View File

@ -22,6 +22,10 @@ data:
reverse_proxy 127.0.0.1:3000
}
:8080 {
metrics
}
:80, :443 {
tls jeff@rss3.io {
on_demand

View File

@ -13,6 +13,10 @@ spec:
metadata:
labels:
app: xlog
annotations:
prometheus.io/path: /metrics
prometheus.io/port: "8080"
prometheus.io/scrape: "true"
spec:
enableServiceLinks: false
containers:

View File

@ -22,6 +22,10 @@ data:
reverse_proxy 127.0.0.1:3000
}
:8080 {
metrics
}
:80, :443 {
tls jeff@rss3.io {
on_demand

View File

@ -19,6 +19,10 @@ spec:
metadata:
labels:
app: xlog
annotations:
prometheus.io/path: /metrics
prometheus.io/port: "8080"
prometheus.io/scrape: "true"
spec:
enableServiceLinks: false
containers: