RestResource to log results of integrations on parent transaction #628
Replies: 2 comments 10 replies
-
Hi @dschibster that's incredible to hear that you're seeing so much usage of Nebula Logger! 🥳 I think the idea of adding a RestResource endpoint is definitely worth considering - I've built & used a few basic prototypes in the past for this, but I never developed the prototypes enough to actually release them here in GitHub. I think that there are 2 valid use cases for having a RestResource class for Nebula Logger:
I completely agree with being hesitant about introducing new REST endpoints, and I don't think this feature would be needed by everyone using Nebula Logger. But for orgs with a lot of external integrations, multiple environments, and other similar complexities, I think having a RestResource endpoint built into Nebula Logger could be very useful. Depending on how its built, it could be implemented in a way that helps with both monitoring of external systems and data portability. Let me know what you think! |
Beta Was this translation helpful? Give feedback.
-
Came across this discussion for a very similar use case. I am implementing several integrations to SF via Mulesoft and heavily debating where Mulesoft logging should lie. While there is still merit in something like OpenTelemetry for mass ingestion of Mule logs, having some consise logging for scheduled integrations and simplistic error handling at a high level that would should up in NebulaLogger would be a great UX for the SF Admins. A RestResource certainly seems like a great way to doing this. Looking forward to it and happy to test out any ideas. While I am getting good with SF admin and Mule, my package development and Apex skill is still pretty basic, so I am not to much help on the development side. |
Beta Was this translation helpful? Give feedback.
-
Hi @jongpie,
happy to report that since I presented Nebula Logger at the Salesforce Architects meetup in Düsseldorf, there's hardly a project where I don't see it in use. :)
Right now in one of our projects, we are also using it to log all of our Apex Transactions. However, and this is where things become interesting, we are integrating with MuleSoft. MuleSoft is asynchronously handling the transformation and load into different systems (and Salesforce too). All we get back at the time of sending our payload is a Success.
Of course, we also want to get to know about errors happening in MuleSoft. We were contemplating creating a RestResource for external Systems to give information back to us, for example by creating a new Log (As Parent Log) under the one that triggered the integration itself.
Before we go into further detail creating this ourselves (because architectural guidelines are hestitant about letting us create endpoints), what do you think, would you consider it a worthwile addition to Nebula Logger in general?
BR
Dennis
Beta Was this translation helpful? Give feedback.
All reactions