Skip to content

Commit

Permalink
[batch] turn off all unintended gcp cloud ops logs and metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
jigold committed Nov 29, 2023
1 parent b08768f commit 8640281
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions batch/batch/cloud/gcp/driver/create_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,17 +240,18 @@ def scheduling() -> dict:
labels.instance_id:
static_value: $INSTANCE_ID
service:
log_level: error
pipelines:
default_pipeline:
processors: [labels]
receivers: [runlog, workerlog, jvmlog]
metrics:
processors:
metrics_filter:
type: exclude_metrics
metrics_pattern:
- agent.googleapis.com/processes/*
service:
log_level: error
pipelines:
default_pipeline:
receivers: []
EOF
sudo systemctl restart google-cloud-ops-agent
Expand Down

0 comments on commit 8640281

Please sign in to comment.