-
Notifications
You must be signed in to change notification settings - Fork 3
add sentry config #7
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
base: master
Are you sure you want to change the base?
Conversation
superisaac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
相关 requirement 需要写到setup.py 里,还需要更新git tag
bin/bbox.py
Outdated
| help_msg = getattr(handler, 'help', '') | ||
| parser = sub_parsers.add_parser(sub_cmd, help=help_msg) | ||
| # add sentry config | ||
| parser.add_argument( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
通过环境变量 SENTRY_URL 来设置就可以了
bin/bbox.py
Outdated
| args = top_parser.parse_args(input_args) | ||
| loop = asyncio.get_event_loop() | ||
|
|
||
| sentry_config = args.sentry_config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
通过环境变量 SENTRY_URL 来设置就可以了
bin/bbox.py
Outdated
| # add sentry config | ||
| parser.add_argument( | ||
| '--sentry_config', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用环境变量传入sentry config 即可
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最新的pr没这个了。
No description provided.