Skip to main content

Metrics

The Arc Framework Spring Boot Stater provides support for metrics using the Micrometer library.

If an instance of io.micrometer.core.instrument.MeterRegistry is found on the classpath, then the Arc Framework will automatically use it to public metrics.

A common way to use Micrometer is to add the micrometer-registry-prometheus dependency to your project.

implementation("io.micrometer:micrometer-registry-prometheus")

Currently, the following metrics are published:

NameDescriptionTypeTags
arc.agent.finishedRecords the time of a call to an Agent.Timeragent, model
arc.agent.failedRecords the number of failed calls to an Agent.Timeragent
arc.llm.finishedRecords the time of a call to an LLM.Timermodel