Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 6, 2025

Extends the Docker image to run Perses v0.52.0 in parallel with Grafana, accessible at /perses/ path. Both dashboards share the same InfluxDB backend.

Changes

Infrastructure

  • Install Perses binary with architecture mapping (amd64, arm64, armv6)
  • Configure Perses on port 8084 with /perses base path
  • Add supervisord service and nginx reverse proxy
  • Enable anonymous read access for public viewing

Dashboard & Data Source

  • Provision InfluxDB datasource in Perses file-based DB
  • Convert Grafana home dashboard to Perses format:
    • 6 stat panels: Total/New/Updated/Submitted/Removed Programs, Formulas
    • 2 time series: Programs Per User, Active Miners
  • Initialization script provisions datasource and dashboard on first run

Configuration Files

# perses.yaml
database:
  file:
    folder: /var/lib/perses
    extension: json
http:
  port: 8084
  base_path: /perses
security:
  enable_auth: false
# nginx.conf
location /perses/ {
   proxy_pass http://localhost:8084/perses/;
   proxy_set_header Host $host;
   # ... standard proxy headers
}

Both dashboards remain independently operational with identical metrics visibility.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/perses/perses/releases/latest
    • Triggering command: /usr/bin/curl curl -sL REDACTED (http block)
  • perses.dev
    • Triggering command: /usr/bin/curl curl -sL REDACTED *.dockerfile (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Install Perses next to Grafana</issue_title>
<issue_description>Our docker image currently provides a Grafana webpage avaialble at https://dashboard.loda-lang.org/grafana/
Extend the docker image to install and run Perses: https://perses.dev/
It should run in parallel to Grafana and be accessible at https://dashboard.loda-lang.org/perses/
Add the InfluxDB data source and comvert the existing home dashboard.
</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 5 commits December 6, 2025 16:00
Co-authored-by: ckrause <840744+ckrause@users.noreply.github.com>
Co-authored-by: ckrause <840744+ckrause@users.noreply.github.com>
Co-authored-by: ckrause <840744+ckrause@users.noreply.github.com>
Co-authored-by: ckrause <840744+ckrause@users.noreply.github.com>
Co-authored-by: ckrause <840744+ckrause@users.noreply.github.com>
Copilot AI changed the title [WIP] Install Perses alongside Grafana in Docker image Install Perses alongside Grafana for observability dashboards Dec 6, 2025
Copilot AI requested a review from ckrause December 6, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install Perses next to Grafana

2 participants