Skip to content

Commit

Permalink
🐛 More log fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rblaine95 committed Feb 12, 2025
1 parent d4bbace commit 5b45c36
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 12 deletions.
11 changes: 10 additions & 1 deletion helm/acapy-cloud/conf/dev/endorser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ replicaCount: 1

podAnnotations:
sidecar.istio.io/proxyCPU: 10m
ad.datadoghq.com/endorser.logs: '[{"source": "python.uvicorn", "service": "endorser"}]'
ad.datadoghq.com/endorser.logs: >-
[{
"source": "python.uvicorn",
"service": "endorser",
"log_processing_rules": [{
"type": "exclude_at_match",
"name": "exclude_health_probes",
"pattern": "GET /health/(ready|live) HTTP/\\d\\.\\d\"\\s+200\\s+OK"
}]
}]
proxy.istio.io/config: |-
proxyMetadata:
ISTIO_META_IDLE_TIMEOUT: 0s
Expand Down
11 changes: 10 additions & 1 deletion helm/acapy-cloud/conf/dev/governance-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ replicaCount: 1

podAnnotations:
sidecar.istio.io/proxyCPU: 10m
ad.datadoghq.com/governance-web.logs: '[{"source": "python.uvicorn", "service": "governance-web"}]'
ad.datadoghq.com/governance-web.logs: >-
[{
"source": "python.uvicorn",
"service": "governance-web",
"log_processing_rules": [{
"type": "exclude_at_match",
"name": "exclude_health_probes",
"pattern": "GET /docs HTTP/\\d\\.\\d\"\\s+200\\s+OK"
}]
}]
image:
name: acapy-cloud/app
Expand Down
15 changes: 12 additions & 3 deletions helm/acapy-cloud/conf/dev/mediator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ replicaCount: 1

podAnnotations:
sidecar.istio.io/proxyCPU: 10m
ad.datadoghq.com/mediator.logs: '[{"source": "python", "service": "mediator", "auto_multi_line_detection": true}]'
ad.datadoghq.com/mediator.logs: >-
[{
"source": "python",
"service": "mediator",
"log_processing_rules": [{
"type": "exclude_at_match",
"name": "exclude_health_probes",
"pattern": "GET /status/(live|ready) HTTP/1\\.1.*\"response_status\": 200\\b"
}]
}]
image:
registry: ghcr.io/openwallet-foundation
Expand Down Expand Up @@ -165,7 +174,6 @@ secretData:
WALLET_DB_USER: mediator

env:
ACAPY_LOG_LEVEL: info
ACAPY_LABEL: Aca-Py Mediator
ACAPY_WALLET_NAME: mediator
# Mediator does not use a ledger
Expand All @@ -192,7 +200,8 @@ env:
ACAPY_EMIT_NEW_DIDCOMM_PREFIX: true
ACAPY_EMIT_NEW_DIDCOMM_MIME_TYPE: true

# ACAPY_LOG_CONFIG: /home/aries/logging_config.yaml
ACAPY_LOG_LEVEL: info
ACAPY_LOG_CONFIG: /home/aries/logging_config.yaml

podAntiAffinityPreset: soft
nodeAffinityPreset:
Expand Down
1 change: 0 additions & 1 deletion helm/acapy-cloud/conf/dev/multitenant-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ secretData:
ACAPY_ADMIN_API_KEY: adminApiKey
ACAPY_MULTITENANT_JWT_SECRET: verySecretMultitenantJwtSecret
ACAPY_GOVERNANCE_AGENT_API_KEY: adminApiKey
ACAPY_LABEL: Multitenant
ACAPY_WALLET_NAME: multitenant
ACAPY_MULTITENANCY_CONFIGURATION: '{ "wallet_type":"single-wallet-askar", "wallet_name":"multitenant" }'

Expand Down
11 changes: 10 additions & 1 deletion helm/acapy-cloud/conf/dev/multitenant-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ replicaCount: 1

