Versions Compared

    Key

    • This line was added.
    • This line was removed.
    • Formatting was changed.
    Comment: Published by Scroll Versions from this space and version 20.5
    Sv translation
    languageen
    Appd tocbox

    Related pages:

    The JavaScript Agent collects and sends information to the EUM Server via a beacon, either through Cross-Origin Resource Sharing (CORS) or an image beacon which returns a small, transparent .gif file.

    If you want the Agent to only use CORS to transport the beacon, you can turn off the image beacon request mechanism. To turn off the image beacon request, add the following snippet to your HTML preceding the injected adrum.js script:

    Code Block
    languagejs
    <head>
        <script type='text/javascript' charset='UTF-8'>
           (function (cfg) {
               if (cfg.beacon) cfg.beacon.neverSendImageBeacon = true;
               else cfg.beacon = { neverSendImageBeacon: true };
            })(window['adrum-config'] || (window['adrum-config'] = {}));
        </script>
        <script src='//cdn.appdynamics.com/adrum/adrum-latest.js' type='text/javascript' charset='UTF-8'></script>
        ...
    </head>




    Sv translation
    languageja
    Appd tocbox

    Related pages

    JavaScript エージェントは、収集した情報をビーコン経由で EUM サーバに送信します。これには、Cross-Origin Resource Sharing(CORS)または小さな透過 .gif ファイルを返すイメージリクエストを使用します。エージェントが CORS のみを使用してビーコンを送信する場合は、イメージ リクエスト メカニズムをオフにできます。 

    adrum.js スクリプトを挿入する前に、次のスニペットをページに追加します。 

    Code Block
    languagejs
    <head>
        <script type="text/javascript" charset="UTF-8">
           (function (cfg) {
               if (cfg.beacon) cfg.beacon.neverSendImageBeacon = true;
               else cfg.beacon = { neverSendImageBeacon: true };
            })(window['adrum-config'] || (window['adrum-config'] = {}));
        </script>
        <script src="//cdn.appdynamics.com/adrum/adrum-latest.js" type="text/javascript" charset="UTF-8"/>
        ...
    </head>