Skip to content

Commit

Permalink
prometheus disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
btungut committed Aug 4, 2022
1 parent a9700af commit f8306b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 26 deletions.
2 changes: 1 addition & 1 deletion chart/conf.d/01-containers-input.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.conf.prometheus.enabled }}
<source>
@type prometheus
@id in_prometheus
Expand All @@ -6,7 +7,6 @@
metrics_path "/metrics"
</source>

{{- if .Values.conf.prometheus.enabled }}
<source>
@type prometheus_monitor
@id in_prometheus_monitor
Expand Down
29 changes: 4 additions & 25 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ conf:
- $.kubernetes.namespace_labels

prometheus:
enabled: true
enabled: false
totalRecordsByImage: true
totalRecordsByNamespace: true

Expand Down Expand Up @@ -102,30 +102,9 @@ confFiles:
01-input.conf: |
example
startupProbe:
httpGet:
path: /metrics
port: metrics
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 10

livenessProbe:
httpGet:
path: /metrics
port: metrics
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3

readinessProbe:
httpGet:
path: /metrics
port: metrics
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3
startupProbe: {}
livenessProbe: {}
readinessProbe: {}

service:
type: ClusterIP
Expand Down

0 comments on commit f8306b1

Please sign in to comment.