podAnnotations:
sidecar.istio.io/proxyCPU: 10m
ad.datadoghq.com/multitenant-web.logs: '[{"source": "python.uvicorn", "service": "multitenant-web"}]'
ad.datadoghq.com/multitenant-web.logs: >-
[{
"source": "python.uvicorn",
"service": "multitenant-web",
"log_processing_rules": [{
"type": "exclude_at_match",
"name": "exclude_health_probes",
"pattern": "GET /docs HTTP/\\d\\.\\d\"\\s+200\\s+OK"
}]
}]
image:
name: acapy-cloud/app
Expand Down
11 changes: 10 additions & 1 deletion helm/acapy-cloud/conf/dev/public-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ replicaCount: 1

podAnnotations:
sidecar.istio.io/proxyCPU: 10m
ad.datadoghq.com/public-web.logs: '[{"source": "python.uvicorn", "service": "public-web"}]'
ad.datadoghq.com/public-web.logs: >-
[{
"source": "python.uvicorn",
"service": "public-web",
"log_processing_rules": [{
"type": "exclude_at_match",
"name": "exclude_health_probes",
"pattern": "GET /docs HTTP/\\d\\.\\d\"\\s+200\\s+OK"
}]
}]]'
image:
name: acapy-cloud/app
Expand Down
15 changes: 14 additions & 1 deletion helm/acapy-cloud/conf/dev/tenant-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,20 @@ replicaCount: 1

podAnnotations:
sidecar.istio.io/proxyCPU: 10m
ad.datadoghq.com/tenant-web.logs: '[{"source": "python.uvicorn", "service": "tenant-web"}]'
ad.datadoghq.com/tenant-web.logs: >-
[{
"source": "python.uvicorn",
"service": "tenant-web",
"log_processing_rules": [{
"type": "exclude_at_match",
"name": "exclude_health_probes",
"pattern": "GET /docs HTTP/\\d\\.\\d\"\\s+200\\s+OK"
}]
}]
proxy.istio.io/config: >-
{
"terminationDrainDuration": "35s"
}
image:
name: acapy-cloud/app
Expand Down
11 changes: 10 additions & 1 deletion helm/acapy-cloud/conf/dev/trust-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ replicaCount: 1

podAnnotations:
sidecar.istio.io/proxyCPU: 10m
ad.datadoghq.com/trust-registry.logs: '[{"source": "python.uvicorn", "service": "trust-registry"}]'
ad.datadoghq.com/trust-registry.logs: >-
[{
"source": "python.uvicorn",
"service": "trust-registry",
"log_processing_rules": [{
"type": "exclude_at_match",
"name": "exclude_health_probes",
"pattern": "GET /docs HTTP/\\d\\.\\d\"\\s+200\\s+OK"
}]
}]
podLabels:
admission.datadoghq.com/enabled: "true"

Expand Down
14 changes: 12 additions & 2 deletions helm/acapy-cloud/conf/dev/waypoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,20 @@ replicaCount: 1

podAnnotations:
sidecar.istio.io/proxyCPU: 10m
ad.datadoghq.com/waypoint.logs: '[{"source": "python.uvicorn", "service": "waypoint"}]'
proxy.istio.io/config: |-
ad.datadoghq.com/waypoint.logs: >-
[{
"source": "python.uvicorn",
"service": "waypoint",
"log_processing_rules": [{
"type": "exclude_at_match",
"name": "exclude_health_probes",
"pattern": "GET /health/(ready|live) HTTP/\\d\\.\\d\"\\s+200\\s+OK"
}]
}]
proxy.istio.io/config: >-
proxyMetadata:
ISTIO_META_IDLE_TIMEOUT: 0s
terminationDrainDuration: 35s
podLabels:
admission.datadoghq.com/enabled: "true"

Expand Down

0 comments on commit 5b45c36

Please sign in to comment.