Giter VIP home page Giter VIP logo

Comments (3)

riesinger avatar riesinger commented on July 17, 2024

Hi, first of all, thank you for the bug report. To be completely honest, I forgot to update plausible for a long time. I'll see if I can reproduce this and if so, I'll obviously fix it 🙂

from plausible-exporter.

riesinger avatar riesinger commented on July 17, 2024

Okay, I just updated my Plausible (which was long overdue) and so far I cannot reproduce your issue. I also had a look at the API docs and it doesn't seem like the API changed in an incompatible way. I assume you don't see any error logs from the exporter when you specify the correct site ID?

Could you sign in to your host, expose the exporter via a port binding like so:

    plausibleexporter:
        image: ghcr.io/riesinger/plausible-exporter:latest
        container_name: plausibleexporter
        restart: unless-stopped
        hostname: plausibleexporter
        depends_on:
            - traefik
        environment:
            - PLAUSIBLE_HOST=https://data.sauna.re
            - PLAUSIBLE_SITE_IDS=fabio.sauna.re
            - PLAUSIBLE_TOKEN=redacted
        networks:
            - monitoring
        ports:
            - 127.0.0.1:8080:8080
        labels:
            - traefik.enable=true
            - traefik.http.routers.plausibleexporter.entrypoints=https
            - traefik.http.routers.plausibleexporter.rule=Host(`plausibleexporter.example.com`)
            - traefik.http.routers.plausibleexporter.tls.certresolver=ssl
            - traefik.http.routers.plausibleexporter.service=plausibleexporter
            - traefik.http.services.plausibleexporter.loadbalancer.server.port=8080
            - com.centurylinklabs.watchtower.enable=true

And then try fetching the metrics via curl http://127.0.0.1:8080/metrics? I'm honestly just spitballing, but I'd love to eliminate traefik from the equation, just in case.

from plausible-exporter.

riesinger avatar riesinger commented on July 17, 2024

Im closing this issue because there's no further feedback and I cannot reproduce it. Feel free to re-open if you can give me some more input 🙂

from plausible-exporter.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.