mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-03 01:00:54 +02:00
influxdb tweaks
This commit is contained in:
@@ -17,6 +17,9 @@ spec:
|
|||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
interval: 5m
|
interval: 5m
|
||||||
values:
|
values:
|
||||||
|
image:
|
||||||
|
repository: "influxdb"
|
||||||
|
tag: "2.0.4"
|
||||||
service:
|
service:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
externalIPs:
|
externalIPs:
|
||||||
@@ -32,29 +35,21 @@ spec:
|
|||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
startupProbe:
|
startupProbe:
|
||||||
enabled: true
|
enabled: true
|
||||||
failureThreshold: 6
|
failureThreshold: 10
|
||||||
periodSeconds: 5
|
periodSeconds: 10
|
||||||
config:
|
config:
|
||||||
http:
|
|
||||||
flux-enabled: true
|
|
||||||
opentsdb:
|
opentsdb:
|
||||||
enabled: true
|
enabled: true
|
||||||
graphite:
|
graphite:
|
||||||
enabled: true
|
enabled: true
|
||||||
database: "graphite"
|
database: graphite
|
||||||
#retention-policy: ""
|
retention-policy: ""
|
||||||
bind-address: ":2003"
|
bind-address: ":2003"
|
||||||
protocol: "tcp"
|
protocol: tcp
|
||||||
consistency-level: "one"
|
consistency-lvel: one
|
||||||
tls: true
|
templates:
|
||||||
initScripts:
|
- "*.app env.service.resource.measurement"
|
||||||
enabled: true
|
- "servers.* .host.resource.measurement.field*"
|
||||||
scripts:
|
|
||||||
init.iql: |-
|
|
||||||
CREATE DATABASE "opnsense" WITH DURATION 90d;
|
|
||||||
CREATE DATABASE "rpi-os" WITH DURATION 90d;
|
|
||||||
CREATE DATABASE "graphite" WITH DURATION 90d;
|
|
||||||
CREATE DATABASE "home_assistant" WITH DURATION 90d;
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
|
@@ -107,7 +107,9 @@ spec:
|
|||||||
- pr0ps-trackmap-panel
|
- pr0ps-trackmap-panel
|
||||||
- grafana-piechart-panel
|
- grafana-piechart-panel
|
||||||
- vonage-status-panel
|
- vonage-status-panel
|
||||||
- https://github.com/panodata/grafana-map-panel/releases/download/0.9.0/grafana-map-panel-0.9.0.zip;grafana-worldmap-panel-ng
|
#- https://github.com/panodata/grafana-map-panel/releases/download/0.9.0/grafana-map-panel-0.9.0.zip;grafana-worldmap-panel-ng
|
||||||
|
- grafana-worldmap-panel
|
||||||
|
- grafana-clock-panel
|
||||||
dashboardProviders:
|
dashboardProviders:
|
||||||
dashboardproviders.yaml:
|
dashboardproviders.yaml:
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
@@ -133,30 +135,26 @@ spec:
|
|||||||
access: proxy
|
access: proxy
|
||||||
url: http://thanos-query-http:10902/
|
url: http://thanos-query-http:10902/
|
||||||
isDefault: true
|
isDefault: true
|
||||||
- name: loki
|
|
||||||
type: loki
|
|
||||||
access: proxy
|
|
||||||
url: http://loki:3100/
|
|
||||||
- name: influxdb-opnsense
|
- name: influxdb-opnsense
|
||||||
type: influxdb
|
type: influxdb
|
||||||
acces: server
|
acces: proxy
|
||||||
url: http://influxdb:8086/
|
url: http://influxdb:8086/
|
||||||
database: opnsense
|
database: opnsense
|
||||||
user: opnsense
|
user: opnsense
|
||||||
- name: influxdb-rpi-os
|
- name: influxdb-rpi-os
|
||||||
type: influxdb
|
type: influxdb
|
||||||
acces: server
|
acces: proxy
|
||||||
url: http://influxdb:8086/
|
url: http://influxdb:8086/
|
||||||
database: rpi-os
|
database: rpi-os
|
||||||
user: rpi-os
|
user: rpi-os
|
||||||
- name: influxdb-graphite
|
- name: influxdb-graphite
|
||||||
type: influxdb
|
type: influxdb
|
||||||
database: graphite
|
database: graphite
|
||||||
acces: server
|
acces: proxy
|
||||||
url: http://influxdb:8086/
|
url: http://influxdb:8086/
|
||||||
- name: influxdb-home_assistant
|
- name: influxdb-home_assistant
|
||||||
type: influxdb
|
type: influxdb
|
||||||
acces: server
|
acces: proxy
|
||||||
url: http://influxdb:8086/
|
url: http://influxdb:8086/
|
||||||
database: home_assistant
|
database: home_assistant
|
||||||
grafana.ini:
|
grafana.ini:
|
||||||
|
Reference in New Issue
Block a user