description: Connector HTTP client duration metric
events:
  - - context:
          map:
            "custom::context::key": "custom_context_value"
            "apollo::supergraph::operation_name": "Test"
            "apollo::supergraph::operation_kind": "query"
    - connector_request:
        subgraph_name: posts
        source_name: posts_api
        http_method: GET
        url_template: "/posts"
        uri: "/posts"
        headers:
          custom_request_header: custom_request_header_value
    - connector_response:
        status: 200
        body: |
          { "foo": "bar" }
        headers:
          custom_response_header: custom_response_header_value
