Skip to content

Mirror-based acceleration for server installl #89

Description

@tardis-key

Motivation

Users behind restrictive firewalls or without a reliable proxy may have difficulty downloading Prometheus, Tempo, and Grafana binaries during rl-insight server install. We explored several mirror-based acceleration strategies to mitigate this. However, since we were unable to find a suitable Grafana mirror, this approach has not been formally adopted and is documented here for reference only.

Configuration Hook

The installer already support a download_url_template field per service in the config file (although it's not provided in config). Users can override the default download location by setting a custom template. Templates support three variables:

  • {version} — bare version number (e.g. 2.54.1)
  • {os} — always linux
  • {arch}amd64 or arm64

Prometheus — Works

Via gh-proxy

prometheus:
  download_url_template: "https://gh-proxy.com/https://github.com/prometheus/prometheus/releases/download/v{version}/prometheus-{version}.{os}-{arch}.tar.gz"

Via TUNA mirror (Tsinghua University)

prometheus:
  download_url_template: "https://mirrors.tuna.tsinghua.edu.cn/github-release/prometheus/prometheus/{version}/prometheus-{version}.{os}-{arch}.tar.gz"

Tempo — Works

Via gh-proxy

tempo:
  download_url_template: "https://gh-proxy.com/https://github.com/grafana/tempo/releases/download/v{version}/tempo_{version}_{os}_{arch}.tar.gz"

Grafana — Blocked

Grafana binaries are distributed via dl.grafana.com, which is not covered by GitHub-based proxies. Most public mirrors (e.g. TUNA) only carry Grafana .deb packages rather than standalone release tarballs, which makes them incompatible with the installer's current archive-based workflow.

Workaround: users can fall back to Approach 3 (manual/pre-downloaded installation) from the server installation docs to handle Grafana separately.

ARM Binaries (Personal Link)

Pre-built binaries for all three services on ARM architectures (Apple Silicon, Raspberry Pi, Kunpeng, etc.) are temporarily available at:

📦 ARM packages — Prometheus + Tempo + Grafana

⚠️ This is a personal link that may be unstable or expire. Use at your own discretion.

Call for Help

If you know of a reliable mirror for Grafana release tarballs, or need binaries for other architectures, please leave a comment below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions