Observability & Monitoring

Last updated: 2 minutes read.

What is API Infrastructure Monitoring?

Infrastructure monitoring is the process of tracking and collecting system health, error counts and types, hardware resource data from our IT infrastructure (servers, virtual machines, containers, databases and other backend components) and other processes.

The infrastructure and engineering team can take advantage of real-time quantitative data by using monitoring tools to help identify trends, set alerts when a system breaks, determine the root cause of the problem and mitigate the issue.

The two main questions that your monitoring system should address: what’s broken (symptom), and why (cause)? Successful monitoring and alerting systems should identify areas to scale, backend issues that impact users, and drive value across the organization to improve business performance.

Why is it important?

  • Global Health Insight→ Have a global insight into the overall health and instant notifications of issues, before your end users.
  • Troubleshoot performance issues→ Determine which hosts, containers, or other backend components are failing or experiencing latency issues during an incident.
    • Engineers have the data to determine which instance or backend service caused an outage.
    • This helps cross-functional teams resolve support tickets and address customer-facing issues.
  • Optimize & Plan Infrastructure sizing→ Statistics and data is used to lower infrastructure costs.
    • For example, balance your infrastructure usage by directing requests from under provisioned hosts to overprovisioned hosts.
    • Size appropriately - Know if you’re over provisioned resources given your consumption to cut costs

In API Management, Monitoring falls under three main categories:

1. API Monitoring

Monitoring encompasses the deep insight into the health of individual components. Monitoring encompasses health statistics and instrumentations of servers as well as the software itself, APIs and Tyk components.

Please click here to read more about Tyk component monitoring and how to set it up.

2. Infrastructure sizing & scaling

Though the Tyk Gateway is the most performant Gateway in the market, you want to avoid over/underprovisioning the hardware based on your traffic requirements.

Infrastructure sizing, benchmarks, and scaling will be explained in this section.

3. API Observability

API Observability is the practice of monitoring holistic health of your APIs.

  • Are you APIs behaving as intended?
  • Are you committed to your SLOs?
  • Which metrics to monitor, how to retrieve them, which tools to use for dashboarding and when to alert?

Please consult distributed tracing overview and service level objectives for your APIs with Tyk, Prometheus and Grafana for further details.