Skip to content

Commit

Permalink
Add metrics_generator_processors config to manifest (#5397)
Browse files Browse the repository at this point in the history
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
  • Loading branch information
Warashi authored Dec 9, 2024
1 parent 38af047 commit 5cbd306
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions manifests/pipecd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ tempo:
remoteWriteUrl: http://{{ .Release.Name }}-prometheus-server/api/v1/write # we cannot use pipecd.fullname because it returns tempo's fullname

# -- Tempo configuration file contents
# modified by @pipecd, to expand template remoteWriteUrl
# modified by @pipecd to add metrics_generator_processors and remote_write
# @default -- Dynamically generated tempo configmap
config: |
memberlist:
Expand Down Expand Up @@ -301,11 +301,18 @@ tempo:
metrics_generator_processors:
- 'service-graphs'
- 'span-metrics'
metrics_generator:
storage:
path: "/tmp/tempo"
remote_write:
- url: {{ tpl .Values.tempo.metricsGenerator.remoteWriteUrl . }} # modified line is here
- 'local-blocks' # this line is added by @pipecd
metrics_generator: # this block is modified by @pipecd
traces_storage:
path: "/tmp/tempo/generator/traces"
storage:
path: "/tmp/tempo/generator/wal"
remote_write:
- url: {{ tpl .Values.tempo.metricsGenerator.remoteWriteUrl . }}
processor: # this block is added by @pipecd
local_blocks:
filter_server_spans: false
flush_to_storage: true
{{- end }}
opentelemetry-collector:
Expand Down

0 comments on commit 5cbd306

Please sign in to comment.