<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Open telemetry with Salesforce - is it working with dynatrace? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215987#M27061</link>
    <description>&lt;P&gt;AFAIK - you don't have hands-on experience with the Salesforce platform + Open telemetry.&lt;BR /&gt;But I am looking exactly a success case to not waste time.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2023 18:46:26 GMT</pubDate>
    <dc:creator>Slawa</dc:creator>
    <dc:date>2023-06-23T18:46:26Z</dc:date>
    <item>
      <title>OpenTelemetry with Salesforce - is it working with Dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215399#M26944</link>
      <description>&lt;P&gt;I am looking for an example implementation of Opentelemetry with Partner Hub/ Customer Hub.&lt;BR /&gt;&lt;BR /&gt;there are 2 links where this possibility is declared:&lt;BR /&gt;&lt;A href="https://engineering.salesforce.com/5-design-patterns-for-building-observable-services-d56e7a330419/" target="_blank" rel="noopener"&gt;https://engineering.salesforce.com/5-design-patterns-for-building-observable-services-d56e7a330419/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://engineering.salesforce.com/anomaly-detection-in-zipkin-trace-data-87c8a2ded8a1/" target="_blank" rel="noopener"&gt;https://engineering.salesforce.com/anomaly-detection-in-zipkin-trace-data-87c8a2ded8a1/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And here it was RFE submitted:&lt;BR /&gt;&lt;A href="https://ideas.salesforce.com/s/idea/a0B8W00000GdYP7UAN/improve-traceability-of-api-requests-in-end2end-crossplatform-processes" target="_blank" rel="noopener"&gt;https://ideas.salesforce.com/s/idea/a0B8W00000GdYP7UAN/improve-traceability-of-api-requests-in-end2end-crossplatform-processes&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;But will it work with Dynatrace?&lt;BR /&gt;(Indeed we are &lt;STRONG&gt;not&lt;/STRONG&gt; going to buy SF-shield and Dyna SF plugin)&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 03:12:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215399#M26944</guid>
      <dc:creator>Slawa</dc:creator>
      <dc:date>2023-07-10T03:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Open telemetry with Salesforce - is it working with dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215837#M27026</link>
      <description>&lt;P&gt;I'm a bit confused as to what is the question here.&lt;/P&gt;
&lt;P&gt;The first link describes general design patterns / best practices for software development. The second one describes how Salesforce works with their traces internally. The third is an RFE that would allow connecting observability data inside Salesforce with observability data outside of Salesforce.&lt;BR /&gt;Please correct me if I'm reading that incorrectly.&lt;/P&gt;
&lt;P&gt;You can ingest OpenTelemetry data into Dynatrace &lt;A href="https://www.dynatrace.com/support/help/shortlink/opentelemetry" target="_self"&gt;of course&lt;/A&gt;. If I understand your question correctly, you would like to ingest the trace data Salesforce collects into Dynatrace.&lt;/P&gt;
&lt;P&gt;From my experience, the hurdles for such a setup usually are not so much technical as they are commercial - OpenTelemetry data from a SaaS platform could allow valuable insights into the SaaS platform, but could also expose technical data from that platform which may be considered trade secrets. So you'd have to discuss that with Salesforce first.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 16:19:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215837#M27026</guid>
      <dc:creator>ben_wrightson</dc:creator>
      <dc:date>2023-06-22T16:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: OpenTelemetry with Salesforce - is it working with Dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215846#M27031</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;You can ingest OpenTelemetry data into Dynatrace&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/opentelemetry" target="_self" rel="noopener noreferrer"&gt;of course&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;Sorry but do you have successful proof, or is this just "theoretical"?&lt;BR /&gt;&lt;BR /&gt;We failed. The default aura API has dead-end info SF - all traces, headers are wiped out.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 19:09:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215846#M27031</guid>
      <dc:creator>Slawa</dc:creator>
      <dc:date>2023-08-01T19:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Open telemetry with Salesforce - is it working with dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215878#M27041</link>
      <description>&lt;P&gt;Hi Slawa, Dynatrace support traces ingested by Open Telemetry, please refer to docs here. &lt;A href="https://www.dynatrace.com/support/help/extend-dynatrace/opentelemetry" target="_blank"&gt;https://www.dynatrace.com/support/help/extend-dynatrace/opentelemetry&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That being said, Salesforce or whichever source of traces you are working with that is compatible with Otel should be able to communicate with Dynatrace.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 04:25:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215878#M27041</guid>
      <dc:creator>estebancortes</dc:creator>
      <dc:date>2023-06-23T04:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Open telemetry with Salesforce - is it working with dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215967#M27058</link>
      <description>&lt;P&gt;No, this is not theoretical. I know it works because I've seen it work (NB: Not with data from Salesforce).&lt;/P&gt;
