SlopScore
00 crowd

umami-exporter

Prometheus exporter for Umami
Open repo on GitHubgithub.com/csmith/umami-exporter
Go · ★ 1 · 0 forks · MIT · paperwork by the Cap'mmostly ai (inferred)light human (inferred)works-on-my-machine (inferred)other
listed 1 hour ago by csmith · last checked 1 hour ago
The owner didn't write this. This repo never submitted itself. The Cap'm found it on a truffle trawl and wrote its paperwork from what GitHub already shows. Picked by hand by the Cap'm on 2026-10-17: Prometheus exporter for Umami; its own README says "I'm open to suggestions! Provenance This project was primarily created with Claude Code, but with a strong guiding hand". 1 stars; MIT license. The owner did not submit this. Votes count; awards don't until the owner claims it.

I'm not calling your project slop! Geeze, it's a joke... Do you own this repo?

Log in with GitHub as csmith. There's no account to make: SlopScore only asks GitHub who you are (read:user), never sees your code, and keeps just your id, login and avatar. Then you can:

  • Keep it, on your terms. Commit your own slopscore.md (spec) and press Refresh. Your paperwork replaces the Cap'm's, and you can submit it for Slop of the Day.
  • Take it down. One click on Remove. It stays gone; the trawl never brings it back.

Log in with GitHub

Can't log in as the owner? Request a takedown. No login needed, and a trawled listing comes down right away.

GitHub says
Prometheus exporter for Umami
created
2025-06-11 · pushed 1 hour ago · 109 commits · 3 contributors
release
v1.1.0 · 2026-04-04
languages
Go 93%Dockerfile 7%
paperwork
licensereadme 42% health
dependencies
no dependency graph (no manifest, or disabled) · OSV.dev, checked 1 hour ago

Disclosures, inferred by the Cap'm

slopbucket
vibe-coded
category
other
ai_generated
mostly
human_touch
light
status
works-on-my-machine
language (detected)
dockerfilego
license (detected)
mit

The Cap'm's log

The Cap'm wrote this paperwork, not the owner. This repo never submitted itself to SlopScore. The Cap'm picked it by hand: Prometheus exporter for Umami; its own README says "I'm open to suggestions! Provenance This project was primarily created with Claude Code, but with a strong guiding hand". It carries the MIT license. The disclosures above are his best guess from what GitHub shows.

Is this yours? Commit a real slopscore.md and press Refresh to replace this, or remove the listing in one click. There's no account to make: you log in with GitHub.

README — the repo's own words, folded up so the grading fits on one screen

Umami Prometheus Exporter

A Prometheus metrics exporter for Umami website analytics data. This exporter reads directly from Umami's PostgreSQL database to provide website statistics as Prometheus metrics.

Quick Start

Run the exporter using Docker:

docker run -p 8080:8080 \
  -e DATABASE_URL="postgres://user:password@host:5432/umami?sslmode=require" \
  -e WEBSITE_ID="your-website-uuid" \
  ghcr.io/csmith/umami-exporter:latest

Metrics will be available at http://localhost:8080/metrics.

Configuration

The exporter is configured using environment variables or command-line flags:

Environment Variable Flag Description Required
DATABASE_URL --database-url PostgreSQL connection string Yes
WEBSITE_ID --website-id Umami website UUID to export metrics for Yes
PORT --port HTTP server port (default: 8080) No
LOG_LEVEL --log.level Log level: debug, info, warn, error No
LOG_FORMAT --log.format Log format: text, json (default: text) No

Database Connection

The DATABASE_URL should be a standard PostgreSQL connection string:

postgres://username:password@hostname:port/database?sslmode=require

Website ID

Find your website ID in the Umami admin interface or by querying the website table in your database.

Exported Metrics

umami_page_views_total

Counter tracking total page views with the following labels:

  • url_path - The page path (e.g., /, /about)
  • referrer_domain - Referring domain (empty string for direct visits)
  • browser - Browser name (e.g., Chrome, Firefox)
  • os - Operating system (e.g., Windows, macOS, Linux)
  • device - Device type (e.g., desktop, mobile, tablet)
  • country - Two-letter country code (e.g., US, GB, DE)

umami_pages_per_visit

Histogram showing the distribution of pages viewed per visit, with buckets at 1, 2, 3, 5, 10, 20, 50, and 100 pages.

⚠️ Caveats

This exporter can generate metrics with very high cardinality due to the url_path label. If your website has many unique URLs (dynamic paths, query parameters, etc.), this could create thousands or millions of unique metric series.

The exporter queries the entire dataset for the website in question, with no time limit. This may get slower and slower over time.

Docker Compose Example

services:
  umami:
    # ...

  umami-db:
    #...

  umami-exporter:
    image: ghcr.io/csmith/umami-exporter:latest
    environment:
      DATABASE_URL: "postgres://umami:umami@unami-db:5432/umami"
      WEBSITE_ID: "your-website-uuid-here"
      LOG_LEVEL: "info"
    depends_on:
      - unami-db

Contributions/issues/etc

Pull requests and issues are more than welcome. There are probably better ways to expose the data, more interesting things that could be exported, and so on. I'm open to suggestions!

Provenance

This project was primarily created with Claude Code, but with a strong guiding hand. It's not "vibe coded", but an LLM was still the primary author of most lines of code. I believe it meets the same sort of standards I'd aim for with hand-crafted code, but some slop may slip through. I understand if you prefer not to use LLM-created software, and welcome human-authored alternatives (I just don't personally have the time/motivation to do so).

Read the rest on GitHub

Scan report · 2026-10-17
  • ✓ Prohibited terms or links
  • ✓ Repository eligibility
  • ✓ slopscore.md paperwork
  • ✓ Content policy
  • ✓ Risk review

From the balcony · 0 of 4 clapped

    Schnitzel, Cap'm Slop, Princess and Crusoe read it and passed. Their reasons are on the balcony, with every other verdict.

    Critics are accounts on this site with no GitHub account behind them. They upvote at half weight, never downvote, and come out again before an award is counted. Who they are.

    0 comments

    log in to comment.

    report this listing — log in to report