Skip to content
Compare
Choose a tag to compare

Changelog

87f0033 preparing for 2.2.0 release
c648e24 Merge pull request #39 from sensu/enhancement/pager-teams
fed1c65 lets make the config options even more consistent
055c6b9 make pager team config argument naming consistent
f0d121a add empty suffix test
e6df4ab replace prefix references with suffix
d4b5e1c add pager teams to README nav
aabc797 update the readme with pager_team functionality
6fafc32 add test for sanitizing pager team name
d474a3e sanitize pager team suffix for legal characters
0c071d7 refactor prefix back to suffix, remove shorthand arguments for pager-team arguments
df0e77e Merge branch 'main' into enhancement/pager-teams
a94266f Merge pull request #37 from sensu/maintenance/handler-updates
fbf5bdc Merge branch 'main' into enhancement/pager-teams
22de003 Implement pager_team name feature, with test
e691507 * Q1 '21 handler maintenance: * Updated modules (go get -u && go mod tidy) * Updated GitHub Actions: Added Lint action * Updated build to Go 1.14 * Output log message from sending event to PagerDuty * README updates
5d1e674 Merge pull request #35 from nixwiz/issue/readme_check_annotations
2d21c81 Updated README for using templates in check annoations
4936a96 Update to include Todd's feedback and suggestions
acfcd0c Hillary revisions
2d86428 fix workflow badge links
72d9299 change badges to html div
5ce93a2 add quick start section and reorg usage

Compare
Choose a tag to compare

Changelog

88e12e7 Rolled version 2.1.0
1ebed43 Updated go.sum following build/test
b13b3e8 Merge pull request #33 from nixwiz/feature/details_template
a6ff5c7 update CHANGELOG for SDK version change
19314ec updated SDK to v0.10.1
2f7eb64 formatting
c4bb49d updated CHANGELOG
4058188 move summary and details to their own functions and add tests
f0f4ed4 fix detailsTemplate default to still send actual JSON
25f0ed3 Updated CHANGELOG
18ff333 set token to secret
4a8281d Update to latest version of SDK
9d0e0d4 change details to be a template

170ca40
Compare
Choose a tag to compare

Updated this handler to make use of sensu go plugin SDK.
Major changes include:

  • Removed --dedup-key now that keyspace is added for annotations to set --dedup-key-template
  • Added --summaryTemplate to allow for custom summary
  • Set default of --dedup-key-template to remove hard-coded default
  • Plugin Config keyspace to support annotations

Detailed instructions on how to use the new features included in the new updated README.

Compare
Choose a tag to compare

PagerDuty API will begin enforcing 512KB size limit on events in the near future, and will refuse the event upload request. This release provides logic to truncate event details of requested event to 256KB and will attempt to send a substitute PagerDuty event with same summary as requested event, if first PagerDuty API event request returns an error.

Compare
Choose a tag to compare

04260c0 Fix .bonsai.yml for Windows
a883407 Use sensu-plugin-sdk@v0.6.0
1c7592c Replace Travis CI with Github Actions
1aa519e Replace dep with Go modules
f4d683f Truncate summary to 1024 characters. Fixes #17.