Readme Metrics Policy
Readme (readme.com) is a developer Documentation and metrics service. This policy pushes the request/response data to their ingestion endpoint so you can see your Zuplo API traffic in their API calls dashboard.
Configuration
{
"name": "my-readme-metrics-inbound-policy",
"policyType": "readme-metrics-inbound",
"handler": {
"module": "$import(@zuplo/runtime)",
"export": "ReadmeMetricsInboundPolicy",
"options": {
"apiKey": "YOUR_API_KEY",
"userLabelPropertyPath": ".sub",
"development": true,
"useFullRequestPath": false
}
}
}
Read more about how policies work