feat(agent-unit): 特征值预警 Redis 近端窗口开关 env(FeatureValueWarningCache__*,AgentUnit 默认取单元名)

This commit is contained in:
薛佳帆 committed 2026-09-29 09:06:59 +08:00
1 parent bd0f20af0b
commit b8659270e6
1 file changed
+6
@@ -74,6 +74,12 @@ AuditMqttPublisher__BrokerUrl: "{{ .Values.audit.publisher.brokerUrl }}"
AuditMqttPublisher__Service: "{{ .Values.audit.publisher.service | default "agent" }}"
AuditMqttPublisher__InstanceId: "{{ .Values.audit.publisher.instanceId | default $name }}"
{{- end }}
{{- if .Values.featureValueWarningCache.enabled }}
FeatureValueWarningCache__Enabled: "true"
FeatureValueWarningCache__Window: "{{ .Values.featureValueWarningCache.window | default 90 }}"
FeatureValueWarningCache__ReadSize: "{{ .Values.featureValueWarningCache.readSize | default 30 }}"
FeatureValueWarningCache__AgentUnit: "{{ .Values.featureValueWarningCache.agentUnit | default $name }}"
{{- end }}
OTEL_EXPORTER_OTLP_ENDPOINT: "{{ .Values.sharedInfra.otlp.endpoint }}"
OTEL_EXPORTER_OTLP_PROTOCOL: "{{ .Values.sharedInfra.otlp.protocol }}"
OTEL_SERVICE_NAME: "{{ $name }}"