Skip to content

Commit c1a823a

Browse files
committed
feat(node): add opentelemetry
1 parent 0d94147 commit c1a823a

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

charts/rss3-node/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.2.14
18+
version: 0.3.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/rss3-node/templates/configmap.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ data:
3131
[]
3232
{{- end }}
3333
database:
34-
{{- toYaml .Values.database | nindent 6}}
34+
{{- toYaml .Values.database | nindent 6 }}
3535
stream:
36-
enable: false
37-
driver: kafka
38-
topic: rss3.node.feeds
39-
uri: localhost:9092
36+
{{- toYaml .Values.stream | nindent 6 }}

charts/rss3-node/templates/hub/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
metadata:
2323
annotations:
2424
checksum/configmap: {{ include "rss3-node.globalConfigCheckSum" .}}
25-
{{- with .Values.hub.podAnnotations }}
25+
{{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.hub.podAnnotations) }}
2626
{{- toYaml . | nindent 8 }}
2727
{{- end }}
2828
labels:

charts/rss3-node/values.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,3 +256,19 @@ database:
256256
driver: cockroachdb
257257
partition: true
258258
uri: postgres://root@localhost:26257/defaultdb
259+
260+
stream:
261+
enable: false
262+
driver: kafka
263+
topic: rss3.node.feeds
264+
uri: localhost:9092
265+
266+
observability:
267+
opentelemetry:
268+
metrics:
269+
enable: false
270+
endpoint: 0.0.0.0:9090
271+
traces:
272+
enable: false
273+
insecure: true
274+
endpoint: localhost:4318

0 commit comments

Comments
 (0)