Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Add ability to embed graphite graphs in emails #76

Closed
wants to merge 1 commit into from

Conversation

mikedougherty
Copy link

Change

This adds a new config option to SMTP_OPTS, 'embed-images' which is a bool. When true, it will download the image content from the graphite host and embed it in the alert email. If fetching the content fails or this setting is false, the old behavior is used.

Rationale

Our organization uses GMail (apps for your domain), which attempts to fetch and cache the images from our graphite host, which is on our company intranet. This results in every graph being a broken image. Additionally, this removes the requirement that recipients be on our company VPN in order to see the graphs (exceptionally helpful on mobile devices).

Review on Reviewable

@mikedougherty
Copy link
Author

@astanway what's the best way to get some attention to a pull request? thanks in advance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant