# micrometer-docs-generator
**Repository Path**: mirrors_micrometer-metrics/micrometer-docs-generator
## Basic Information
- **Project Name**: micrometer-docs-generator
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2022-01-27
- **Last Updated**: 2025-10-04
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Micrometer Docs Generator
[](https://circleci.com/gh/micrometer-metrics/micrometer-docs-generator)
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://search.maven.org/artifact/io.micrometer/micrometer-docs-generator)
[](https://www.javadoc.io/doc/io.micrometer/micrometer-core)
[](https://ge.micrometer.io/)
Generating adoc tables for metrics and spans.
IMPORTANT: This project is in an incubating stage.
## Join the discussion
Join the [Micrometer Slack](https://slack.micrometer.io) to share your questions, concerns, and feature requests.
## Snapshot builds
Snapshots are published to `repo.spring.io` for every successful build on the `main` branch and maintenance branches.
To use:
```groovy
repositories {
maven { url 'https://repo.spring.io/snapshot' }
}
dependencies {
implementation 'io.micrometer:micrometer-docs-generator:latest.integration'
}
```
## Milestone releases
Starting with the 1.1.0-M1 release, milestone releases and release candidates will be published to Maven Central. Note that milestone releases are for testing purposes and are not intended for production use. Earlier milestone releases were published to https://repo.spring.io/milestone.
## Documentation
Example for a Gradle setup that scans your sources from the root project and creates the metrics and spans output under the root project's `build` folder.
```groovy
repositories {
maven { url 'https://repo.spring.io/snapshot' } // for snapshots
mavenCentral() // for GA and milestones
}
ext {
micrometerDocsVersion="1.0.0"
}
configurations {
adoc
}
dependencies {
adoc "io.micrometer:micrometer-docs-generator:$micrometerDocsVersion"
}
task generateObservabilityDocs() {
mainClass = "io.micrometer.docs.DocsGeneratorCommand"
classpath configurations.adoc
// input folder, inclusion pattern, output folder
args project.rootDir.getAbsolutePath(), ".*", project.rootProject.buildDir.getAbsolutePath()
}
```
Example for a Maven setup that scans your sources from the root project and creates the metrics and spans output under the root project's `target` folder.
```xml
1.0.0
${maven.multiModuleProjectDirectory}/folder-with-sources-to-scan/
.*
${maven.multiModuleProjectDirectory}/target/output-folder-with-adocs/'
org.codehaus.mojo
exec-maven-plugin
generate-docs
prepare-package
java
io.micrometer.docs.DocsGeneratorCommand
true
${micrometer-docs-generator.inputPath}
${micrometer-docs-generator.inclusionPattern}
${micrometer-docs-generator.outputPath}
io.micrometer
micrometer-docs-generator
${micrometer-docs-generator.version}
jar
spring-snapshots
Spring Snapshots
https://repo.spring.io/snapshot
true
false
```
## Contributing
See our [Contributing Guide](CONTRIBUTING.md) for information about contributing to Micrometer Docs Generator.
## Code formatting
The [spring-javaformat plugin](https://github.com/spring-io/spring-javaformat) is configured to check and apply consistent formatting in the codebase through the build.
The `checkFormat` task checks the formatting as part of the `check` task.
Apply formatting with the `format` task.
You should rely on the formatting the `format` task applies instead of your IDE's configured formatting.
-------------------------------------
_Licensed under [Apache Software License 2.0](https://www.apache.org/licenses/LICENSE-2.0)_
_Sponsored by [VMware](https://tanzu.vmware.com)_