mozilla / blurts-server

Mozilla Monitor arms you with tools to keep your personal information safe. Find out what hackers already know about you and learn how to stay a step ahead of them.
https://monitor.mozilla.org
Mozilla Public License 2.0
731 stars 206 forks source link

Add telegraf metrics #2652

Closed jwhitlock closed 8 months ago

jwhitlock commented 2 years ago

Some metrics would be useful to emit from the monitor server and from scripts. On other S&P projects, these are captured by a local telegraf agent, forwarded to a cloud InfluxDB server, and displayed with Graphana.

Some potential metrics:

This may not be a compelling set of metrics to add this new feature. We're currently getting a lot of data from Cloudwatch and custom PostgreSQL queries, and another data source may not be worth the effort to implement it.

After a 5-minute search, this looks like a popular NodeJS metrics project:

https://github.com/brightcove/hot-shots

We'd need to coordinate with SRE to ensure telegraf is available, with required configuration in environment variables.

EMMLynch commented 8 months ago

Closing since we've redesigned the site and functionality since this was created. If you feel that this is still needed, please let me know.