Skip to main content

Hi PagerDuty team! πŸ‘‹

I'm trying to get custom details from Grafana alerts to display in our Slack notifications, but only seeing basic information.

Current Setup:

  • βœ… Grafana β†’ PagerDuty integration working (using Events API V2)
  • βœ… PagerDuty β†’ Slack integration connected (service: my-service-prod β†’ channel: #team-alerts)
  • βœ… Alerts are flowing through successfully

The Issue: Our Grafana alerts send rich custom details to PagerDuty (verified in PagerDuty incident view):

  • severity: "critical"
  • namespace: "production"
  • pod: "api-service-7d9c5-xyz"
  • cluster: "us-west-2-prod"
  • component: "api-service"
  • description: "Pod is in CrashLoopBackOff state..."
  • runbook_url: "https://wiki.internal/runbooks/..."

However, in Slack we only see:

πŸ”΄ Pod CrashLoopBackOff Alert
Service: my-service-prod
Urgency: Low
UAcknowledge] rResolve]

What We Need: Display the custom_details fields in Slack notifications so our on-call engineers can see critical context without clicking through to PagerDuty.

What I've Tried:

  1. Configured PagerDuty contact point in Grafana with Details fields mapped to templates like {{ .CommonLabels.namespace }}
  2. Checked Slack integration settings in PagerDuty (Extensions β†’ Slack β†’ View)
  3. The configuration UI only shows basic options (thread creation, channel selection) but no options for enabling custom details display

Questions:

  1. Is there a way to enable custom details display in the current Slack integration?
  2. Do we need to upgrade to a different Slack integration version or add Slack V2 app?
  3. Can Event Orchestration be used to enrich Slack messages with custom_details?
  4. Is there an API endpoint or webhook approach for more control over Slack message formatting?

Environment: Using standard PagerDuty Slack integration Service: my-service-prod Integration Key: Events API V2

Any guidance would be greatly appreciated! Looking to display the custom metadata our monitoring system sends to help reduce MTTR. πŸ™

Β 

Hey ​@soumyajyotiiiΒ πŸ‘‹ I hope you are doing well!

Β 

By default, PagerDuty keeps Slack notifications as simple as possible to avoid overwhelming channels with too much info. This tends to be a case for teams with a high alert volume. So that notification cannot be customised.

Β 

However there are other ways that you can get access to yourΒ custom_details fields without having to leave Slack:

  1. Leverage the /pd {custom field name} to view/edit any custom field. This is documented on our actions list
  2. You can configure an incident workflow that can either be triggered manually by the /pd workflow or automatically depending on incident conditions that will send a message to a slack channel of choice with your custom_details fields

Please, let me know if these ways helped with your issue! Have an amazing day 😁


Reply