Adding a Provider

Every provider has the same shape, so contributors, tooling and documentation work the same way across providers. Use the Langfuse provider as the reference implementation. The project-wide conventions are also recorded in the repository’s CONTEXT.md.

Replace <name> below with the lowercase provider name, for example langsmith or arize.

Naming

What Convention

Maven groupId

io.quarkiverse.aitelemetry

Extension artifact

quarkus-ai-telemetry-<name> (runtime), quarkus-ai-telemetry-<name>-deployment

Java packages

io.quarkiverse.aitelemetry.<name>

Configuration prefix

quarkus.ai-telemetry.<name>.*

Capability

io.quarkiverse.aitelemetry.<name>

Source Modules

Create providers/<name>/ with a parent POM (quarkus-ai-telemetry-<name>-parent) and at least a runtime and a deployment module. Add any provider-specific modules, such as a generated API client or a Testcontainers helper, next to them. Register the provider in providers/pom.xml.

Add the published artifacts to bom/pom.xml. Modules that are only embedded in the runtime or deployment JAR set maven.deploy.skip and stay out of the BOM.

The runtime module ships META-INF/quarkus-extension.yaml with the guide URL pointing at the provider’s documentation module.

Integration Tests

Add integration-tests/providers/<name>/ with a parent POM and one module per classpath combination that needs its own test, as the Langfuse provider does with api, otel-no-lc4j and no-otel-no-lc4j.

Documentation

Each provider owns its documentation, so adding one never requires touching another provider’s files:

  • providers/<name>/README.md describes the provider and links to its documentation.

  • providers/<name>/CONTEXT.md records the provider-specific design context.

  • A README for every Maven module, linking to its parent.

  • Antora pages in docs/modules/ROOT/pages/<name>/:

    • index.adoc, the provider’s landing page, linking back with Quarkus AI Telemetry

    • all-config.adoc, which includes the provider’s generated configuration reference, includes/quarkus-ai-telemetry-<name>.adoc

    • any further pages, such as guides

  • Images in docs/modules/ROOT/assets/images/<name>/, referenced as image::<name>/<file>.png[].

  • A navigation fragment, docs/modules/ROOT/partials/nav/<name>.adoc: the provider’s entry (* xref:<name>/index.adoc[Provider Name]) followed by its sub-pages one level deeper (** xref:<name>/all-config.adoc[Configuration Reference]). The build sorts the fragments alphabetically and nests them under Providers in the generated nav.adoc. Providers are ordered alphabetically, but order the sub-pages in reading order: guides in the order a reader needs them, then compatibility notes, then the configuration reference last.

Then wire the provider into the documentation build:

  1. Add the provider’s runtime and deployment artifacts to docs/pom.xml. The build generates the provider’s configuration reference and the aggregate in All Configuration Options into pages/includes/.

  2. Add a row to the provider table in the overview, the root README.md and CONTEXT.md.

  3. Run ./mvnw -pl docs -am install -DskipTests and commit the regenerated nav.adoc and pages/includes/ files. They are tracked because https://docs.quarkiverse.io builds the site from the committed docs/ folder and does not run Maven. Never edit them by hand; CI fails when they are out of date.

Continuous Integration

Make sure the CI workflows in .github/workflows build and test the new modules, including the native build of the integration tests.