project Websites / Privacy Sensitive Analytics avatar

websites/privacy-sensitive-analytics#20: Make endpoint configurable in reporting script



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Milestone: vnext
Created: 09-Sep-22 10:20



Description

The script build_report.py queries out a bunch of stats and then emails them through as a periodic update.

However, the database host to communicate with is currently hardcoded in, and there's no way to set token/org etc.

This needs to be corrected



Toggle State Changes

Activity


assigned to @btasker

verified

mentioned in commit 685c9e7434bdbf8ab8b96ea9f5749219fb72c28f

Commit: 685c9e7434bdbf8ab8b96ea9f5749219fb72c28f 
Author: B Tasker                            
                            
Date: 2022-09-09T11:23:29.000+01:00 

Message

Make database connection details configurable in reporting script (websites/privacy-sensitive-analytics#20)

+5 -1 (6 lines changed)

The following env vars can now be defined

ENV ORG ""
ENV TOKEN ""
ENV INFLUXDB_URL ""

mentioned in issue jira-projects/LAN#76