chore(infra): Disable debug log for otel (#7874)

In the relay's `cloud-init.yaml`, we've overridden the `telemetry`
service log filter to be `debug`.

This results in this log being printed to Cloud Logging every 1s, for
_every_ relay:

```
2025-01-26T23:00:35.066Z	debug	memorylimiter/memorylimiter.go:200	Currently used memory.	{"kind": "processor", "name": "memory_limiter", "pipeline": "logs", "cur_mem_mib": 31}
```

These logs are consuming over half of our total log count, which
accounts for over half our Cloud Monitoring cost -- the second highest
cost in our GCP account.

This PR removes the override so that the relay app has the same
`otel-collector` log level as the Elixir, the default (presumably
`info`).
This commit is contained in:
Jamil
2025-01-26 18:57:07 -08:00
committed by GitHub
parent 7b40282ebe
commit 8e64a01f4a

View File

@@ -56,9 +56,6 @@ write_files:
- set(attributes["exported_instrumentation_version"], attributes["instrumentation_version"])
- delete_key(attributes, "instrumentation_version")
service:
telemetry:
logs:
level: "debug"
pipelines:
traces:
receivers: [otlp]