# Solace transactions are not visible in open open-telementry traces

**URL:** https://discuss.elastic.co/t/solace-transactions-are-not-visible-in-open-open-telementry-traces/373061
**Category:** APM
**Tags:** open-telemetry
**Created:** [January 10, 2025, 1:20pm UTC](https://discuss.elastic.co/t/solace-transactions-are-not-visible-in-open-open-telementry-traces/373061 "2025-01-10T13:20:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nishatalreja](https://avatars.discourse-cdn.com/v4/letter/n/a3d4f5/32.png) [@nishatalreja](https://discuss.elastic.co/u/nishatalreja)
#### Post date: [January 10, 2025, 1:20pm UTC](https://discuss.elastic.co/t/solace-transactions-are-not-visible-in-open-open-telementry-traces/373061/1 "2025-01-10T13:20:22Z")

</div>

We are not able to see received and sent solace messages in apm traces and transactions:

**Kibana version** :NA

**Elasticsearch version** :1.33.4

**APM Server version** :1.33.4

**APM Agent language and version** : Jdk8

**Browser version** : Chrome Version 131.0.6778.70

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**:downloaded and copied jar in unix host

**Fresh install or upgraded from other version?** Fresh install

Not able to see solace transactions for our application:

Tried below ways and replaced with correct url:

1.With apm otl jar

java -javaagent:/home/cetqa/otl/elastic-apm-agent-opentelemetry-1.33.4.jar -Dotel.exporter.otlp.endpoint= -Dotel.exporter.otlp.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.exporter.otlp.traces.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.exporter.otlp.metrics.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.exporter.otlp.logs.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.traces.exporter=otlp -Dotel.metrics.exporter=otlp -Dotel.traces.exporter=otlp -Dotel.metrics.exporter=otlp -Dotel.resource.attributes=service.name=ctp1\_BBGBXCAEMPricingGateway,service.version=1.1,deployment.environment=uat

2.With open telementry jar

java -javaagent:/home/cetqa/apm/opentelemetry-javaagent-2.11.0.jar -Dotel.javaagent.extensions=/home/cetqa/otl/solace-opentelemetry-jms-integration-1.1.0.jar -Dotel.propagators=solace\_jms\_tracecontext -Dotel.exporter.otlp.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.exporter.otlp.traces.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.exporter.otlp.metrics.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.exporter.otlp.logs.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.traces.exporter=otlp -Dotel.metrics.exporter=otlp -Dotel.traces.exporter=otlp -Dotel.metrics.exporter=otlp -Dotel.exporter.otlp.endpoint= -Dotel.traces.exporter=otlp -Dotel.metrics.exporter=none -Dotel.instrumentation.jms.enabled=true -Dotel.resource.attributes="service.name=ctp1\_BBGBXCAEMPricingGateway"

Not able to see any of the solace transactions with either ways ,we are using one barclays library which is based on sol-jcsmp library

**Provide logs and/or server output (if relevant)**:  
otel.exporter.otlp.metrics.certificate="/home/cetqa/otl/tls-ca-bundle.pem"  
otel.exporter.otlp.certificate="/home/cetqa/otl/tls-ca-bundle.pem"  
otel.exporter.otlp.endpoint=""  
io.opentelemetry.javaagent.slf4j.simpleLogger.dateTimeFormat="'[otel.javaagent 'yyyy-MM-dd HH:mm:ss:SSS Z']'"  
otel.resource.attributes="service.name=ctp1\_BBGBXCAEMPricingGateway"  
otel.traces.exporter="otlp"

---

<div class="post-metadata">

### Author: ![Sylvain\_Juge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvain_juge/32/55521_2.png) [@Sylvain\_Juge](https://discuss.elastic.co/u/Sylvain_Juge)
#### Post date: [January 10, 2025, 2:48pm UTC](https://discuss.elastic.co/t/solace-transactions-are-not-visible-in-open-open-telementry-traces/373061/2 "2025-01-10T14:48:05Z")

</div>

Hi,

Solace seems to be a proprietary platform that is unlikely to be supported by instrumentation, either with APM agent or the OpenTelemetry instrumentation agent. For such products the vendor is usually in charge of providing otel integration (which could be in the form of the jar that you've added as javaagent extension).

I would recommend checking the vendor documentation, for example I saw they have an high-level article about their otel integration: [https://solace.com/blog/opentelemetry-distributed-tracing-solution/#Introduction](https://solace.com/blog/opentelemetry-distributed-tracing-solution/#Introduction), without having access to an instance of this product makes it impossible for us to try and test any deployment with it.

---

<div class="post-metadata">

### Author: ![nishatalreja](https://avatars.discourse-cdn.com/v4/letter/n/a3d4f5/32.png) [@nishatalreja](https://discuss.elastic.co/u/nishatalreja)
#### Post date: [January 15, 2025, 8:03am UTC](https://discuss.elastic.co/t/solace-transactions-are-not-visible-in-open-open-telementry-traces/373061/3 "2025-01-15T08:03:47Z")

</div>

hi,

I tried with the arguments mentioned in the link shared by you but that also does not show any solace traces for our service. Also could you please confirm if there are any changes required at solace broker or vpn level to connect to open-telementry?

We are adding below parameters to connect to otl:

-javaagent:/home/cetqa/otl/opentelemetry-javaagent-2.11.0.jar -Dotel.javaagent.extensions=/home/cetqa/otl/solace-opentelemetry-jms-integration-1.1.0.jar -Dotel.propagators=solace\_jms\_tracecontext -Dotel.exporter.otlp.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.exporter.otlp.traces.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.exporter.otlp.metrics.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.exporter.otlp.logs.certificate=/home/cetqa/otl/tls-ca-bundle.pem -Dotel.instrumentation.jms.enabled=true -Dotel.exporter.otlp.endpoint= -Dotel.traces.exporter=otlp -Dotel.metrics.exporter=none -Dotel.resource.attributes="service.name=ctp1\_BBGBXCAEMPricingGateway.version=1.1,deployment.environment=uat"

---

<div class="post-metadata">

### Author: ![Sylvain\_Juge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvain_juge/32/55521_2.png) [@Sylvain\_Juge](https://discuss.elastic.co/u/Sylvain_Juge)
#### Post date: [January 15, 2025, 10:08am UTC](https://discuss.elastic.co/t/solace-transactions-are-not-visible-in-open-open-telementry-traces/373061/4 "2025-01-15T10:08:21Z")

</div>

I really can't tell where the issue could be here as it would require me to have access to an instance of this platform to experiment with it.

However, you might need to check the value of `otel.exporter.otlp.endpoint` as it appears to be empty in what you provided here.

For further debugging I would recommend:

- configure the [instrumentation debug logging](https://opentelemetry.io/docs/zero-code/java/agent/getting-started/#troubleshooting)
- use an otel collector instance with [debug exporter](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/debugexporter/README.md) to see what data is being received

In addition to that, reaching out to Solace customer support would also likely help you identify other aspects that might not be obvious like the versions supporting it, or some specific configuration required for your environment.
