Skip to content

Commit 509ee8a

Browse files
authored
update port to be endpoint for 0.65 collector upgrade (#213)
1 parent dcd19a4 commit 509ee8a

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Config for the agent pods running as a DaemonSet, which forward data to the gateway pod
2-
{{ if .Values.openTelemetry.enabled -}}
2+
{{ if .Values.openTelemetry.enabled -}}
33
apiVersion: v1
44
kind: ConfigMap
55
metadata:
@@ -14,7 +14,7 @@ data:
1414
protocols:
1515
grpc: # port 4317
1616
http: # port 4318
17-
17+
1818
exporters:
1919
otlp:
2020
endpoint: "otel-collector:4317"
@@ -25,8 +25,8 @@ data:
2525
queue_size: 100
2626
retry_on_failure:
2727
enabled: true
28-
29-
# TODO: allow configuring processors through values
28+
29+
# TODO: allow configuring processors through values
3030
#processors:
3131
# batch:
3232
# memory_limiter:
@@ -35,22 +35,22 @@ data:
3535
# # 25% of limit up to 2G
3636
# spike_limit_mib: 100
3737
# check_interval: 5s
38-
38+
3939
extensions:
4040
health_check:
41-
port: 13133
41+
endpoint: ":13133"
4242
zpages:
4343
endpoint: "localhost:55679"
44-
44+
4545
service:
46-
extensions:
46+
extensions:
4747
- zpages
4848
- health_check
4949
pipelines:
5050
traces:
51-
receivers:
51+
receivers:
5252
- otlp
53-
exporters:
53+
exporters:
5454
- otlp
55-
55+
5656
{{- end }}

charts/sourcegraph/templates/otel-collector/otel-collector.ConfigMap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ data:
2525
2626
extensions:
2727
health_check:
28-
port: 13133
28+
endpoint: ":13133"
2929
zpages:
3030
endpoint: "localhost:55679"
31-
31+
3232
service:
3333
extensions:
3434
- health_check

0 commit comments

Comments
 (0)