Add ability to change Naming Mode for spring-rabbit-plugin#3424
Add ability to change Naming Mode for spring-rabbit-plugin#3424jackshirazi merged 9 commits intoelastic:mainfrom
Conversation
|
💚 CLA has been signed |
|
👋 @Cortana7 Thanks a lot for your contribution! It may take some time before we review a PR, so even if you don’t see activity for some time, it does not mean that we have forgotten about it. Every once in a while we go through a process of prioritization, after which we are focussing on the tasks that were planned for the upcoming milestone. The prioritization status is typically reflected through the PR labels. It could be pending triage, a candidate for a future milestone, or have a target milestone set to it. |
JonasKunz
left a comment
There was a problem hiding this comment.
First of all great work! And sorry for taking this long to review your PR. My only remarks are just two small doc changes.
You'll also need to run the ConfigurationExporterTest locally and commit the changed generated documentation files.
...t-tracer/src/main/java/co/elastic/apm/agent/tracer/configuration/MessagingConfiguration.java
Show resolved
Hide resolved
...t-tracer/src/main/java/co/elastic/apm/agent/tracer/configuration/MessagingConfiguration.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Jonas Kunz <Jonas.Kunz@gmx.net>
Co-authored-by: Jonas Kunz <Jonas.Kunz@gmx.net>
docs/configuration.asciidoc
Outdated
|
|
||
| A list of instrumentations which should be selectively enabled. | ||
| Valid options are `annotations`, `annotations-capture-span`, `annotations-capture-transaction`, `annotations-traced`, `apache-commons-exec`, `apache-httpclient`, `asynchttpclient`, `aws-lambda`, `aws-sdk`, `cassandra`, `concurrent`, `dubbo`, `elasticsearch-restclient`, `exception-handler`, `executor`, `executor-collection`, `experimental`, `finagle-httpclient`, `fork-join`, `grails`, `grpc`, `hibernate-search`, `http-client`, `jakarta-websocket`, `java-ldap`, `javalin`, `javax-websocket`, `jax-rs`, `jax-ws`, `jdbc`, `jdk-httpclient`, `jdk-httpserver`, `jedis`, `jms`, `jsf`, `kafka`, `lettuce`, `log-correlation`, `log-error`, `log-reformatting`, `logging`, `micrometer`, `mongodb`, `mongodb-client`, `okhttp`, `opentelemetry`, `opentelemetry-annotations`, `opentelemetry-metrics`, `opentracing`, `process`, `public-api`, `quartz`, `rabbitmq`, `reactor`, `redis`, `redisson`, `render`, `scala-future`, `scheduled`, `servlet-api`, `servlet-api-async`, `servlet-api-dispatch`, `servlet-input-stream`, `servlet-service-name`, `servlet-version`, `sparkjava`, `spring-amqp`, `spring-mvc`, `spring-resttemplate`, `spring-service-name`, `spring-view-render`, `spring-webclient`, `spring-webflux`, `ssl-context`, `struts`, `timer-task`, `urlconnection`, `vertx`, `vertx-web`, `vertx-webclient`, `websocket`. | ||
| Valid options are `annotations`, `annotations-capture-span`, `annotations-capture-transaction`, `annotations-traced`, `apache-commons-exec`, `apache-httpclient`, `asynchttpclient`, `aws-lambda`, `aws-sdk`, `cassandra`, `concurrent`, `dubbo`, `elasticsearch-restclient`, `exception-handler`, `executor`, `executor-collection`, `experimental`, `finagle-httpclient`, `fork-join`, `grails`, `grpc`, `hibernate-search`, `http-client`, `jakarta-websocket`, `javalin`, `javax-websocket`, `jax-rs`, `jax-ws`, `jdbc`, `jdk-httpclient`, `jdk-httpserver`, `jedis`, `jms`, `jsf`, `kafka`, `lettuce`, `log-correlation`, `log-error`, `log-reformatting`, `logging`, `micrometer`, `mongodb`, `mongodb-client`, `okhttp`, `opentelemetry`, `opentelemetry-annotations`, `opentelemetry-metrics`, `opentracing`, `process`, `public-api`, `quartz`, `rabbitmq`, `reactor`, `redis`, `redisson`, `render`, `scala-future`, `scheduled`, `servlet-api`, `servlet-api-async`, `servlet-api-dispatch`, `servlet-input-stream`, `servlet-service-name`, `servlet-version`, `sparkjava`, `spring-amqp`, `spring-mvc`, `spring-resttemplate`, `spring-service-name`, `spring-view-render`, `spring-webclient`, `spring-webflux`, `ssl-context`, `struts`, `timer-task`, `urlconnection`, `vertx`, `vertx-web`, `vertx-webclient`, `websocket`. |
There was a problem hiding this comment.
Looks like you disabled the LDAP-project locally, causing it to go missing here when generating the docs. I've regenerated docs and committed to your branch.
|
@elasticmachine run elasticsearch-ci/docs |
|
@jackshirazi Could you review this PR please? It would help us so much if it is part of the official agent! ;-) |
What does this PR do?
This PR adds the ability to change the Naming Mode for the spring-rabbit plugin. It offers 2 naming modes as a configuration option: EXCHANGE and QUEUE. EXCHANGE ist the default and does not change the plugins current behaviour. If one chooses QUEUE, then the names of the rabbit transactions contain the queue names instead of the exchange names.
See Issue #3421
Checklist