• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Christian S. · Oct 22, 2015 at 01:47 PM ·

Can we please get an example of a message, that is being sent from a SOAP Gateway client via http to an IMS SOAP Gateway, of course containing an X-dynaTrace tag?

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

10 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image
Best Answer

Answer by Christian S. · Oct 22, 2015 at 04:01 PM

hi Christian,

first of all a little background about SOAP message tagging:

Dynatrace AppMon does not tag SOAP messages, but the transport layer underneath. this means that Dynatrace can tag SOAP messages that are sent via HTTP - which is the most common scenario - and other supported protocols, but not over non-supported protocols (e.g. proprietary TCP communication).

for easier understanding I'll create an example SOAP/HTTP message:

POST /soap/question HTTP/1.1
Host: answers.dynatrace.com
Content-Type: text/xml; charset="utf-8"
SOAPAction="http://answers.dynatrace.com/soap/question"
X-dynaTrace: FW1;1121751920;2030659734;607725;2;2030659734;607724;3

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
 xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:dt="http://answers.dynatrace.com/soap/">
   <soap:Body>
      <dt:Question>
          Can we please get an example of a message, that is being sent from a SOAP Gateway client via http to an IMS SOAP Gateway, of course containing an X-dynaTrace tag?
      </dt:Question>
   </soap:Body>
</soap:Envelope>

so you can see the Dynatrace tag as a HTTP header before the SOAP message starts in the HTTP request body.

HTH, Christian

Comment
Christian S.

People who like this

1 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Christian S. · Nov 02, 2015 at 10:39 AM

hi Jürg,

just a little more background information about (not) SOAP tagging: we thought about that in the past, but due to several reasons we decided against it:

  1. Intrusiveness (as the other Christian already mentioned): we try to keep our message/request modifications as low as possible, because we ran into customers and their apps which would break because of them, even if the modifications were completely standards-conform (e.g. we already had customers which had problems with our 'X-' HTTP header, which should be completely ignored defined by the RFC)
  2. Double-tagging: as we already tag the usually underlying HTTP protocol we could easily run into scenarios where we would double-tag a message/request, which could also result in e.g. 1 SOAP message being sent over multiple HTTP requests (as in your scenario). we already have prevention mechanisms for this, but in this case usually the outermost protocol wins, which would be again: HTTP. it's simply a matter of don't knowing what will be finally transported via HTTP.
  3. Effort: we already have HTTP tagging in place for a lot of different technologies and implementations. implementing SOAP tagging would again mean that we would have to set up environments, create tests and write code for different technologies and implementations, though we already cover the mostly-used scenario (HTTP/SOAP) without that.

hope this helps understanding our decision making, Christian

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Christian S. · Oct 30, 2015 at 10:17 AM

Thanks, this is interesting information. Best regards, Christian

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Jürg S. · Oct 30, 2015 at 09:29 AM

Just as Info : There exists several official way to adjust the SOAP Header. CS also includes a own "CS-WsHeader" in the SOAP Header without affecting others.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Christian S. · Oct 29, 2015 at 12:35 PM

Hello Juerg,

The Dynatrace collector / server knows which SOAP Gateway agent set a particular tag, so the tag doesn’t need to be universally unique, it just needs to be unique within a single SOAP gateway process. As per IBM the IBM tracking ID is unique within a single SOAP gateway.

So multiple SGW agents can connect to one Collector.

We do not change the SOAP header, because that could affect the application, which we want to avoid for obvious reasons.

Best regards, Christian

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Jürg S. · Oct 29, 2015 at 10:36 AM

Ok so tracking Id must be unique over all SOAP Gateways connected to the same collector. To guarantee that we need one collector per SGW !

What's happen if the collector doesn't get this info fast enough ?

In general this technic is not a very sophisticated. Smarter would be to insert the tag into the SOAP Header.

This way the tag would be sent to IMS automatically ! :-)

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Christian S. · Oct 29, 2015 at 10:17 AM

Hello Jürg,

the X-dynaTrace tag is inserted by a Dynatrace agent in the JXJ tier before going via SOA Backplane into IMS SOAP Gateway. The X-dynaTrace tag is not going through to IMS, as it is dropped by SOAP Gateway. Therefore we need an agent there to be able to correlate the distributed transaction with the IMS transaction. The SOAP Gateway agent sends the X-dynaTrace tag and the IBM tracking ID via the Dynatrace Collector to the Dynatrace Server. This information can then be used to correlate the distributed transaction with the IMS transaction.

Hope this helps.

Best regards, Christian

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Jürg S. · Oct 28, 2015 at 06:28 AM

One question more : The HTTP part will not be forwarded to IMS over the SGW. So how comes this tag to IMS ?

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Jürg S. · Oct 28, 2015 at 06:20 AM

Hi Chris,

Ok so far. So the tag will be inserted on the client side. But who will do this injection ? Is that a dynatrace agent called by the client ? And the agent for the Soap Gateway will not be involved at all for this tagging. Correct ?

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Christian S. · Oct 22, 2015 at 04:33 PM

Hi Chris, that's very helpful, thanks! Cheers, Christian

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A