envoyproxy / ratelimit

Go/gRPC service designed to enable generic rate limit scenarios from different types of applications.
Apache License 2.0
2.21k stars 430 forks source link

Bridge gostats logs to the ratelimit logging system #586

Open nacx opened 2 months ago

nacx commented 2 months ago

Related to https://github.com/envoyproxy/ratelimit/issues/321 and https://github.com/envoyproxy/ratelimit/issues/538

This PR bridges the gostats logging sink to the ratelimit logger, so that the statsd logs can be enabled/disabled according to the LOG_LEVEL env var. The addition is mostly a copy of the private gostats logging sync, using the ratelimit logger to print the log statements.

github-actions[bot] commented 3 days ago

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!