add alertmanager endpoint
This commit is contained in:
@@ -355,6 +355,23 @@ homepage:
|
|||||||
widget:
|
widget:
|
||||||
type: prometheus
|
type: prometheus
|
||||||
url: http://kube-prometheus-stack-prometheus.kube-prometheus-stack:9090
|
url: http://kube-prometheus-stack-prometheus.kube-prometheus-stack:9090
|
||||||
|
- Alerting:
|
||||||
|
icon: sh-prometheus-light.webp
|
||||||
|
description: Alertmanager
|
||||||
|
href: https://alertmanager.alexlebens.net
|
||||||
|
siteMonitor: http://kube-prometheus-stack-alertmanager.kube-prometheus-stack:9093
|
||||||
|
statusStyle: dot
|
||||||
|
widget:
|
||||||
|
type: prometheusmetric
|
||||||
|
url: http://kube-prometheus-stack-prometheus.kube-prometheus-stack:9090
|
||||||
|
refreshInterval: 120s
|
||||||
|
metrics:
|
||||||
|
- label: Alerts Active
|
||||||
|
query: alertmanager_alerts{state="active"}
|
||||||
|
- label: Metric Database Size
|
||||||
|
query: prometheus_tsdb_storage_blocks_bytes
|
||||||
|
format:
|
||||||
|
type: bytes
|
||||||
- Tautulli:
|
- Tautulli:
|
||||||
icon: sh-tautulli.webp
|
icon: sh-tautulli.webp
|
||||||
description: Plex Monitoring
|
description: Plex Monitoring
|
||||||
|
@@ -26,3 +26,33 @@ spec:
|
|||||||
name: prometheus-operated
|
name: prometheus-operated
|
||||||
port: 9090
|
port: 9090
|
||||||
weight: 100
|
weight: 100
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: HTTPRoute
|
||||||
|
metadata:
|
||||||
|
name: http-route-alertmanager
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: http-route-alertmanager
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
parentRefs:
|
||||||
|
- group: gateway.networking.k8s.io
|
||||||
|
kind: Gateway
|
||||||
|
name: traefik-gateway
|
||||||
|
namespace: traefik
|
||||||
|
hostnames:
|
||||||
|
- alertmanager.alexlebens.net
|
||||||
|
rules:
|
||||||
|
- matches:
|
||||||
|
- path:
|
||||||
|
type: PathPrefix
|
||||||
|
value: /
|
||||||
|
backendRefs:
|
||||||
|
- group: ''
|
||||||
|
kind: Service
|
||||||
|
name: kube-prometheus-stack-alertmanager
|
||||||
|
port: 9093
|
||||||
|
weight: 100
|
||||||
|
@@ -102,6 +102,7 @@ blocky:
|
|||||||
|
|
||||||
;; Application Names
|
;; Application Names
|
||||||
actual IN CNAME traefik-cl01tl
|
actual IN CNAME traefik-cl01tl
|
||||||
|
alertmanager IN CNAME traefik-cl01tl
|
||||||
argo-workflows IN CNAME traefik-cl01tl
|
argo-workflows IN CNAME traefik-cl01tl
|
||||||
argocd IN CNAME traefik-cl01tl
|
argocd IN CNAME traefik-cl01tl
|
||||||
audiobookshelf IN CNAME traefik-cl01tl
|
audiobookshelf IN CNAME traefik-cl01tl
|
||||||
|
@@ -77,6 +77,7 @@ customDNS:
|
|||||||
|
|
||||||
;; Application Names
|
;; Application Names
|
||||||
actual IN CNAME traefik-cl01tl
|
actual IN CNAME traefik-cl01tl
|
||||||
|
alertmanager IN CNAME traefik-cl01tl
|
||||||
argo-workflows IN CNAME traefik-cl01tl
|
argo-workflows IN CNAME traefik-cl01tl
|
||||||
argocd IN CNAME traefik-cl01tl
|
argocd IN CNAME traefik-cl01tl
|
||||||
audiobookshelf IN CNAME traefik-cl01tl
|
audiobookshelf IN CNAME traefik-cl01tl
|
||||||
|
@@ -77,6 +77,7 @@ customDNS:
|
|||||||
|
|
||||||
;; Application Names
|
;; Application Names
|
||||||
actual IN CNAME traefik-cl01tl
|
actual IN CNAME traefik-cl01tl
|
||||||
|
alertmanager IN CNAME traefik-cl01tl
|
||||||
argo-workflows IN CNAME traefik-cl01tl
|
argo-workflows IN CNAME traefik-cl01tl
|
||||||
argocd IN CNAME traefik-cl01tl
|
argocd IN CNAME traefik-cl01tl
|
||||||
audiobookshelf IN CNAME traefik-cl01tl
|
audiobookshelf IN CNAME traefik-cl01tl
|
||||||
|
Reference in New Issue
Block a user