-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slackbot for allerting #149
Comments
The idea:
|
Most important alert: when there is no data since xxx hours/days/... |
to send an image without fysically writing a file to disk, this is probably a good start: |
I would use BytesIO instead of StringIO though, something like this: from io import BytesIO
import requests
image_buffer = BytesIO()
plt.save_image(..., file=image_buffer) # or whatever you do to save a plot to file
files = {'file': image_buffer.getvalue()}
r = request.post(url, files=files) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: