-
Notifications
You must be signed in to change notification settings - Fork 39
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
Added rollbar configuration #635
Conversation
// Rollbar settings for LIVE and TEST. | ||
if ($pantheon_env == 'live' || $pantheon_env == 'test') { | ||
$config['rollbar.environment'] = $pantheon_site_name . '.' . $pantheon_env; | ||
$config['rollbar.enabled'] = TRUE; |
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.
Here we would also have the access token of rollbar right? If so, let's add a placeholder
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.
No. Access token is saved in the module's config file, but there is a setting which disables the module, here we just enable it.
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.
Let's add a note in the README, about settings Rollbar.
Maybe under ## Prepare for Deploy
section or similar
README.md
Outdated
|
||
### Rollbar configuration | ||
|
||
Rollbar will be automatically enabled on test and live environments. The access tokens need to be added and the rollbar configuration yml file should be committed. |
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.
Please provide the link /admin/...
for the settings
README.md
Outdated
@@ -213,6 +213,12 @@ and you can see the test running in the browser. | |||
Check the [DDEV documentation](https://ddev.readthedocs.io/en/latest/users/debugging-profiling/step-debugging/) | |||
if you are using other IDE or want to know more about this feature. | |||
|
|||
## Prepare for Deployment | |||
|
|||
### Rollbar configuration |
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.
Let's move it under Deploy to Pantheon
and remove Prepare for Deployment
README.md
Outdated
@@ -215,6 +215,10 @@ if you are using other IDE or want to know more about this feature. | |||
|
|||
## Deploy to Pantheon | |||
|
|||
### Rollbar configuration | |||
|
|||
Rollbar will be automatically enabled on test and live environments. The access tokens need to be added under '/admin/config/services/rollbar' and the rollbar configuration yml file should be committed. |
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.
Actually, instead of /admin/config/services/rollbar
- can't we have the setting placeholder on settings.pantheon.php
?
#634