Skip to content

axtstar/Sentry-Retriever

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentry log retriever for slack

Usage

create .env like the below

# mode
ENV_NAME="anything"

# sentry
SENTRY_AUTH_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxx"
SENTRY_ORGANIZATION="xxxxx"
SENTRY_GROUPID="xxxxx"
SENTRY_RULE_URL="https://sentry.io/organizations/xxxxx/alerts/rules/yyyyy/nnnnn/"
SENTRY_RULE_NAME="Send a notification for new issues"

# slack
SLACK_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
SLACK_CHANNEL="channel_name"
SLACK_BOT_NAME="Sentry"
SLACK_ICON_URL="icon.png"
SLACK_FOOTER_ICON="footer.png"

# jdbc_url
JDBC_URL="jdbc:sqlite:sentry.db"

execute

sbt run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages