Skip to content

Commit

Permalink
feat(node): add opentelemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Jan 16, 2024
1 parent 0d94147 commit c1a823a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/rss3-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.14
version: 0.3.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
7 changes: 2 additions & 5 deletions charts/rss3-node/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ data:
[]
{{- end }}
database:
{{- toYaml .Values.database | nindent 6}}
{{- toYaml .Values.database | nindent 6 }}
stream:
enable: false
driver: kafka
topic: rss3.node.feeds
uri: localhost:9092
{{- toYaml .Values.stream | nindent 6 }}
2 changes: 1 addition & 1 deletion charts/rss3-node/templates/hub/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
metadata:
annotations:
checksum/configmap: {{ include "rss3-node.globalConfigCheckSum" .}}
{{- with .Values.hub.podAnnotations }}
{{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.hub.podAnnotations) }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down
16 changes: 16 additions & 0 deletions charts/rss3-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,19 @@ database:
driver: cockroachdb
partition: true
uri: postgres://root@localhost:26257/defaultdb

stream:
enable: false
driver: kafka
topic: rss3.node.feeds
uri: localhost:9092

observability:
opentelemetry:
metrics:
enable: false
endpoint: 0.0.0.0:9090
traces:
enable: false
insecure: true
endpoint: localhost:4318

0 comments on commit c1a823a

Please sign in to comment.