/retina

eBPF distributed networking observability tool for Kubernetes

Primary LanguageGoMIT LicenseMIT

Retina

Open in GitHub Codespaces

goreport GitHub release retina-publish license

retina-test retinash retina-publish retina-codeql-img retina-golangci-lint-img

Overview

Retina is a cloud-agnostic, open-source Kubernetes network observability platform that provides a centralized hub for monitoring application health, network health, and security. It provides actionable insights to cluster network administrators, cluster security administrators, and DevOps engineers navigating DevOps, SecOps, and compliance use cases.

Retina collects customizable telemetry, which can be exported to multiple storage options (such as Prometheus, Azure Monitor, and other vendors) and visualized in a variety of ways (like Grafana, Azure Log Analytics, and other vendors).

Features

  • eBPF-based Network Observability platform for Kubernetes workloads.
  • On-Demand and Configurable.
  • Actionable, industry-standard Prometheus metrics.
  • Streamlined Packet Captures for deep dives.
  • Cloud-agnostic, supporting multiple OS (like Linux, Windows, Azure Linux).

Why Retina?

Retina lets you investigate network issues on-demand and continuously monitor your clusters. For scenarios where Retina shines, see the intro docs here

Documentation

See retina.sh for documentation and examples.

Capabilities

Retina has two major features:

Metrics Quick Install Guide

Prerequisites: Go, Helm

  1. Clone the repo, then install Retina on your Kubernetes cluster

    make helm-install
  2. Follow steps in Using Prometheus and Grafana to set up metrics collection and visualization.

Captures Quick Start Guide

Captures via CLI

Currently, Retina CLI only supports Linux.

  • Option 1: Download from Release

    Download kubectl-retina from the latest Retina release. Feel free to move the binary to /usr/local/bin/, or add it to your PATH otherwise.

  • Option 2: Build from source

    Requirements:

    • go 1.21 or newer
    • GNU make

    Clone the Retina repo and execute:

    make install-kubectl-retina

Execute Retina:

kubectl-retina capture create --help

For further CLI documentation, see Capture with Retina CLI.

Captures via CRD

Prerequisites: Go, Helm

  1. Clone the repo, then install Retina with Capture operator support on your Kubernetes cluster

    make helm-install-with-operator
  2. Follow steps in Capture CRD for documentation of the CRD and examples for setting up Captures.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Read more about how to begin contributing here.

Office Hours and Community Meetings

We host a periodic open community meeting. Find the details here.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

License

See the LICENSE.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Contact

For bugs or feature requests, open an issue.
For security or vulnerability concerns, see SECURITY.md.
For other communication, contact the maintainers at retina@microsoft.com