apollo-router 2.14.0-rc.2

A configurable, high-performance routing runtime for Apollo Federation 🚀
Documentation
---
source: apollo-router/src/plugins/telemetry/config_new/instruments.rs
description: Custom counter
expression: "&metrics.all()"
info:
  telemetry:
    instrumentation:
      instruments:
        graphql:
          custom_counter:
            description: count of requests
            type: histogram
            unit: unit
            value:
              list_length: value
---
- name: custom_counter
  description: count of requests
  unit: unit
  data:
    datapoints:
      - sum: 5
        count: 2
        attributes: {}