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

Fix pushover limits (title, message, url) #1055

Merged

Conversation

josedonizetti
Copy link
Contributor

Couple things fixed

  • title was added as a parameter before the truncation
  • title limit was wrong, it is 250 characters
  • message limit was wrong, it is 1024 characters
  • url has a limit of 512 and was not truncated

Limits can be checked at https://pushover.net/api#limits
I've created a pushover account to do an end to end test, and truncation worked perfectly.

@stuartnelson3 stuartnelson3 merged commit 0a16b09 into prometheus:master Oct 25, 2017
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.

2 participants