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 |
|
Extension artifact |
|
Java packages |
|
Configuration prefix |
|
Capability |
|
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.mddescribes the provider and links to its documentation. -
providers/<name>/CONTEXT.mdrecords 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 withQuarkus 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 asimage::<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 underProvidersin the generatednav.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:
-
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 intopages/includes/. -
Add a row to the provider table in the overview, the root
README.mdandCONTEXT.md. -
Run
./mvnw -pl docs -am install -DskipTestsand commit the regeneratednav.adocandpages/includes/files. They are tracked because https://docs.quarkiverse.io builds the site from the committeddocs/folder and does not run Maven. Never edit them by hand; CI fails when they are out of date.