Stackdriver Monitoring and Logging For Edge
The Stackdriver products available in GCP provide a complete monitoring and logging solution for your APIs. This article will highlight some of the ways that Stackdriver could be used for your Edge monitoring and logging needs. The Stackdriver documentation is very good, so this document does not attempt to repeat instructions that are specified elsewhere. However, the goal is to show how to configure the monitoring and logging options for Edge API purposes. Along with this article, there is a set of shared flows and proxy that demonstrate how the Stackdriver logging can be abstracted and re-used. GitHub with Code: https://github.com/davidmehi/edge-stackdriver-integration-example
GCP and Stackdriver Setup
Assuming you have a GCP account already, Dino has put together great instructions on how to configure an application and Stackdriver in GCP. He has also created some example proxies that will do the initial connection from the proxy to Stackdriver and send example log messages. Follow these instructions first. This guide is to enhance his examples and show how it could be configured for project use. https://community.apigee.com/articles/38004/logging-from-apigee-edge-api-proxies-to-a-saas-log.html
Monitoring
A common need is to be able to monitor API endpoints and confirm that they are up and running. This usually consists of a monitoring service that sends a request to the endpoint at a set interval. If the endpoint goes down, then an admin should be notified. This capability is available in Stackdriver Monitoring.
Logging
A common requirement is to be able to log messages from the API Proxy. These messages could be strictly error messages or other types like information messages. An administrator or other person should be able to sign in to the logging panel and see these messages. Administrators should also be able to set alerts based on log messages. This capability is available in Stackdriver Logging.
Hi @David Mehi , how are you ? this is Dhanunjaya from ajay team, hope u remember me. we set probe and test cases to monitor APIs env wise, recently apigee removed that feature. no more test.apigee.com, i got to know stack driver is alternative to monitor APIs. is that true, is this true replacement for test.apigee ? if so, will this stack driver will cover under enterprise license ? or we need to purchase separate one for this stackdriver? seems this feature under google cloud. we are looking to set monitoring alerst for apis.please share with guide lines/ process steps doc.. u knew my official email address. please respond asap . and its very nice working with you .Thanks a lot.
Hi Dhanunjaya, Stackdriver is not covered under the Apigee license. You will need to sign up separately through GCP. Here is more information: https://github.com/davidmehi/edge-stackdriver-integration-example and https://cloud.google.com/monitoring/docs/