19 Jun 2023
08:28 PM
- last edited on
10 Jul 2023
04:12 AM
by
Karolina_Linda
I am looking for an example implementation of Opentelemetry with Partner Hub/ Customer Hub.
there are 2 links where this possibility is declared:
https://engineering.salesforce.com/5-design-patterns-for-building-observable-services-d56e7a330419/
https://engineering.salesforce.com/anomaly-detection-in-zipkin-trace-data-87c8a2ded8a1/
And here it was RFE submitted:
https://ideas.salesforce.com/s/idea/a0B8W00000GdYP7UAN/improve-traceability-of-api-requests-in-end2e...
But will it work with Dynatrace?
(Indeed we are not going to buy SF-shield and Dyna SF plugin)
I'm a bit confused as to what is the question here.
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.
Please correct me if I'm reading that incorrectly.
You can ingest OpenTelemetry data into Dynatrace of course. If I understand your question correctly, you would like to ingest the trace data Salesforce collects into Dynatrace.
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.
"You can ingest OpenTelemetry data into Dynatrace of course."
Sorry but do you have successful proof, or is this just "theoretical"?
We failed. The default aura API has dead-end info SF - all traces, headers are wiped out.
No, this is not theoretical. I know it works because I've seen it work (NB: Not with data from Salesforce).
However, I still think there is a misunderstanding.
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).
I also wouldn't be surprised if they didn't expose that data publicly.
Hi Slawa, Dynatrace support traces ingested by Open Telemetry, please refer to docs here. https://www.dynatrace.com/support/help/extend-dynatrace/opentelemetry
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.
@Slawa
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.
@Slawa, I second what @ben_wrightson wrote, the question is not entirely clear to me either, I am afraid.
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 https://www.dynatrace.com/support/help/shortlink/opentelemetry-otlp. Please do note, Dynatrace currently only supports binary-encoded messages on HTTPS.
If your setup uses technology listed at https://www.dynatrace.com/support/help/shortlink/opentelemetry-oneagent, you could also use OneAgent to have it automatically ingested.
However, that all requires that your platform does create and emit the necessary OpenTelemetry signals.
Sorry, maybe I mislead
The question was only for people who had hands-on experience with Salesforce + Dynatrace.
Will it works E2E or not? From hands-on experience.
Please ignore this topic.
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)