3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 13:03:21 +00:00

Local exporter is enabled by default for sidekiq

This commit is contained in:
Tim Campbell 2025-02-04 13:55:01 +01:00
parent 42d0c93ea9
commit 97b61a4bd2
2 changed files with 3 additions and 10 deletions

View File

@ -213,17 +213,15 @@ spec:
value: {{ $context.Values.mastodon.metrics.prometheus.host }} value: {{ $context.Values.mastodon.metrics.prometheus.host }}
- name: PROMETHEUS_EXPORTER_PORT - name: PROMETHEUS_EXPORTER_PORT
value: "{{ $context.Values.mastodon.metrics.prometheus.port }}" value: "{{ $context.Values.mastodon.metrics.prometheus.port }}"
{{- if $context.Values.mastodon.metrics.prometheus.sidekiq.detailed }}
- name: MASTODON_PROMETHEUS_EXPORTER_SIDEKIQ_DETAILED_METRICS
value: "true"
{{- end }}
{{- if $context.Values.mastodon.metrics.prometheus.sidekiq.local.enabled }}
- name: MASTODON_PROMETHEUS_EXPORTER_LOCAL - name: MASTODON_PROMETHEUS_EXPORTER_LOCAL
value: "true" value: "true"
- name: MASTODON_PROMETHEUS_EXPORTER_HOST - name: MASTODON_PROMETHEUS_EXPORTER_HOST
value: {{ $context.Values.mastodon.metrics.prometheus.sidekiq.local.host }} value: {{ $context.Values.mastodon.metrics.prometheus.sidekiq.local.host }}
- name: MASTODON_PROMETHEUS_EXPORTER_PORT - name: MASTODON_PROMETHEUS_EXPORTER_PORT
value: "{{ $context.Values.mastodon.metrics.prometheus.sidekiq.local.port }}" value: "{{ $context.Values.mastodon.metrics.prometheus.sidekiq.local.port }}"
{{- if $context.Values.mastodon.metrics.prometheus.sidekiq.detailed }}
- name: MASTODON_PROMETHEUS_EXPORTER_SIDEKIQ_DETAILED_METRICS
value: "true"
{{- end }} {{- end }}
{{- end }} {{- end }}
volumeMounts: volumeMounts:

View File

@ -449,11 +449,6 @@ mastodon:
sidekiq: sidekiq:
# Collect per-job metrics for every job # Collect per-job metrics for every job
detailed: false detailed: false
# Use a local in-process exporter instead
local:
enabled: true
host: localhost
port: 9394
# Open Telemetry configuration for all deployments. Component-specific # Open Telemetry configuration for all deployments. Component-specific
# configuration will override these values. # configuration will override these values.