apollo-router 2.13.1

A configurable, high-performance routing runtime for Apollo Federation 🚀
Documentation
telemetry:
  apollo:
    client_name_header: name_header
    client_version_header: version_header
  instrumentation:
    instruments:
      supergraph:
        http.request:
          value: event_unit
          type: counter
          unit: count
          description: "supergraph requests"
          attributes:
            myname:
              static: label_value
            renamed_value:
              request_header: test
              default: default_value
            another_test:
              request_header: another_test
              default: my_default_value
            x-custom:
              response_header: x-custom
            my_value:
              response_data: $.data.my_value
            error:
              response_errors: $[0].message
      subgraph:
        http.client.request.duration:
          attributes:
            subgraph.name:
              alias: subgraph
            subgraph.graphql.document:
              alias: query_from_request
            status:
              subgraph_response_status: code
            subgraph_error_extended_code:
              subgraph_response_errors: $[0].extensions.code
            message:
              error: reason
            error:
              subgraph_response_errors: $[0].extensions.status
            my_key:
              response_context: my_key