---
source: apollo-router/src/plugins/telemetry/config_new/instruments.rs
description: Apollo subgraph fetch duration histogram
expression: "&metrics.all()"
info:
  telemetry:
    apollo:
      subgraph_metrics: true
    instrumentation:
      instruments:
        connector:
          http.client.request.duration: false
snapshot_kind: text
---
- name: apollo.router.operations.fetch.duration
  description: Duration of a subgraph fetch.
  unit: s
  data:
    datapoints:
      - sum: 0.1
        count: 1
        attributes:
          apollo.client.name: myClient
          apollo.client.version: v0.1.0
          apollo.operation.id: myOperationID
          connector.source: posts_api
          graphql.operation.name: Test
          graphql.operation.type: query
          has_errors: false
          subgraph.name: posts
