Description
sentry-kubernetes is a small container that runs inside a Kubernetes cluster and sends its errors and warnings to Sentry. Kubernetes events are easy to miss and hard to read without context, so the agent reports them to Sentry, where they are shown and grouped, and Sentry notifications can then alert operators and developers. You configure it with environment variables. SENTRY_DSN and SENTRY_ENVIRONMENT set the Sentry project and environment. SENTRY_K8S_WATCH_NAMESPACES chooses which namespaces to watch, with only default watched by default and __all__ watching every namespace. SENTRY_K8S_WATCH_HISTORICAL reports events that already exist when set to 1. Connection options cover auto, in-cluster and out-of-cluster modes, a kubeconfig path, and a log level. The current agent is a Go-based rewrite, and the older Python version has its own documentation. The README marks it as beta software that may contain bugs and advises caution in production. The project is open source on GitHub under the getsentry organization.…
Highlights
- Sends Kubernetes errors and warnings to Sentry
- Choose which namespaces to watch
- Auto, in-cluster or kubeconfig connection
- Grouping and notifications through Sentry
- Beta, Go-based agent
Ratings & Reviews
No ratings yet
Be the first to rate Sentry Kubernetes.
People also visit

observability-k8s-investigation
Investigate Kubernetes workload, node, and control-plane issues
Sentry Kubernetes FAQ
What is sentry-kubernetes?
A container that runs in your cluster and reports Kubernetes events and warnings to Sentry.
Is it production ready?
The README calls it beta software that may contain bugs and says to use it at your own risk in production.
Which namespaces are watched?
Only default unless you set SENTRY_K8S_WATCH_NAMESPACES to a comma-separated list, or to __all__ to watch every namespace.
Does it report old events?
No, not by default. Set SENTRY_K8S_WATCH_HISTORICAL to 1 to report existing events too.
How is it configured?
With environment variables, starting with SENTRY_DSN for the Sentry project and SENTRY_ENVIRONMENT for the environment name.
What are the best Sentry Kubernetes alternatives?
Popular alternatives to Sentry Kubernetes include kwatch, Maintenant and Kubevious. See all Sentry Kubernetes alternatives




