---
source: apollo-router/src/plugins/telemetry/config_new/instruments.rs
description: Both subgraph and connector HTTP client duration metrics
expression: "&metrics.all()"
info:
  telemetry:
    instrumentation:
      instruments:
        default_requirement_level: none
        connector:
          request.mapping.problems:
            description: Count of connectors request mapping problems
            value:
              connector_request_mapping_problems: count
            attributes:
              connector.source:
                connector_source: name
              mapping.problems.exist:
                connector_request_mapping_problems: boolean
            unit: count
            type: counter
          response.mapping.problems:
            description: Count of connectors response mapping problems
            value:
              connector_response_mapping_problems: count
            attributes:
              connector.source:
                connector_source: name
              mapping.problems.exist:
                connector_response_mapping_problems: boolean
            unit: count
            type: counter
snapshot_kind: text
---
- name: request.mapping.problems
  description: Count of connectors request mapping problems
  unit: count
  data:
    datapoints:
      - value: 15
        attributes:
          connector.source: user_api
          mapping.problems.exist: true
- name: response.mapping.problems
  description: Count of connectors response mapping problems
  unit: count
  data:
    datapoints:
      - value: 5
        attributes:
          connector.source: user_api
          mapping.problems.exist: true
