Skip to main content
Currently Metlo’s Java Agent supports 1 framework:
  • Spring (and by extension Spring Boot)
Its available for download from maven central

Installation

You can add Metlo via either Maven or Gradle: Gradle:
Gradle
Maven:
XML

Usage

Metlo for Spring/Boot provides a lightweight filter for spring based applications and can be included as any other filter would. The filter needs to be provided with the METLO collector url, and the METLO API Key as parameters.

Example

Java

Configuration

Rate Limiting

Metlo rate limits itself to 10 requests/s by default. In case the system has the capacity to handle more and/or a larger number of traces needs to be reported for some reason, that can be customised in the constructor with the signature:
Java