-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: simplify otel config, 1val setup, fix pod dns, retries #10344
Changes from 23 commits
b418f24
19bf367
be93a1e
e55f705
19923b2
b1f5fcd
432d9b8
978a0b6
7e2ec05
556590a
0449974
1538531
2059d4b
c8684e4
e0263a9
e7bf831
550ce53
6be0148
576ac0f
2367cbf
398ccee
d8044f4
b88c328
d1fb96e
1ec3679
f0b774b
2d4dcd4
1bd2ba1
0614f4a
e3ddd72
54fc32e
e2d6be4
292e351
8a8d600
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,30 +68,6 @@ http://{{ include "aztec-network.fullname" . }}-validator.{{ .Release.Namespace | |
http://{{ include "aztec-network.fullname" . }}-metrics.{{ .Release.Namespace }} | ||
{{- end -}} | ||
|
||
{{- define "aztec-network.otelCollectorMetricsEndpoint" -}} | ||
{{- if .Values.telemetry.enabled -}} | ||
{{- if .Values.telemetry.otelCollectorEndpoint -}} | ||
{{- .Values.telemetry.otelCollectorEndpoint -}}/v1/metrics | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "aztec-network.otelCollectorTracesEndpoint" -}} | ||
{{- if .Values.telemetry.enabled -}} | ||
{{- if .Values.telemetry.otelCollectorEndpoint -}} | ||
{{- .Values.telemetry.otelCollectorEndpoint -}}/v1/traces | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "aztec-network.otelCollectorLogsEndpoint" -}} | ||
{{- if .Values.telemetry.enabled -}} | ||
{{- if .Values.telemetry.otelCollectorEndpoint -}} | ||
{{- .Values.telemetry.otelCollectorEndpoint -}}/v1/logs | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "helpers.flag" -}} | ||
{{- $name := index . 0 -}} | ||
{{- $value := index . 1 -}} | ||
|
@@ -153,6 +129,8 @@ Service Address Setup Container | |
value: "{{ .Values.network.public }}" | ||
- name: NAMESPACE | ||
value: {{ .Release.Namespace }} | ||
- name: OTEL_COLLECTOR_ENDPOINT | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Otel collector port is not provided here although it is available for use in the script above? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess we want to keep it as the default There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah I wanted to make it available potentially in future but it is a bit misleading. You can change the port by changing the full URL but no real reason to change ports imo |
||
value: "{{ .Values.telemetry.otelCollectorEndpoint }}" | ||
- name: EXTERNAL_ETHEREUM_HOST | ||
value: "{{ .Values.ethereum.externalHost }}" | ||
- name: ETHEREUM_PORT | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this gets set every time regardless of
{{ Values.telemetry.enabled }}
flag. Not abig deal.