Centralized Logging Observability for Gateway #506
Tharsanan1
started this conversation in
General
Replies: 1 comment
-
|
Adding the Grafana stack to our distributed docker-compose setup introduces licensing concerns, as Grafana is released under the AGPL license. To avoid these issues, we will include the Fluent Bit–based stack, which is released under the Apache 2.0 license instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
This proposal outlines an approach for achieving centralized logging observability for the Gateway microservices (gateway-controller, policy-engine, router). The solution leverages the twelve-factor app methodology where all application logs are written to stdout/stderr, leaving the infrastructure layer responsible for collecting, aggregating, and storing these logs.
Current State
docker compose logs(ephemeral, not production-grade)Proposed Solution
We can achieve centralized logging observability through various approaches:
Default Implementation: Profile-Based Services
When shipping the product, we need to provide a default logging solution with minimal friction. I propose using Docker Compose profiles to make logging components optional and easily deployable.
Example: Grafana Loki Stack Approach
The following services would be added to
docker-compose.ymlwith theloggingprofile:Usage
Users can deploy the gateway with logging enabled using:
Key Benefits
Beta Was this translation helpful? Give feedback.
All reactions