&lt;P&gt;However, I still think there is a misunderstanding.&lt;/P&gt;
&lt;P&gt;Dynatrace can ingest OpenTelemetry data; OpenTelemetry is a standard (independent of vendors like Salesforce). What I don't know is whether Salesforce will provide that data to customers. I haven't found anywhere in the articles where it says they do that (they say they use it internally, but that doesn't mean that you can access that data from the outside). &lt;BR /&gt;I also wouldn't be surprised if they didn't expose that data publicly.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 14:12:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215967#M27058</guid>
      <dc:creator>ben_wrightson</dc:creator>
      <dc:date>2023-06-23T14:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Open telemetry with Salesforce - is it working with dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215987#M27061</link>
      <description>&lt;P&gt;AFAIK - you don't have hands-on experience with the Salesforce platform + Open telemetry.&lt;BR /&gt;But I am looking exactly a success case to not waste time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 18:46:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/215987#M27061</guid>
      <dc:creator>Slawa</dc:creator>
      <dc:date>2023-06-23T18:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Open telemetry with Salesforce - is it working with dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/216118#M27116</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/60907"&gt;@Slawa&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;What I've been trying to tell you is that I don't believe Salesforce exposes their OpenTelemetry data publicly, so until I see information to the contrary I believe an integration will not be possible.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 15:10:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/216118#M27116</guid>
      <dc:creator>ben_wrightson</dc:creator>
      <dc:date>2023-06-26T15:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Open telemetry with Salesforce - is it working with dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/216335#M27170</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/60907"&gt;@Slawa&lt;/a&gt;, I second what&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/937"&gt;@ben_wrightson&lt;/a&gt; wrote, the question is not entirely clear to me either, I am afraid.&lt;/P&gt;
&lt;P&gt;Are you asking if you can ingest OpenTelemetry data with Dynatrace? If so, yes, absolutely. You can find more information on the OTLP specifics at&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/shortlink/opentelemetry-otlp" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/shortlink/opentelemetry-otlp&lt;/A&gt;. Please do note, Dynatrace currently only supports binary-encoded messages on HTTPS.&lt;/P&gt;
&lt;P&gt;If your setup uses technology listed at&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/shortlink/opentelemetry-oneagent," target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/shortlink/opentelemetry-oneagent,&lt;/A&gt;&amp;nbsp;you could also use OneAgent to have it automatically ingested.&lt;/P&gt;
&lt;P&gt;However, that all requires that your platform does create and emit the necessary OpenTelemetry signals.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 08:14:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/216335#M27170</guid>
      <dc:creator>alexander_dt</dc:creator>
      <dc:date>2023-06-28T08:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Open telemetry with Salesforce - is it working with dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/216369#M27176</link>
      <description>&lt;P&gt;Sorry, maybe I mislead&lt;BR /&gt;The question was &lt;STRONG&gt;only&lt;/STRONG&gt; for people who had&amp;nbsp;&lt;STRONG&gt;hands-on&lt;/STRONG&gt; experience with Salesforce + Dynatrace.&lt;BR /&gt;Will it works E2E or not? From&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;hands-on&lt;/STRONG&gt; experience.&lt;BR /&gt;Please ignore this topic.&lt;BR /&gt;No theory, no one agent (who works with SF - knows that in SaaS that's not possible, only PaaS Heroku with the limitation for traces)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 11:22:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/216369#M27176</guid>
      <dc:creator>Slawa</dc:creator>
      <dc:date>2023-06-28T11:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Open telemetry with Salesforce - is it working with dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/270249#M35740</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/60907"&gt;@Slawa&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I am also working on a solution to ingest enterprise Salesforce data into Dynatrace. Have you found any solutions here?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cullin&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 20:15:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/270249#M35740</guid>
      <dc:creator>cullinflynn</dc:creator>
      <dc:date>2025-02-17T20:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: OpenTelemetry with Salesforce - is it working with Dynatrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/270269#M35741</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/60907"&gt;@Slawa&lt;/a&gt;&amp;nbsp;, if you are not going to purchase the available plugins, then your options are limited.&lt;/P&gt;&lt;P&gt;you're not really providing much about what you have in Sales Force, so here's a generic answer.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Only relevant if you have custom apps.&lt;BR /&gt;You can use Apex to create custom HTTP callouts to send traces or custom events to Dynatrace.&lt;BR /&gt;&lt;BR /&gt;This will involve:&lt;BR /&gt;Creating a HTTP Callout to Dynatrace&amp;nbsp;by using Apex to make a HTTP callout to the Dynatrace API endpoint.&lt;BR /&gt;you'll need an apex class sort of like the below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;public class DynatraceIntegration {
    
    // The endpoint for Dynatrace custom events API
    private static final String DYNATRACE_API_URL = 'https://{environmentid}.live.dynatrace.com/api/v1/events';
    private static final String DYNATRACE_API_TOKEN = 'YOUR_DYNATRACE_API_TOKEN';

    public static void sendCustomEvent(String eventName, String eventDetails) {
        // Prepare the request headers
        Map&amp;lt;String, String&amp;gt; headers = new Map&amp;lt;String, String&amp;gt;();
        headers.put('Authorization', 'Api-Token ' + DYNATRACE_API_TOKEN);
        headers.put('Content-Type', 'application/json');
        
        // Prepare the request body
        String body = '{"eventType":"CUSTOM","title":"' + eventName + '","description":"' + eventDetails + '","source":"Salesforce Apex","customProperties":{"salesforceEvent":"true"}}';
        
        // Send the HTTP request to Dynatrace
        HttpRequest req = new HttpRequest();
        req.setEndpoint(DYNATRACE_API_URL);
        req.setMethod('POST');
        req.setHeaders(headers);
        req.setBody(body);

        Http http = new Http();
        HttpResponse res = http.send(req);

        // Log the response
        System.debug('Dynatrace Response: ' + res.getBody());
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You can then trigger this class when specific events occur in your Salesforce environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// Trigger this in your Apex logic when an event occurs
DynatraceIntegration.sendCustomEvent('Record Updated', 'Salesforce record has been updated successfully.');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you don't have a custom App, then the only other option is to us the SF API to get events into Dynatrace.&lt;BR /&gt;This will involve you creating a custom integration:&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/ingest-from/extensions20/data-sources/python" target="_blank" rel="noopener"&gt;Dynatrace Extensions Python SDK — Dynatrace Docs&lt;/A&gt;&lt;BR /&gt;based on your own version of:&amp;nbsp;&lt;A href="https://www.dynatrace.com/hub/detail/salesforce-event-streaming-v2/?query=salesforce&amp;amp;filter=all" target="_blank" rel="noopener"&gt;Salesforce Extension monitoring &amp;amp; observability | Dynatrace Hub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This will allow you go get events based on API calls, user actions, or login events. You would need to host this on a local Active Gate and pull the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RUM components, you can just rip off the extension steps.&lt;BR /&gt;&lt;BR /&gt;Anyway, have fun building your own solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 02:02:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/OpenTelemetry-with-Salesforce-is-it-working-with-Dynatrace/m-p/270269#M35741</guid>
      <dc:creator>gopher</dc:creator>
      <dc:date>2025-02-18T02:02:43Z</dc:date>
    </item>
  </channel>
</rss>

