How to monitor APIGEE X instances not VMs but actual apigee instances through logs or through Datadog.
I got metric for GCP GCE instances but not apigee instances.
Is there any metric to know the status of apigee instances ? if not any suggestions on how to monitor or get notified when an apigee instance is down.
Thanks.
Solved! Go to Solution.
An Apigee "instance" itself does not export metrics in the same way you might find details about GCE or GKE. There are however metrics exported to CloudMonitoring by default that are available for consumption. https://cloud.google.com/apigee/docs/api-monitoring/alerts-notifications#new-metrics has some resources to get started. If you are concerned with a more binary "is the service healthy / ready" https://cloud.google.com/apigee/docs/api-platform/debug/health-check offers something a bit closer but requires a synthetic probe to test. Additionally you can write your own logs to CloudLogging or other remote services via the MessageLogging policy https://cloud.google.com/apigee/docs/api-platform/reference/policies/message-logging-policy and even enable access logs https://cloud.google.com/apigee/docs/api-platform/system-administration/cloud-logging-ingress-access for even more information.
I would also like to note that the MessageLogging or Access logging does not provide service level logs but only traffic details. Though vai MessageLogging you can obtain a little bit more context in the event of an execution failure.
An Apigee "instance" itself does not export metrics in the same way you might find details about GCE or GKE. There are however metrics exported to CloudMonitoring by default that are available for consumption. https://cloud.google.com/apigee/docs/api-monitoring/alerts-notifications#new-metrics has some resources to get started. If you are concerned with a more binary "is the service healthy / ready" https://cloud.google.com/apigee/docs/api-platform/debug/health-check offers something a bit closer but requires a synthetic probe to test. Additionally you can write your own logs to CloudLogging or other remote services via the MessageLogging policy https://cloud.google.com/apigee/docs/api-platform/reference/policies/message-logging-policy and even enable access logs https://cloud.google.com/apigee/docs/api-platform/system-administration/cloud-logging-ingress-access for even more information.
I would also like to note that the MessageLogging or Access logging does not provide service level logs but only traffic details. Though vai MessageLogging you can obtain a little bit more context in the event of an execution failure.