Skip to content

Commit

Permalink
Update charts/opentelemetry-ebpf/values.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
  • Loading branch information
nicolastakashi and dmitryax committed Nov 20, 2023
1 parent 7d849dd commit 3fcc9af
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions charts/opentelemetry-ebpf/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ sources:
maintainers:
- name: dmitryax
- name: TylerHelmuth
- name: nicolastakashi
icon: https://opentelemetry.io/img/logos/opentelemetry-logo-nav.png
appVersion: v0.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ spec:
- name: "EBPF_NET_CRASH_METRIC_HOST"
value: {{ .Values.endpoint.address }}
- name: "EBPF_NET_CRASH_METRIC_PORT"
value: {{ .Values.endpoint.port | default 4317 }}
value: {{ .Values.endpoint.port }}
{{- end }}
{{- if .Values.k8sCollector.relay.env }}
{{ toYaml .Values.k8sCollector.relay.env | indent 10 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ spec:
- name: "EBPF_NET_CRASH_METRIC_HOST"
value: {{ .Values.endpoint.address }}
- name: "EBPF_NET_CRASH_METRIC_PORT"
value: {{ .Values.endpoint.port | default 4317 }}
value: {{ .Values.endpoint.port }}
{{- end }}
{{- if .Values.kernelCollector.env }}
{{ toYaml .Values.kernelCollector.env | indent 12 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/opentelemetry-ebpf/templates/reducer-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
- --disable-prometheus-metrics
- --enable-otlp-grpc-metrics
- --otlp-grpc-metrics-host={{ .Values.endpoint.address }}
- --otlp-grpc-metrics-port={{ .Values.endpoint.port | default 4317 }}
- --otlp-grpc-metrics-port={{ .Values.endpoint.port }}
{{- if .Values.reducer.disableMetrics }}
- --disable-metrics={{join "," .Values.reducer.disableMetrics}}
{{- end }}
Expand Down Expand Up @@ -72,7 +72,7 @@ spec:
- name: "EBPF_NET_CRASH_METRIC_HOST"
value: {{ .Values.endpoint.address }}
- name: "EBPF_NET_CRASH_METRIC_PORT"
value: {{ .Values.endpoint.port | default 4317 }}
value: {{ .Values.endpoint.port }}
{{- end }}
{{- end }}
ports:
Expand Down
2 changes: 1 addition & 1 deletion charts/opentelemetry-ebpf/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"type": "string"
},
"port": {
"type": "string"
"type": "integer"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion charts/opentelemetry-ebpf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resources: {}
# OTLP gRPC endpoint to send the collected metrics
endpoint:
address: ""
port: ""
port: 4317

log:
console: false
Expand Down

0 comments on commit 3fcc9af

Please sign in to comment.