mocapi-o11y
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.callibrity.mocapi</groupId>
<artifactId>mocapi-o11y</artifactId>
<version>1.3.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2025-2026 Callibrity, Inc. (contactus@callibrity.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.callibrity.mocapi</groupId>
<artifactId>mocapi-parent</artifactId>
<version>1.3.0</version>
</parent>
<artifactId>mocapi-o11y</artifactId>
<name>Mocapi - Observability</name>
<description>Single-interceptor observability for MCP handler invocations via the Micrometer Observation API. Wraps every tool / prompt / resource / resource-template call in an Observation so the same code produces both metrics (via MeterObservationHandler) and distributed-tracing spans (via TracingObservationHandler) — whichever observation handlers the user has on their classpath participate automatically.</description>
<dependencies>
<dependency>
<groupId>com.callibrity.mocapi</groupId>
<artifactId>mocapi-server</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.callibrity.ripcurl</groupId>
<artifactId>ripcurl-o11y</artifactId>
<version>${ripcurl.version}</version>
</dependency>
<dependency>
<groupId>org.jwcarman.methodical</groupId>
<artifactId>methodical-core</artifactId>
<version>${methodical.version}</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-observation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-micrometer-observation</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-observation-test</artifactId>
<scope>test</scope>
</dependency>
<!-- Real OTel bridge for the remote-parent joining test: a fixed traceparent from the
request _meta must become the exported span's trace id / parent span id. -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-sdk-testing</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>