Skip to content

notify/pagerduty: fix images#1931

Merged
simonpasquier merged 1 commit intoprometheus:masterfrom
simonpasquier:fix-pd-images
Jun 24, 2019
Merged

notify/pagerduty: fix images#1931
simonpasquier merged 1 commit intoprometheus:masterfrom
simonpasquier:fix-pd-images

Conversation

@simonpasquier
Copy link
Member

Closes #1784

For clarity, I've chosen to rename the field text to href in the configuration though it could break people (but I suspect that it isn't widely used).

Unfortunately I don't have a way to validate it. Maybe @seanhoughton, @sbueringer, @mikebryant or @adamdecaf could help (I've looked at the Git history for people that contributed to the PagerDuty code).

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
@mikebryant
Copy link
Contributor

I've verified this change using https://v2.developer.pagerduty.com/docs/send-an-event-events-api-v2, and successfully created an image link in a real alert using:

    "images": [
        {
            "src": "https://vignette.wikia.nocookie.net/reddwarf/images/5/54/Flibble.jpg/revision/latest?cb=20070516034130",
            "href": "https://google.com"
        }
    ],

@simonpasquier
Copy link
Member Author

Thanks a lot @mikebryant

@simonpasquier simonpasquier force-pushed the fix-pd-images branch 3 times, most recently from 36dcd6e to e5acd61 Compare June 20, 2019 09:04
@simonpasquier simonpasquier merged commit 02c9bb0 into prometheus:master Jun 24, 2019
@simonpasquier simonpasquier deleted the fix-pd-images branch June 24, 2019 10:19
simonpasquier added a commit to simonpasquier/docs that referenced this pull request Jun 24, 2019
See prometheus/alertmanager#1931

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
simonpasquier added a commit to simonpasquier/docs that referenced this pull request Jul 10, 2019
See prometheus/alertmanager#1931

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
brian-brazil pushed a commit to prometheus/docs that referenced this pull request Jul 30, 2019
* Update OpsGenie configuration for AM v0.18
* Fix PagerDuty image configuration

See prometheus/alertmanager#1931

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
DuskEagle pushed a commit to DuskEagle/alertmanager that referenced this pull request Aug 1, 2019
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
eightnoneone pushed a commit to eightnoneone/docs that referenced this pull request Apr 20, 2020
* Update OpsGenie configuration for AM v0.18
* Fix PagerDuty image configuration

See prometheus/alertmanager#1931

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
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.

PagerDuty support with images is broken

3 participants