ObservabilityJava/JVM

Overview

Maxim logging is a distributed tracing system that enables real-time log monitoring in production environments.

Generate Maxim API key

Installing SDK

<dependency>
    <groupId>ai.getmaxim</groupId>
    <artifactId>sdk</artifactId>
    <version>0.1.3</version>
</dependency>

Initializing Maxim logger

Initializing Maxim logger
import ai.getmaxim.sdk.Maxim;
 
Maxim maxim = new Maxim(new Config(null, "api-key", null, false));
Logger logger = maxim.logger(new LoggerConfig("log-repository-id"));

Maxim config fields

FieldTypeDescription
apiKeyStringMaxim API key
baseUrlStringMaxim API base URL (optional)
debugBooleanEnable debug mode (optional, default is false)

Logger config fields

FieldTypeDescription
idStringLog repository ID

On this page