Skip to content

Commit

Permalink
feat(node): allow custom otel config (#52)
Browse files Browse the repository at this point in the history
Signed-off-by: Smuu <[email protected]>
  • Loading branch information
smuu committed Sep 30, 2024
1 parent 5eeda79 commit 1126cb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/celestia-node/templates/configmap-otel-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ metadata:
app.kubernetes.io/component: otel-agent
data:
config.yaml: |
{{- if .Values.node.otelAgent.customConfig }}
{{ .Values.node.otelAgent.customConfig | indent 4 }}
{{- else }}
{{ toYaml .Values.node.otelAgent.config | indent 4 }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/celestia-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,8 @@ node:
level: basic
logs:
level: INFO
# -- custom config for the otel agent (This will override the default config from above)
customConfig: {}
## @param node.replicaCount Number of node replicas to deploy
##
# -- number of node replicas to deploy, 1 by default
Expand Down

0 comments on commit 1126cb5

Please sign in to comment.