Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions wavefront/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ The following tables lists the configurable parameters of the Wavefront chart an
| `proxy.args` | Additional Wavefront proxy properties to be passed as command line arguments in the `--<property_name> <value>` format. Multiple properties can be specified. [See more](https://docs.wavefront.com/proxies_configuring.html) | `nil` |
| `proxy.heap` | Wavefront proxy Java heap maximum usage (java -Xmx command line option) | `nil` |
| `proxy.preprocessor.rules.yaml` | YAML configuraiton for Wavefront proxy preprocessor rules. [See more](https://docs.wavefront.com/proxies_preprocessor_rules.html) | `nil` |
| `proxy.filebeatPort` | The port number the proxy will listen on for logs Ingestion for filebeat (usually 5044) | `nil` |
| `proxy.rawLogsPort` | The port number the proxy will listen on for logs Ingestion (usually 5045) | `nil` |
| `proxy.logsingestion.logsingetsion.yaml` | YAML configuraiton for Wavefront logs ingestion rules. [See more](https://docs.wavefront.com/integrations_log_data.html) | `nil` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/logsingetsion/logsingestion/

| `rbac.create` | Create RBAC resources | `true` |
| `serviceAccount.create` | Create Wavefront service account | `true` |
| `serviceAccount.name` | Name of Wavefront service account | `nil` |
Expand Down
13 changes: 13 additions & 0 deletions wavefront/templates/proxy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ spec:
{{- if .Values.proxy.histogramDayPort }} --histogramDayListenerPorts {{ .Values.proxy.histogramDayPort }}{{- end -}}
{{- if .Values.proxy.deltaCounterPort }} --deltaCounterPorts {{ .Values.proxy.deltaCounterPort }}{{- end -}}
{{- if .Values.proxy.preprocessor }} --preprocessorConfigFile /etc/wavefront/wavefront-proxy/preprocessor/rules.yaml{{- end -}}
{{- if .Values.proxy.filebeatPort }} --filebeatPort {{ .Values.proxy.filebeatPort }}{{- end -}}
{{- if .Values.proxy.rawLogsPort }} --rawLogsPort {{ .Values.proxy.rawLogsPort }}{{- end -}}
{{- if .Values.proxy.logsingestion }} --logsingestionFile /etc/wavefront/wavefront-proxy/logsingestion.yaml{{- end -}}
{{- if .Values.proxy.heap }}
- name: JAVA_HEAP_USAGE
value: {{ .Values.proxy.heap | quote }}
Expand Down Expand Up @@ -101,6 +104,11 @@ spec:
- name: preprocessor
mountPath: /etc/wavefront/wavefront-proxy/preprocessor
{{- end }}
{{- if .Values.proxy.logsingestion }}
- name: logsingestion
mountPath: /etc/wavefront/wavefront-proxy/logsingestion.yaml
subPath: logsingestion.yaml
{{- end }}
{{- if .Values.proxy.priorityClassName }}
priorityClassName: {{ .Values.proxy.priorityClassName }}
{{- end }}
Expand All @@ -114,4 +122,9 @@ spec:
configMap:
name: {{ template "wavefront.proxy.fullname" . }}-preprocessor
{{- end }}
{{- if .Values.proxy.logsingestion }}
- name: logsingestion
configMap:
name: {{ template "wavefront.proxy.fullname" . }}-logsingestion
{{- end }}
{{- end }}
14 changes: 14 additions & 0 deletions wavefront/templates/proxy-logsIngestion-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{- if .Values.proxy.logsingestion }}
apiVersion: v1
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/name : {{ template "wavefront.fullname" . }}
helm.sh/chart: {{ template "wavefront.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
app.kubernetes.io.instance: {{ .Release.Name | quote }}
app.kubernetes.io/component: proxy
name: {{ template "wavefront.proxy.fullname" . }}-logsingestion
data:
{{ tpl (toYaml .Values.proxy.logsingestion) . | indent 2 }}
{{- end }}
10 changes: 10 additions & 0 deletions wavefront/templates/proxy-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ spec:
port: {{ .Values.proxy.deltaCounterPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.filebeatPort }}
- name: file-beat
port: {{ .Values.proxy.filebeatPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.rawLogsPort }}
- name: raw-log
port: {{ .Values.proxy.rawLogsPort }}
protocol: TCP
{{- end }}
selector:
app.kubernetes.io/name : {{ template "wavefront.fullname" .}}
app.kubernetes.io/component: proxy
Expand Down
27 changes: 27 additions & 0 deletions wavefront/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,33 @@ proxy:
# search : "[&\\$!@]"
# replace : "_"

## The port number the proxy will listen on for logs Ingestion(filebeat).
## This is usually 5044
# filebeatPort: 5044

## The port number the proxy will listen on for logs Ingestion.
## This is usually 5045
# rawLogsPort: 5045

## logs ingestion is way to parse logs and convert to metrics
## Ref: https://docs.wavefront.com/integrations_log_data.html
# logsingestion:
# logsingestion.yaml: |
# aggregationIntervalSeconds: 5
# counters:
# - pattern: ‘cpu:%{NUMBER:cpu}\tmem:%{NUMBER:mem}\tdisk:${NUMBER:disk}’
# metricName: ‘log.test.lines’
# gauges:
# - pattern: ‘cpu:%{NUMBER:cpu}\tmem:%{NUMBER:mem}\tdisk:${NUMBER:disk}’
# metricName: ‘log.test.cpu’
# valueLabel: ‘cpu’
# - pattern: ‘cpu:%{NUMBER:cpu}\tmem:%{NUMBER:mem}\tdisk:${NUMBER:disk}’
# metricName: ‘log.test.mem’
# valueLabel: ‘mem’
# - pattern: ‘cpu:%{NUMBER:cpu}\tmem:%{NUMBER:mem}\tdisk:${NUMBER:disk}’
# metricName: ‘log.test.disk’
# valueLabel: ‘disk’


## Specifies whether RBAC resources should be created
rbac:
Expand Down