-
Would this be able to query Plausible's API (from Prometheus) and gather data from years ago? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, thanks for your question! Currently, this is implemented in such a way that it requests the "latest" (daily) data from Plausible, not historic data. That's usually how you'd run such an exporter. It's supposed to be always available and polled by Prometheus periodically. Querying historic data and moving it into Prometheus seems like something you'd do as a one-off, you wouldn't need to sync that again and again, hence I'm not sure this is useful for this project. As for your second question: This works like any other Prometheus exporter. It exposes a Here are resources to get started with Prometheus: |
Beta Was this translation helpful? Give feedback.
Hi, thanks for your question! Currently, this is implemented in such a way that it requests the "latest" (daily) data from Plausible, not historic data. That's usually how you'd run such an exporter. It's supposed to be always available and polled by Prometheus periodically. Querying historic data and moving it into Prometheus seems like something you'd do as a one-off, you wouldn't need to sync that again and again, hence I'm not sure this is useful for this project.
As for your second question: This works like any other Prometheus exporter. It exposes a
/metrics
endpoint that Prometheus should query. If you run both in Docker, make sure they're in the same network. I cannot help you any…