API Manager
Logo
Open Telemetry Metrics

Open Telemetry Metrics

Logo

3 mins READ

Open Telemetry Metrics publishes metrics from your API traffic to your monitoring system. Insights is built separately from a record of every call and doesn't depend on these settings. You define exactly what gets measured, which calls it records, and how the data is broken down.

Overview

By default, the platform records request data for every managed API. Telemetry configuration lets you go further: define custom metric configurations that count calls or measure durations, choose whether each records every call, only successes, or only failures, and slice the results with tags like API, client, or HTTP method. You can set a global configuration that applies across all API groups, and add configuration per API group for APIs that need different measurement.

To open it, go to API Manager › Settings › Open Telemetry Metrics.

open_telemetry.png
open_telemetry.png

Metrics

Each metric configuration has a Metric Name and picks one of three metrics from the Metric list:

Metric

Type

What It Measures

Api Execution

Counter

Counts calls. Use it for volume and frequency — how many requests, how many failures.

Api Execution Duration

Timer

Measures the whole call, from the moment the request arrives to the response.

Api Resource Execution Duration

Timer

Measures only the backing resource's part of the call — for example, the automation run.

Timers can also define Buckets — latency ranges in milliseconds (for example 0.5, 1, 1.5) for histogram-type visualizations.

Publish If

Every metric configuration has a Publish If choice that decides which calls it records: every call, only successful calls, or only failed calls. There is no free-form filter — to split a metric by status, API or client, add those as tags instead.

Tags

Tags break a metric down so you can see it sliced by a property of each request. Add tags to give your counters and timers useful segmentation:

Tag

What It Adds

API path and name

Splits the metric by the API operation that was called, identified by its path and name. Use to identify which APIs drive errors or latency.

API group path and name

Splits the metric by the API group, identified by its path and name. Use to see which groups of APIs are driving traffic or errors.

Outcome

Splits by whether the call succeeded or failed. Use alongside Publish If to see the breakdown behind a success/failure count.

HTTP method

Splits by GET, POST, PUT, DELETE, etc. Use when one verb behaves differently from others.

Authentication type

Splits by the authentication method used on the call. Use to compare behavior across different auth mechanisms.

Client

Splits by the access profile making the request. Use to identify which consumer is responsible for volume or error spikes.

User

Splits by the authenticated user who made the call, where available. Use to trace volume or errors to a specific user.

Host

Splits by the host the request was made to. Use when the same API is reachable from more than one host.

Cache hit

Splits by whether the response was served from cache. Use to evaluate cache effectiveness.

Response status

Splits by HTTP status code. Use to distinguish 4xx client errors from 5xx server errors in the same metric.

Global vs. Per-API Group

Telemetry configuration can be applied at two scopes:

  • Global — applies to all API groups as the default. Set global configurations for metrics you want across every API you publish.

  • Per API group — configuration for one API group. Use this when a specific API needs different metrics, Publish If choices, or tags than the global default. The API group's metrics are published in addition to the global ones, so don't repeat a global metric in an API group.

This scope model means you define once for the common case and add to it only where needed, without duplicating configuration across every API group.

Automations and connections publish telemetry metrics the same way. For their levels, metrics and Publish If choices, see Open Telemetry.

Notes

  • Configure telemetry deliberately — measure what matters rather than collecting every possible metric, which adds processing overhead and storage cost.

  • Add a client tag to a counter that publishes on failures so you can identify whether a spike comes from one consumer or all of them.

  • API group metrics are published in addition to the global ones — don't repeat a global metric in an API group, or it is published twice.

  • Pair telemetry with Traceability: telemetry shows aggregate trends; traceability gives you the per-request detail to investigate the cause.

FAQs

What is the difference between a counter and a timer?

A counter (Api Execution) increments each time a call it records occurs — use it for volume and frequency (how many requests, how many errors). A timer (Api Execution Duration or Api Resource Execution Duration) records the duration of the call or of its backing resource — use it for latency and performance. Both have a Publish If choice and tags; timers can also define buckets.

Does an API group configuration add to the global one or replace it?

It adds to it. For every call, the API group's metrics are published and the global metrics are published too. Don't repeat a global metric in an API group, or it is published twice.

Where do I see the metrics I configure?

Open Telemetry Metrics publishes the metrics you configure to your connected monitoring system, where you chart and alert on them. The Insights dashboard in the API Manager is built separately from a record of every call and doesn't depend on these settings.

What tag dimensions are available for Open Telemetry metrics?

Available tag dimensions include API path and name, API group path and name, outcome, HTTP method, authentication type, client, user, host, cache hit, and response status. Add tags to split a counter or timer by any of these properties.