|# Connector Metrics
|
|**Connector Metrics** are OBP-API's record of the calls it makes to the [Connector](http://localhost:5174/glossary#Connector), the component that talks to the bank's systems: one record for every Connector call. A single API call can lead to several Connector calls, so Connector Metrics show where the time of an API call went and which calls to the bank's systems failed.
|
|On this instance, Connector Metrics are not being recorded.
|
|## What each record contains
|
|- the Connector name and the Connector method called (for example `getBankAccount`)
|- the date and time of the call, and its duration in milliseconds
|- whether the call succeeded
|- the key request parameters of the call
|- the correlation id of the API call it was made for, so the Connector calls behind one API call can be found from its [API Metrics](http://localhost:5174/glossary#API-Metrics) record
|- the `api_instance_id` of the OBP-API instance that made the call
|
|Records are written to the database in batches.
|
|## Reading Connector Metrics
|
|- `GET /management/connector/metrics`: search the records, filtered by date, Connector name, method and correlation id. Requires the Role CanGetConnectorMetrics.
|
|## Related records
|
|- **Connector call counts** are per-hour counters of Connector calls made and of successful and failed responses, per Connector method, held in Redis rather than in the database. On this instance they are not being counted. Read them with `GET /management/connector/metrics/counts` (Role CanReadMetrics).
|- **Connector Traces** hold the complete messages sent to and received from the Connector for each call, for debugging. They are much larger than Connector Metrics and can contain customer and account data. On this instance they are not being recorded. Read them with `GET /management/connector/traces`.
|
|## Connector Metrics are not Telemetry
|
|Connector Metrics record individual Connector calls. [Telemetry](http://localhost:5174/glossary#Telemetry) reports aggregated numbers about how an instance is behaving, including the rate, errors and duration of Connector calls per method, without keeping a record of each call.
|
|See also: [API Metrics](http://localhost:5174/glossary#API-Metrics), [Connector](http://localhost:5174/glossary#Connector), [Connector Method](http://localhost:5174/glossary#Connector-Method), [Telemetry](http://localhost:5174/glossary#Telemetry).
|