Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork200
Added OpenTelemetry REST endpoint for external systems to store logs in Salesforce#767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
c01b013
to2d5e814
Compare…external systems to store logging data in Salesforce, using OpenTelemetry's logs data model
…apped traceId to transactionId, and added more attributes for browser fields, HttpRequest fields, and HttpResponse fields
476eee8
to2d224d2
Compare2d224d2
tof0c63df
CompareCodecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #767 +/- ##==========================================+ Coverage 85.97% 91.51% +5.53%========================================== Files 17 59 +42 Lines 1319 6609 +5290 Branches 200 200 ==========================================+ Hits 1134 6048 +4914- Misses 165 541 +376 Partials 20 20
Flags with carried forward coverage won't be shown.Click here to find out more. ☔ View full report in Codecov by Sentry. |
@anuragoyar it looks like you've copied/pasted some AI-generated reviews of this PR.... any particular reason that you're adding these as comments? |
anengineerdude commentedMay 21, 2025
@anuragoyar #badbot |
jongpie commentedMay 21, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I... wasn't expecting 4 more AI-generated comments in response tomy question 😅@anuragoyar I'm not sure what's going on with your comments (presumably, you've setup some automated bot that's gone rogue?), but I'm blocking you for now to stop the comments, and I'm hiding/deleting several of your comments as they're just adding noise to this PR. |
What a mess |
Resolved#635 by adding a new
LoggerRestResource
Apex class that can be called by external systems to store external logging data in Salesforce, using OpenTelemetry's logs data model.For now, this only includes the ability to store logging data, and only a handful of attributes are supported. Future releases will include:
Log__c
andLogEntry__c
GET
endpoint that could be used to also retrieve logging data from Salesforce in OpenTelemetry (OTel) format, but the complexity was growing with that effort, so I'll revisit it in a separate PR/release