.gitignore | ||
build-docker.sh | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
main.go | ||
mascot-calling.png | ||
ReadMe.md |
greenhouse-telemetry
how it works
This application is a simple HTTP reverse proxy that acts as a gateway of sorts in front of Grafana Loki.
It has a couple reasons to exist:
-
It collects metadata (mostly source IP address) and adds it to the messages that get stored in Loki
-
It reduces the publically accessible surface area of Loki to make it easier for me to secure.
-
It performs additional indexing on telemetry events that come in.
- for example, if I get a
jesse-n-james@silph.co
account_registration
event from1.2.3.4
and then later I get ainstaller_started
event from1.2.3.4
, theinstaller_started
event won't have an email address -- this app will be responsible for decorating thatinstaller_started
event with thejesse-n-james@silph.co
email address.
- for example, if I get a
rationale
During the alpha test phase, we're collecting telemetry from all of the greenhouse applications and installation scripts. I have added this functionality to assist with discovery/debugging of issues in the system.
If you wish to participate in the alpha test release phase, you cannot opt out of this telemetry; debugging/verifying the operation of the system is the whole point of the alpha test.
The telemetry data is only transmitted to / stored on my personal server. I can't prove anything, but you have my word that I will keep this data close to my chest and delete it as soon as I don't need it any more.
When greenhouse enters beta and eventual 1.0 release phases, the telemetry will be further anonymized, relaxed, or even completely removed, to minimize the amount of personally identifiable information that I have to collect as a part of the operation of the service.