Fix unused variable in get_alerts.py
Read API key from config
Add an action to get metric data for a metric in app.