Skip to content
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

Pingdom integration #537

Closed
wants to merge 1 commit into from

Conversation

TomaszKolek
Copy link

Implementation
Unit tests
Integrations documentation

@smarx
Copy link

smarx commented Mar 15, 2016

Automated message from Dropbox CLA bot

@TomaszKolek, it looks like you've already signed the Dropbox CLA. Thanks!

@@ -1179,6 +1185,31 @@

</div>

<div id="pingdom" class="integration-instructions">

<p>Zulip supports Pingdom integration and can notify you of
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The English here could be a little cleaner, e.g. "Zulip supports integration with Pingdom". Might as well fix the similar pattenr in the Phabricator integration just above it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me is understandable but maybe is Polish-English ;-)

Changed in 3 places

@timabbott
Copy link
Sponsor Member

This looks pretty good, thanks for working on this @TomaszKolek ! I posted a bunch of small comments.

@timabbott
Copy link
Sponsor Member

Oh, looks like you posted a new version @TomaszKolek! Just FYI, you should post a comment when you do that, because GitHub (sadly) won't sent an email notification when a PR is updated, so I didn't know you had worked on this further.

@@ -8,8 +8,8 @@
import ujson


PINGDOM_SUBJECT_TEMPLATE = 'Your Pingdom {name} descries something important.'
PINGDOM_MESSAGE_TEMPLATE = 'Service {service_url} changed it\'s status from {previous_state} to {current_state}.'
PINGDOM_SUBJECT_TEMPLATE = '{name}: {type} - from {previous_state} to {current_state}.'
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the subject should be just {name} status. The reason is that it's actually a lot more useful for this sort of alerting integration if the UP=>DOWN change gets threaded with the same subject as the DOWN=>UP change.

@timabbott
Copy link
Sponsor Member

Cool, posted one comment on the subject format; you should also squash the commit together to just be a single "Add pingdom integration." commit, but otherwise this looks good to me!

@TomaszKolek
Copy link
Author

Hm... I don't know what I actually did... (Probably rebase with zulip:master)
All of commits are in master branch... So why there are in diff?

@timabbott Do you know how can I fix it? In worst case I will copy my content into separated branch

@timabbott
Copy link
Sponsor Member

You should be able to fix this with git rebase origin/master.

@TomaszKolek TomaszKolek force-pushed the pingdoms-integration branch 3 times, most recently from 828877b to 2032bbe Compare March 21, 2016 07:06
@TomaszKolek
Copy link
Author

@timabbott Thanks.
It should be ready to merge now.

@timabbott
Copy link
Sponsor Member

Oh, one more thing -- usually our integration docs have a screenshot of an example message produced by the integration to show what it looks like -- can you add one to the documentation?

@timabbott
Copy link
Sponsor Member

@TomaszKolek just wanted to follow up on this since it seems like you're nearly done...

<img class="screenshot" src="/static/images/integrations/pingdom/001.png" />

<p>Last, during creating or editing your check, scroll down to <code>Connect Integrations</code>
section and ensure your integration is checked </p>
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a period at the end of this sentence?

@TomaszKolek TomaszKolek force-pushed the pingdoms-integration branch 2 times, most recently from 60f3a9f to ac5a309 Compare April 8, 2016 17:18
@TomaszKolek
Copy link
Author

@timabbott
Sorry for a really late response - I attended in DjangoConfernce and did not have much time to do that.
Please look my last changes

@timabbott
Copy link
Sponsor Member

Merged, thanks @TomaszKolek for the contribution!

@timabbott timabbott closed this Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants