Type to search.

Messaging configuration options

Serverless Observability

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Stack

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available

    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.

APM Agent Java

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

  • Generally available

    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.

Used to filter out specific messaging queues/topics from being traced.

This property should be set to an array containing one or more strings. When set, sends-to and receives-from the specified queues/topic will be ignored.

This option supports the wildcard *, which matches zero or more characters. Examples: /foo/*/bar/*/baz*, *foo*. Matching is case insensitive by default. Prepending an element with (?-i) makes the matching case sensitive.

dynamic config

Default Type Dynamic
<none> List true
Java System Properties Property file Environment
elastic.apm.ignore_message_queues ignore_message_queues ELASTIC_APM_IGNORE_MESSAGE_QUEUES

APM Agent Java 1.36+

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

  • Generally available since 1.36

    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.

Defines which packages contain JMS MessageListener implementations for instrumentation. When empty (default), all inner-classes or any classes that have Listener or Message in their names are considered.

This configuration option helps to make MessageListener type matching faster and improve application startup performance.

Starting from version 1.43.0, the classes that are part of the application_packages option are also included in the list of classes considered.

Default Type Dynamic
<none> Collection false
Java System Properties Property file Environment
elastic.apm.jms_listener_packages jms_listener_packages ELASTIC_APM_JMS_LISTENER_PACKAGES

APM Agent Java 1.46+

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

  • Generally available since 1.46

    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.

Defines whether the agent should use the exchanges, the routing key or the queue for the naming of RabbitMQ Transactions. Valid options are QUEUE, ROUTING_KEY and EXCHANGE. Note that QUEUE only works when using RabbitMQ via spring-amqp and ROUTING_KEY only works for the non spring-client.

dynamic config

Valid options: EXCHANGE, QUEUE, ROUTING_KEY

Default Type Dynamic
EXCHANGE RabbitMQNamingMode true
Java System Properties Property file Environment
elastic.apm.rabbitmq_naming_mode rabbitmq_naming_mode ELASTIC_APM_RABBITMQ_NAMING_MODE