apollo-router 2.13.1

A configurable, high-performance routing runtime for Apollo Federation 🚀
Documentation
telemetry:
  instrumentation:
    instruments:
      default_requirement_level: none
      cache:
        apollo.router.operations.entity.cache:
          attributes:
            graphql.type.name:
              alias: entity_type
            subgraph.name:
              subgraph_name: true
            supergraph.operation.name:
              supergraph_operation_name: string
        apollo.router.response.cache:
          attributes:
            graphql.type.name:
              alias: entity_type
            subgraph.name:
              subgraph_name: true
            supergraph.operation.name:
              supergraph_operation_name: string
      subgraph:
        only_cache_hit_on_subgraph_products:
          type: counter
          value:
            cache: hit
          unit: hit
          description: counter of subgraph request cache hit on subgraph products
          condition:
            all:
              - eq:
                  - subgraph_name: true
                  - products
              - gt:
                  - cache: hit
                    entity_type: all
                  - 0
          attributes:
            subgraph.name: true
            supergraph.operation.name:
              supergraph_operation_name: string
        only_response_cache_hit_on_subgraph_products:
          type: counter
          value:
            cache: hit
          unit: hit
          description: counter of subgraph request cache hit on subgraph products
          condition:
            all:
              - eq:
                  - subgraph_name: true
                  - products
              - gt:
                  - response_cache: hit
                    entity_type: all
                  - 0
          attributes:
            subgraph.name: true
            supergraph.operation.name:
              supergraph_operation_name: string
        only_cache_hit_on_subgraph_products_on_product_entity:
          type: counter
          value:
            cache: hit
            entity_type: Product
          unit: hit
          description: counter of subgraph request cache hit on subgraph products on product entity
          condition:
            all:
              - eq:
                  - subgraph_name: true
                  - products
              - gt:
                  - cache: hit
                  - 0
          attributes:
            subgraph.name: true
            supergraph.operation.name:
              supergraph_operation_name: string