Open Source API Gateway
4. Monitoring, Logging and Statistics

exchangeStore

Version

Adds the current state of HTTP requests and responses to an "exchange store" so they can be inspected later. Depending on the store implementation, both the request and the response phase may need to run before an exchange is saved.

See tutorials/operation/70-Record-Messages-In-Loki.yaml.

Example Configuration

components:
exchangeStore:
lokiExchangeStore:
url: http://localhost:3100
job: membrane-instance-1
components:
   exchangeStore:
     lokiExchangeStore:
       url: http://localhost:3100
       job: membrane-instance-1

Syntax

exchangeStore:
name: <string>
exchangeStore:
  name: <string>

Attributes

NameRequiredDefaultDescriptionExamples
namefalse-Bean name of the exchange store defined as a spring bean.forgetfulExchangeStore

Can be used in