{
  "resourceMetrics": [
    {
      "resource": {
        "attributes": [
          {
            "key": "service.name",
            "value": {
              "stringValue": "payments-api"
            }
          },
          {
            "key": "service.namespace",
            "value": {
              "stringValue": "shop"
            }
          },
          {
            "key": "service.version",
            "value": {
              "stringValue": "3.1.4"
            }
          },
          {
            "key": "service.instance.id",
            "value": {
              "stringValue": "payments-api-31ef60-7wz"
            }
          },
          {
            "key": "deployment.environment.name",
            "value": {
              "stringValue": "staging"
            }
          },
          {
            "key": "host.name",
            "value": {
              "stringValue": "node-b2"
            }
          },
          {
            "key": "host.ip",
            "value": {
              "stringValue": "192.0.2.22"
            }
          },
          {
            "key": "cloud.region",
            "value": {
              "stringValue": "eu-west-1"
            }
          },
          {
            "key": "k8s.namespace.name",
            "value": {
              "stringValue": "shop"
            }
          },
          {
            "key": "k8s.pod.name",
            "value": {
              "stringValue": "payments-api-31ef60-7wz"
            }
          },
          {
            "key": "process.pid",
            "value": {
              "intValue": "7452"
            }
          },
          {
            "key": "telemetry.sdk.name",
            "value": {
              "stringValue": "opentelemetry"
            }
          },
          {
            "key": "telemetry.sdk.language",
            "value": {
              "stringValue": "python"
            }
          },
          {
            "key": "telemetry.sdk.version",
            "value": {
              "stringValue": "1.34.0"
            }
          }
        ]
      },
      "scopeMetrics": [
        {
          "scope": {
            "name": "example.shop.payments",
            "version": "3.1.4"
          },
          "metrics": [
            {
              "name": "legacy.rpc.duration",
              "description": "Client-computed quantiles.",
              "unit": "s",
              "summary": {
                "dataPoints": [
                  {
                    "attributes": [
                      {
                        "key": "rpc.method",
                        "value": {
                          "stringValue": "Authorize"
                        }
                      }
                    ],
                    "startTimeUnixNano": "1773652472850000000",
                    "timeUnixNano": "1773738872850000000",
                    "count": "14022",
                    "sum": 918.4471,
                    "quantileValues": [
                      {
                        "quantile": 0.5,
                        "value": 0.0412
                      },
                      {
                        "quantile": 0.9,
                        "value": 0.1188
                      },
                      {
                        "quantile": 0.99,
                        "value": 0.4907
                      },
                      {
                        "quantile": 1.0,
                        "value": 2.0031
                      }
                    ]
                  }
                ]
              }
            }
          ]
        }
      ]
    }
  ]
}
