Slack
Summary
Slack is a way to communicate with your team. You can use Slack to drive insights into values such as:
- Ownership
- Notifications
- SlackBot
Setup
In order to connect Cortex to your Slack instance, you’ll need to install the Slack application in Settings → Slack.
If you do not see the Settings page you're looking for in the sidebar, you likely don't have the proper permissions and need to contact your admin.
If using Cortex Server, you'll need to follow a manual configuration process to use the Slack app. Reach out to the support team to receive instructions.
Catalog Descriptor
Ownership
You can define the following block in your Cortex Catalog Descriptor to add your Slack channels.
x-cortex-owners:
# List Slack channels, *without* the preceeding "#"
- type: slack
channel: team-engineering
notificationsEnabled: true #optional
description: This is a description for this slack channel # optional
Slackbot
We have a list of commands you can use with our Slackbot to quickly query catalog metadata and scorecard scores. The <tag>
refers to the Entity Tag.
You need to be a Slack administrator in order to install the Slackbot.
/cortex service <tag>
- Lists service information such as owners, current on-call, links, and timeline events
/cortex runbooks <tag>
- List all runbook links
/cortex docs <tag>
- List all documentation links
/cortex logs <tag>
- List all runbook links
/cortex links <tag>
- List all links
/cortex links [type] <tag>
- List all links of optional type param such as "metrics" or "openapi"
/cortex oncall <tag>
- Find current on-call
/cortex owners <tag>
- List all owners, along with their emails
/cortex dependencies <tag>
- List all incoming and outgoing first-level dependencies
/cortex scores <tag>
- List all scorecard scores
/cortex sentry <tag>
- List recent Sentry issues
/cortex timeline <tag>
- List recent timeline events
/cortex search <query>
- Query for services using Lucene queries