forked from mtusi2026/mtusi2026lab7
lab7: безопасность, mTLS, OpenBao и PKI lifecycle
This commit is contained in:
+16
-10
@@ -1,10 +1,8 @@
|
||||
receivers:
|
||||
otlp:
|
||||
protocols:
|
||||
grpc:
|
||||
endpoint: 0.0.0.0:4317
|
||||
http:
|
||||
endpoint: 0.0.0.0:4318
|
||||
endpoint: 127.0.0.1:14318
|
||||
|
||||
processors:
|
||||
memory_limiter:
|
||||
@@ -20,7 +18,7 @@ processors:
|
||||
exporters:
|
||||
# Pull-based: no sending_queue/retry for this exporter.
|
||||
prometheus:
|
||||
endpoint: 0.0.0.0:8889
|
||||
endpoint: 127.0.0.1:18889
|
||||
translation_strategy: UnderscoreEscapingWithSuffixes
|
||||
resource_constant_labels:
|
||||
included:
|
||||
@@ -29,7 +27,12 @@ exporters:
|
||||
- deployment.environment.name
|
||||
- service.version
|
||||
otlp_http/loki:
|
||||
endpoint: http://loki:3100/otlp
|
||||
endpoint: https://loki:3100/otlp
|
||||
tls:
|
||||
ca_file: /run/identity/current/ca.crt
|
||||
cert_file: /run/identity/current/tls.crt
|
||||
key_file: /run/identity/current/tls.key
|
||||
min_version: "1.2"
|
||||
sending_queue:
|
||||
enabled: true
|
||||
sizer: bytes
|
||||
@@ -42,9 +45,12 @@ exporters:
|
||||
max_elapsed_time: 30s
|
||||
timeout: 5s
|
||||
otlp_grpc/tempo:
|
||||
endpoint: tempo:4317
|
||||
endpoint: tempo:4437
|
||||
tls:
|
||||
insecure: true
|
||||
ca_file: /run/identity/current/ca.crt
|
||||
cert_file: /run/identity/current/tls.crt
|
||||
key_file: /run/identity/current/tls.key
|
||||
min_version: "1.2"
|
||||
sending_queue:
|
||||
enabled: true
|
||||
sizer: bytes
|
||||
@@ -59,7 +65,7 @@ exporters:
|
||||
|
||||
extensions:
|
||||
health_check:
|
||||
endpoint: 0.0.0.0:13133
|
||||
endpoint: 127.0.0.1:13133
|
||||
|
||||
service:
|
||||
extensions: [health_check]
|
||||
@@ -69,8 +75,8 @@ service:
|
||||
- pull:
|
||||
exporter:
|
||||
prometheus:
|
||||
host: 0.0.0.0
|
||||
port: 8888
|
||||
host: 127.0.0.1
|
||||
port: 18888
|
||||
pipelines:
|
||||
traces:
|
||||
receivers: [otlp]
|
||||
|
||||
Reference in New Issue
Block a user