Skip to content

Commit

Permalink
Add pprof support to Pro gateway
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Oct 19, 2023
1 parent 7e78478 commit 70cae03
Show file tree
Hide file tree
Showing 17 changed files with 445 additions and 412 deletions.
2 changes: 1 addition & 1 deletion chart/openfaas/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
type: application
description: OpenFaaS - Serverless Functions Made Simple
name: openfaas
version: 14.1.12
version: 14.1.13
sources:
- https://github.com/openfaas/faas
- https://github.com/openfaas/faas-netes
Expand Down
6 changes: 6 additions & 0 deletions chart/openfaas/templates/gateway-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ spec:
- name: logs_provider_url
value: "{{ .Values.gateway.logsProviderURL }}"
{{- end }}
{{- if .Values.openfaasPro }}
{{- if (or .Values.gatewayPro.pprof false) }}
- name: pprof
value: {{ .Values.gatewayPro.pprof | quote }}
{{- end }}
{{- end }}
- name: read_timeout
value: "{{ .Values.gateway.readTimeout }}"
- name: write_timeout
Expand Down
3 changes: 2 additions & 1 deletion chart/openfaas/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ functions:
failureThreshold: 3

gatewayPro:
image: ghcr.io/openfaasltd/gateway:0.4.6
image: ghcr.io/openfaasltd/gateway:0.4.8
pprof: false

gateway:
image: ghcr.io/openfaas/gateway:0.27.2
Expand Down
Binary file modified docs/cron-connector-0.6.5.tgz
Binary file not shown.
Binary file modified docs/federated-gateway-0.0.3.tgz
Binary file not shown.
842 changes: 434 additions & 408 deletions docs/index.yaml

Large diffs are not rendered by default.

Binary file modified docs/kafka-connector-0.7.5.tgz
Binary file not shown.
Binary file modified docs/mqtt-connector-0.4.7.tgz
Binary file not shown.
Binary file modified docs/nats-connector-0.3.2.tgz
Binary file not shown.
Binary file added docs/openfaas-14.1.13.tgz
Binary file not shown.
Binary file modified docs/postgres-connector-0.1.0.tgz
Binary file not shown.
Binary file modified docs/pro-builder-0.4.7.tgz
Binary file not shown.
Binary file modified docs/queue-worker-0.1.7.tgz
Binary file not shown.
Binary file modified docs/sns-connector-0.1.2.tgz
Binary file not shown.
Binary file modified docs/sqs-connector-0.2.3.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion yaml/alertmanager-dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion yaml/prometheus-dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 70cae03

Please sign in to comment.