feat(monitoring): add Victoria Metrics cluster for ingesting Home Assistant metrics
This commit is contained in:
parent
a90c29e276
commit
99f90e1544
7 changed files with 112 additions and 0 deletions
24
apps/monitoring/base/vmuser-homeassistant.yaml
Normal file
24
apps/monitoring/base/vmuser-homeassistant.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMUser
|
||||
metadata:
|
||||
name: metrics-user-home-assistant
|
||||
spec:
|
||||
name: ha-metrics
|
||||
username: ha-metrics
|
||||
generatePassword: true
|
||||
targetRefs:
|
||||
# vmui + vmselect
|
||||
- crd:
|
||||
kind: VMCluster/vmselect
|
||||
name: metrics
|
||||
namespace: monitoring-system
|
||||
target_path_suffix: "/select/0"
|
||||
paths:
|
||||
- "/vmui"
|
||||
- "/vmui/.*"
|
||||
- "/prometheus/api/v1/query"
|
||||
- "/prometheus/api/v1/query_range"
|
||||
- "/prometheus/api/v1/series"
|
||||
- "/prometheus/api/v1/status/.*"
|
||||
- "/prometheus/api/v1/label/"
|
||||
- "/prometheus/api/v1/label/[^/]+/values"
|
||||
Loading…
Add table
Add a link
Reference in a new issue