logo
icon

VictoriaMetrics Gateway

A lightweight gateway based on Caddy, specifically designed for the VictoriaMetrics stack (Metrics, Logs, and Traces).

PlataformaZeabur
Implementado3
EditorzeaburZeabur
Implementado3 veces
EditorzeaburZeabur
Creado2025-12-28
Servicios
service icon
Etiquetas
monitoringobservabilitygateway

This gateway is ideal for scenarios where Grafana is located in a different project or environment and needs to access data over the public internet. Directly exposing VictoriaMetrics endpoints to the internet is insecure; therefore, using this gateway (which provides HTTP Basic Authentication) is the recommended approach for secure access.

Note that you need to deploy VictoriaMetrics, VictoriaLogs, and VictoriaTraces in the same project of gateway.

Key Features

  • Enhanced Security: Protects your data with HTTP Basic Auth, ensuring only authorized Grafana instances or users can pull data.
  • Audit Logging: Built-in logging allows you to monitor access requests and maintain an audit trail.
  • Customizable: Built on Caddy, you can easily extend the template to include advanced features like IP Whitelisting or specialized routing.
  • Unified Access: Provides a single domain entry point for all three observability pillars.

Usage & Endpoints

You can access the respective services using the following URL patterns:

  • VictoriaMetrics: https://your-domain/metrics
  • VictoriaLogs: https://your-domain/logs
  • VictoriaTraces: https://your-domain/traces

Note that the gateway is protected with HTTP Basic Authentication. The default username and password are victoria and 9xjgxnOmuceAgVN4TWiFBg4WVeHhBZ2T. You can change the username and password in the Caddyfile.