-
Notifications
You must be signed in to change notification settings - Fork 128
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
Monitoring and logging #3405
Comments
|
@markolson @lihanli do we have any updates on this? |
devops added sentry to vets-api, alerts still need to be setup though |
Things we need to check off here:
|
devops is adding splunk which will be our log collection and analysis architecture https://github.com/department-of-veterans-affairs/devops/issues/617 the rails logger allows different logging levels. we are outputting all log levels in the production log to have access to all possible information. logger.debug "Person attributes hash: #{@person.attributes.inspect}"
logger.info "Processing the request..."
logger.fatal "Terminating application, raised unrecoverable error!!!" Document method to enable debugging log level on production system Rails.application.configure do
config.log_level = :debug
end |
Follow up with devops and make sure we can access the logs and are getting alerts |
@knkski wanted to loop you into this ticket and make sure that we can access the logs for edu-benefits and that we're getting alerts for issues. Do we need to get access to anything in particular for this? |
we have access to the logs through cloudwatch. me and mark both have access and tested it out already. i still need to set up sentry access and test out alerts though |
i'm registered on sentry and subscribed to alerts now |
If anybody else needs CloudWatch access, just file a ticket over in the devops repo. As far as alerting, we are sending alerts currently whenever the server gives a 500 error. Will the validation failure alerts that you'd like above be included in that? |
i made a pr to add the validation errors to sentry which can send out alerts when they happen department-of-veterans-affairs/vets-api#404 |
Awesome, thanks @lihanli! |
As all of these items are checked off now, going to close this ticket. |
No description provided.
The text was updated successfully, but these errors were encountered: