-
-
Notifications
You must be signed in to change notification settings - Fork 165
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added OpenTelemetry REST endpoint for external systems to store logs in Salesforce #767
Draft
jongpie
wants to merge
5
commits into
main
Choose a base branch
from
feature/logger-rest-resource
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…external systems to store logging data in Salesforce, using OpenTelemetry's logs data model
jongpie
added
Type: Enhancement
New feature or request
Layer: Log Management
Items related to the custom objects & Logger Console app
Layer: Logger Engine
Items related to the core logging engine
Logging Source: API
Items related to using Nebula Logger via REST API
Feature: OpenTelemetry Support
Items to related to supporting OpenTelemetry (OTel) and its standards for observability data
labels
Sep 18, 2024
jongpie
temporarily deployed
to
Advanced Scratch Org
September 18, 2024 14:24
— with
GitHub Actions
Inactive
jongpie
temporarily deployed
to
Event Monitoring Scratch Org
September 18, 2024 14:24
— with
GitHub Actions
Inactive
jongpie
temporarily deployed
to
Base Scratch Org
September 18, 2024 14:24
— with
GitHub Actions
Inactive
jongpie
temporarily deployed
to
OmniStudio Scratch Org
September 18, 2024 14:37
— with
GitHub Actions
Inactive
jongpie
temporarily deployed
to
Platform Cache Scratch Org
September 18, 2024 14:38
— with
GitHub Actions
Inactive
jongpie
temporarily deployed
to
Experience Cloud Scratch Org
September 18, 2024 14:50
— with
GitHub Actions
Inactive
…apped traceId to transactionId, and added more attributes for browser fields, HttpRequest fields, and HttpResponse fields
jongpie
force-pushed
the
feature/logger-rest-resource
branch
from
September 20, 2024 02:48
c01b013
to
2d5e814
Compare
jongpie
temporarily deployed
to
Advanced Scratch Org
September 20, 2024 02:52
— with
GitHub Actions
Inactive
jongpie
temporarily deployed
to
Base Scratch Org
September 20, 2024 02:52
— with
GitHub Actions
Inactive
jongpie
temporarily deployed
to
Event Monitoring Scratch Org
September 20, 2024 02:52
— with
GitHub Actions
Inactive
jongpie
temporarily deployed
to
Platform Cache Scratch Org
September 20, 2024 03:05
— with
GitHub Actions
Inactive
jongpie
temporarily deployed
to
OmniStudio Scratch Org
September 20, 2024 03:08
— with
GitHub Actions
Inactive
jongpie
temporarily deployed
to
Experience Cloud Scratch Org
September 20, 2024 03:13
— with
GitHub Actions
Inactive
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #767 +/- ##
==========================================
- Coverage 92.24% 92.24% -0.01%
==========================================
Files 74 75 +1
Lines 7211 7541 +330
Branches 199 199
==========================================
+ Hits 6652 6956 +304
- Misses 531 557 +26
Partials 28 28
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Feature: OpenTelemetry Support
Items to related to supporting OpenTelemetry (OTel) and its standards for observability data
Layer: Log Management
Items related to the custom objects & Logger Console app
Layer: Logger Engine
Items related to the core logging engine
Logging Source: API
Items related to using Nebula Logger via REST API
Type: Enhancement
New feature or request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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