# Grails

<!-- llms-txt-link: /llms.txt -->

> OpenTelemetry Java agent instrumentation

This instrumentation enriches HTTP server spans with route information, and enables controller spans for Grails applications (controller spans are disabled by default).

- **Name**: `grails-3.0`
- **Scope**: `io.opentelemetry.grails-3.0`
- **Target versions**: `org.grails:grails-web-url-mappings:[3.0,)`
- **Library**: https://grails.apache.org/

## Telemetry

- **Span attributes**: `code.function`, `code.namespace`

## Configuration

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `otel.instrumentation.common.experimental.controller-telemetry.enabled` | boolean | false | Enables the creation of experimental controller spans. |

## Data

- **JSON**: [/data/javaagent/instrumentations/grails-3.0/grails-3.0-19984cfa955e.json](/data/javaagent/instrumentations/grails-3.0/grails-3.0-19984cfa955e.json)
- **Explore**: [/java-agent/instrumentation/grails-3.0](/java-agent/instrumentation/grails-3.0)
