mirror of
https://github.com/mastodon/chart
synced 2025-05-17 20:43:21 +00:00
Local exporter is enabled by default for sidekiq
This commit is contained in:
parent
42d0c93ea9
commit
97b61a4bd2
|
@ -213,17 +213,15 @@ spec:
|
|||
value: {{ $context.Values.mastodon.metrics.prometheus.host }}
|
||||
- name: PROMETHEUS_EXPORTER_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
|
||||
value: "true"
|
||||
- name: MASTODON_PROMETHEUS_EXPORTER_HOST
|
||||
value: {{ $context.Values.mastodon.metrics.prometheus.sidekiq.local.host }}
|
||||
- name: MASTODON_PROMETHEUS_EXPORTER_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 }}
|
||||
volumeMounts:
|
||||
|
|
|
@ -449,11 +449,6 @@ mastodon:
|
|||
sidekiq:
|
||||
# Collect per-job metrics for every job
|
||||
detailed: false
|
||||
# Use a local in-process exporter instead
|
||||
local:
|
||||
enabled: true
|
||||
host: localhost
|
||||
port: 9394
|
||||
|
||||
# Open Telemetry configuration for all deployments. Component-specific
|
||||
# configuration will override these values.
|
||||
|
|
Loading…
Reference in New Issue
Block a user