forked from mtusi2026/mtusi2026lab7
Защита стенда и управление секретами через OpenBao
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
extensions:
|
||||
health_check:
|
||||
endpoint: 0.0.0.0:13133
|
||||
|
||||
receivers:
|
||||
otlp:
|
||||
protocols:
|
||||
grpc:
|
||||
endpoint: 0.0.0.0:4317
|
||||
http:
|
||||
endpoint: 0.0.0.0:4318
|
||||
tls:
|
||||
cert_file: /run/pki/otel-collector/tls.crt
|
||||
key_file: /run/pki/otel-collector/tls.key
|
||||
client_ca_file: /run/pki/workload-client-ca/ca.crt
|
||||
min_version: "1.2"
|
||||
|
||||
processors:
|
||||
memory_limiter:
|
||||
check_interval: 1s
|
||||
limit_mib: 384
|
||||
spike_limit_mib: 96
|
||||
attributes/redact:
|
||||
actions:
|
||||
- key: http.request.header.authorization
|
||||
action: delete
|
||||
- key: http.request.body
|
||||
action: delete
|
||||
- key: http.response.body
|
||||
action: delete
|
||||
- key: messaging.message.body
|
||||
action: delete
|
||||
- key: db.statement.parameters
|
||||
action: delete
|
||||
- key: url.query
|
||||
action: delete
|
||||
batch:
|
||||
send_batch_size: 512
|
||||
timeout: 5s
|
||||
|
||||
exporters:
|
||||
prometheus:
|
||||
endpoint: 0.0.0.0:8889
|
||||
tls:
|
||||
cert_file: /run/pki/otel-collector/tls.crt
|
||||
key_file: /run/pki/otel-collector/tls.key
|
||||
client_ca_file: /run/pki/telemetry-client-ca/ca.crt
|
||||
send_timestamps: true
|
||||
resource_constant_labels:
|
||||
included: ["service.*", "deployment.environment.name"]
|
||||
otlp_http/tempo:
|
||||
endpoint: https://tempo:4318
|
||||
tls:
|
||||
ca_file: /run/pki/service-ca/ca.crt
|
||||
cert_file: /run/pki/collector-client/tls.crt
|
||||
key_file: /run/pki/collector-client/tls.key
|
||||
sending_queue:
|
||||
enabled: true
|
||||
queue_size: 2048
|
||||
retry_on_failure:
|
||||
enabled: true
|
||||
initial_interval: 1s
|
||||
max_interval: 10s
|
||||
max_elapsed_time: 60s
|
||||
otlp_http/loki:
|
||||
endpoint: https://loki:3100/otlp
|
||||
tls:
|
||||
ca_file: /run/pki/service-ca/ca.crt
|
||||
cert_file: /run/pki/collector-client/tls.crt
|
||||
key_file: /run/pki/collector-client/tls.key
|
||||
sending_queue:
|
||||
enabled: true
|
||||
queue_size: 2048
|
||||
retry_on_failure:
|
||||
enabled: true
|
||||
initial_interval: 1s
|
||||
max_interval: 10s
|
||||
max_elapsed_time: 60s
|
||||
|
||||
service:
|
||||
extensions: [health_check]
|
||||
telemetry:
|
||||
metrics:
|
||||
readers:
|
||||
- pull:
|
||||
exporter:
|
||||
prometheus:
|
||||
host: 0.0.0.0
|
||||
port: 8888
|
||||
without_type_suffix: false
|
||||
without_units: false
|
||||
pipelines:
|
||||
traces:
|
||||
receivers: [otlp]
|
||||
processors: [memory_limiter, attributes/redact, batch]
|
||||
exporters: [otlp_http/tempo]
|
||||
metrics:
|
||||
receivers: [otlp]
|
||||
processors: [memory_limiter, attributes/redact, batch]
|
||||
exporters: [prometheus]
|
||||
logs:
|
||||
receivers: [otlp]
|
||||
processors: [memory_limiter, attributes/redact, batch]
|
||||
exporters: [otlp_http/loki]
|
||||
Reference in New Issue
Block a user