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

[Actions] There's no way to attach additional info to the PagerDuty incident #76910

Open
gmmorris opened this issue Sep 8, 2020 · 5 comments
Labels
estimate:medium Medium Estimated Level of Effort Feature:Actions/ConnectorTypes Issues related to specific Connector Types on the Actions Framework Feature:Actions NeededFor:Infra Elastic Infra team Project:MoreConnectors Alerting team project for integrating with more external services. R&D Research and development ticket (not meant to produce code, but to make a decision) Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@gmmorris
Copy link
Contributor

gmmorris commented Sep 8, 2020

There is no way to include extra information links to documentation for troubleshooting the down service or links to other places like our Inventory in the Pager Duty Action.

Identified as part of Infra's POC.

@mikecote mikecote added R&D Research and development ticket (not meant to produce code, but to make a decision) Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Sep 9, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@pmuellr
Copy link
Member

pmuellr commented Sep 15, 2020

For reference, the params we currently support for the PagerDuty action are here:

const ParamsSchema = schema.object(
{
eventAction: schema.maybe(EventActionSchema),
dedupKey: schema.maybe(schema.string({ maxLength: 255 })),
summary: schema.maybe(schema.string({ maxLength: 1024 })),
source: schema.maybe(schema.string()),
severity: schema.maybe(PayloadSeveritySchema),
timestamp: schema.maybe(schema.string()),
component: schema.maybe(schema.string()),
group: schema.maybe(schema.string()),
class: schema.maybe(schema.string()),
},

The full list of params that can be used with the PagerDuty events v2 API is here: https://developer.pagerduty.com/docs/events-api-v2/trigger-events/

Looks like we're missing payload.custom_details, images, and links.

Images will be hard - there's at least one other issue up regarding these (I think with an investigation into how it would work with Slack).

Links will be nice once we can construct a link back to the alert in Kibana (again, separate issue open for that), and we can then just provide that link "for free".

custom_details sounds like it's going to be one of these problematic params since it's presumably an object type, and we can't "partially" update these, need to do a full update (like webhook headers). Alternatively, we could store these internally as nested array of {key: string, value: string} to avoid the partial update issue.

@gmmorris gmmorris added NeededFor:Infra Elastic Infra team Project:MoreConnectors Alerting team project for integrating with more external services. Feature:Actions/ConnectorTypes Issues related to specific Connector Types on the Actions Framework labels Jun 30, 2021
@gmmorris gmmorris added the loe:large Large Level of Effort label Jul 14, 2021
@gmmorris gmmorris added the estimate:medium Medium Estimated Level of Effort label Aug 18, 2021
@gmmorris gmmorris removed the loe:large Large Level of Effort label Sep 2, 2021
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
@govindrai
Copy link

Any updates on this? Right now the integration becomes pretty barebones because you have to manually link back to kibana and you can't send any real detail as you're limited to 1024 characters. Plus the summary field becomes the title field which makes every alert appear super verbose since we have to stuff everything into that field.

@ymao1
Copy link
Contributor

ymao1 commented Dec 8, 2022

cc @shanisagiv1

@cnasikas
Copy link
Member

cnasikas commented Nov 9, 2023

PR #170459 added support for links and custom_details in the connector's PagerDuty API. Issue for the UI: #170048.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
estimate:medium Medium Estimated Level of Effort Feature:Actions/ConnectorTypes Issues related to specific Connector Types on the Actions Framework Feature:Actions NeededFor:Infra Elastic Infra team Project:MoreConnectors Alerting team project for integrating with more external services. R&D Research and development ticket (not meant to produce code, but to make a decision) Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
No open projects
Development

No branches or pull requests

8 participants