Huge Traces configuration options
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. The Elastic APM Java agent enables you to trace the execution of operations in your Java applications, sending performance metrics and errors to the Elastic APM Server. Availability This functionality is generally available and ready for production usage. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless Observability
Generally available
Stack
Generally available
APM Agent Java
Generally available
The Elastic APM Java agent enables you to trace the execution of operations in your Java applications, sending performance metrics and errors to the Elastic APM Server. Availability This functionality is generally available and ready for production usage. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
APM Agent Java
1.30+
Generally available since 1.30
Setting this option to true will enable span compression feature. Span compression reduces the collection, processing, and storage overhead, and removes clutter from the UI. The tradeoff is that some information such as DB statements of all the compressed spans will not be collected.
| Default | Type | Dynamic |
|---|---|---|
true |
Boolean | true |
| Java System Properties | Property file | Environment |
|---|---|---|
elastic.apm.span_compression_enabled |
span_compression_enabled |
ELASTIC_APM_SPAN_COMPRESSION_ENABLED |
The Elastic APM Java agent enables you to trace the execution of operations in your Java applications, sending performance metrics and errors to the Elastic APM Server. Availability This functionality is generally available and ready for production usage. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
APM Agent Java
1.30+
Generally available since 1.30
Consecutive spans that are exact match and that are under this threshold will be compressed into a single composite span. This option does not apply to composite spans. This reduces the collection, processing, and storage overhead, and removes clutter from the UI. The tradeoff is that the DB statements of all the compressed spans will not be collected.
Supports the duration suffixes ms, s and m. Example: 50ms.
| Default | Type | Dynamic |
|---|---|---|
50ms |
TimeDuration | true |
| Java System Properties | Property file | Environment |
|---|---|---|
elastic.apm.span_compression_exact_match_max_duration |
span_compression_exact_match_max_duration |
ELASTIC_APM_SPAN_COMPRESSION_EXACT_MATCH_MAX_DURATION |
The Elastic APM Java agent enables you to trace the execution of operations in your Java applications, sending performance metrics and errors to the Elastic APM Server. Availability This functionality is generally available and ready for production usage. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
APM Agent Java
1.30+
Generally available since 1.30
Consecutive spans to the same destination that are under this threshold will be compressed into a single composite span. This option does not apply to composite spans. This reduces the collection, processing, and storage overhead, and removes clutter from the UI. The tradeoff is that the DB statements of all the compressed spans will not be collected.
Supports the duration suffixes ms, s and m. Example: 0ms.
| Default | Type | Dynamic |
|---|---|---|
0ms |
TimeDuration | true |
| Java System Properties | Property file | Environment |
|---|---|---|
elastic.apm.span_compression_same_kind_max_duration |
span_compression_same_kind_max_duration |
ELASTIC_APM_SPAN_COMPRESSION_SAME_KIND_MAX_DURATION |
The Elastic APM Java agent enables you to trace the execution of operations in your Java applications, sending performance metrics and errors to the Elastic APM Server. Availability This functionality is generally available and ready for production usage. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
APM Agent Java
1.30+
Generally available since 1.30
Exit spans are spans that represent a call to an external service, like a database. If such calls are very short, they are usually not relevant and can be ignored.
If a span propagates distributed tracing ids, it will not be ignored, even if it is shorter than the configured threshold. This is to ensure that no broken traces are recorded.
Supports the duration suffixes us, ms, s and m. Example: 0ms.
| Default | Type | Dynamic |
|---|---|---|
0ms |
TimeDuration | true |
| Java System Properties | Property file | Environment |
|---|---|---|
elastic.apm.exit_span_min_duration |
exit_span_min_duration |
ELASTIC_APM_EXIT_SPAN_MIN_DURATION |