Amberflo.io API Metering

Third Party

Enable the Amberflo plugin

Enable the Amberflo.io metering plugin.

Prerequisites

Environment variables

  • API_KEY: Your Amberflo API key

Set up the plugin

Add this section to your declarative configuration file:

_format_version: "3.0"
plugins:
  - name: amberflo
    config:
      apiKey: ${{ env "DECK_API_KEY" }}
      meterApiName: kong-api-calls
      customerHeader: x-consumer-username
      methodDimension: method
      hostDimension: host
      routeDimension: route
      serviceDimension: service
Copied to clipboard!

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!