1👍
To monitor your API performance and downtime, you could create custom scripts to ping your API and alert you if there’s downtime, or you could use a third-party service to monitor remotely. This is the simpler option, as it doesn’t require writing and maintaining code.
One third-party service you could use is mine, https://assertible.com. They provide frequent health checks (1/5/15 minute), deep data validation, integrations with other services like Slack and GitHub, and a nice way to view/manage test failures.
If you want to integrate with your own code or scripts, you can use Trigger URLs and/or the Deployments API to programatically run your tests whenever and wherever:
$ curl 'https://assertible.com/apis/{API_ID}/run?api_token=ABC'
[{
"runId": "test_fjdmbd",
"result": "TestPass",
"assertions": {
"passed": [{...}],
"failed": [{...}]
},
...
}]
Hope it helps!
1👍
You can use the monitoring functionality from Postman. For more information check out the following link [1].
[1] https://learning.getpostman.com/docs/postman/monitors/intro_monitors/
- [Answered ]-Python, openpyxl: how to preserve formating in the cell?
- [Answered ]-Regex validator does not work with Django admin forms
- [Answered ]-Django PostgreSQL IntegerRangeField and update_or_create
- [Answered ]-Rewrite form with django forms
- [Answered ]-Django not redirecting to desired url after login
0👍
Since you’re running on Azure, you should take a look at Application Insights:
Application Insights is an extensible Application Performance
Management (APM) service for web developers on multiple platforms. Use
it to monitor your live web application. It will automatically detect
performance anomalies. It includes powerful analytics tools to help
you diagnose issues and to understand what users actually do with your
app. It’s designed to help you continuously improve performance and
usability. It works for apps on a wide variety of platforms including
.NET, Node.js and J2EE, hosted on-premises or in the cloud. It
integrates with your devOps process, and has connection points to a
variety of development tools. Source
API monitoring is described here.
- [Answered ]-Django – user profile :UNIQUE constraint failed: main_userprofile.user_id
- [Answered ]-Django wsgi Apache2: 'AH01630: client denied by server configuration'
- [Answered ]-ImproperlyConfigured url