Set up the Slack integration to unfurl Cortex XCOR monitor graphs directly in your alerting channels.
Alerting is critical to problem response. Reliable, available, actionable information
lets observability teams act on problems quickly. Alert criticality and other
metadata can help determine the severity of an issue, but the graph in a given alert
is the first place users look to create a representation of their data and the state
of their metrics.Cortex XCOR supports unfurling of monitor graphs in
Slack, enabling Slack users to view or share monitors in Slack
channels aimed at mitigating alerts.
Unfurling isn’t supported for Metrics Explorer and Dashboard links.
If your Slack alerting management uses a Slack app with granular permissions, such as
the PagerDuty app,
and that app pastes the alerting XCOR monitor link in the Slack
message, those links unfurl.If you use a legacy app, such as the incoming webhook
app, those links won’t unfurl. The XCOR
Slack notifier uses an incoming webhook
and doesn’t support unfurling.If a user posts a monitor link, it always unfurls.
Adding Cortex XCOR to Slack
XCOR recommends completing this procedure as a user who is part of a team
with the
SysAdmin role.
The Slack integration uses the same XCOR permissions as the user
who installed the app. Users with lower permissions levels might not unfurl all
graphs.You can create a Slack notifier
in XCOR.To integrate Slack with XCOR:
Go to https://TENANT.chronosphere.io/auth/slack/redirect
to install the Slack app for XCOR.Replace TENANT with your XCOR subdomain name.
If you have multiple workspaces, select the workspace you’re interested in from
the menu.
If you have multiple XCOR tenants you want to have expanded graphs
in, go to https://TENANT.chronosphere.io/auth/slack/redirect to associate
your Slack user with a user in that tenant.
Follow the prompts to authorize the integration.
Add the Slack app to the specific channel you want to send alerts to.
The Slack app is channel-specific, and must be added to each channel in a
workspace that needs unfurled graphs.
A confirmation page displays when integration successfully completes.After integration, pasting an XCOR graph URL into Slack displays
a thumbnail of the graph as a threaded message.Chart images expire after seven days.