[nr-ebpf-agent] Changes for release 1.4.0#2183
Merged
kkhandelwal-nr merged 19 commits intomasterfrom Apr 27, 2026
Merged
Conversation
…workMetricsReporting and additional filter configs (#2154) #### What this PR does / why we need it: Functionality to honor auto, true and false in reportAPMData and reportNetworkMetrics. Controls APM data reporting. Accepted values: 'true' (always send), 'false' (never send), 'auto' (send only when neither APM nor OTel agent is attached) ###Deprecated following 1. apmDataReporting 2. networkMetricsReporting Removed following field. 1. apmDataFilters.dropEapmForApmEnabledEntity as the global flag is sufficient.
This PR contains changes related to adding custom OTLP endpoint support in eBPF agent.
#### What this PR does / why we need it: - `APPLICATION_LOG_LEVEL_THRESHOLD` env > Minimum log level to report (e.g., TRACE, DEBUG, INFO, WARN, ERROR). Default: `INFO` - `REPORT_LOGS` env > "true" — Always report application logs regardless of other settings. "false" (Default) — Never report application logs. "auto" — Reports application logs by default, but automatically suppresses them if an APM agent is detected with the entity. **Precedence Rules -** If `REPORT_APM_DATA` is set to `false` or `auto`, it takes priority over the `REPORT_LOGS` configuration. #### Deprecated following - `log_reporting`
**Is this a new chart** > No **What this PR does / why we need it:** > Introduced new env - `REPORT_AI_METRICS` > In K8s - `reportAiMetrics` > Introduced new env - `GENAI_CAPTURE_MESSAGE_CONTENT` > In K8s - `genAICaptureMessageContent` **Special notes for your reviewer:** > When `REPORT_AI_METRICS` is enabled, the agent collects and reports AI monitoring data for applications monitored by eBPF agent. |Value | Behavior| |-- | --| |"auto" | AI monitoring enabled only if no APM/Otel agent detected; HTTP body limit set to 1MB| |"true" | AI monitoring explicitly enabled; HTTP body limit set to 1MB| |"false" (default)| AI monitoring disabled; HTTP body limit set to 1KB| > When `GENAI_CAPTURE_MESSAGE_CONTENT` is enabled, the agent captures message content for GenAI interactions for applications monitored by eBPF agent. |Value | Behavior| |-- | --| |true | Capturing message content for GenAI interactions explicitly enabled| |false (default)| Capturing message content for GenAI interactions disabled| --------- Signed-off-by: Monu Lakshkar <[email protected]> Co-authored-by: Sumit Suthar <[email protected]>
ddc76d9 to
425a9ac
Compare
kishan-k2io
approved these changes
Apr 27, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What this PR does / why we need it:
Version Updates:
1.3.2to1.4.01.3.0to1.4.0New Features:
customOtlpEndpoint,customOtlpEndpointTlsEnabled,customOtlpEndpointTlsCertSecret,customOtlpEndpointTlsCertSecretKey)reportAiMetrics,genAICaptureMessageContent)logDataFilters.applicationLogReporting.logLevelThreshold)unlinked_spans_error_quota_percentagefor protocol configurationConfiguration Changes:
apmDataReportingtoreportApmDatawith new 'auto' mode supportnetworkMetricsReportingtoreportNetworkMetricswith new 'auto' mode supportlogReportingtoreportLogswith new 'auto' mode supportlogDataFilters.applicationReportingtologDataFilters.applicationLogReportingapplicationLogReporting.enableddefault fromfalsetotruekeepNamespaces,dropPodLabels, andkeepPodLabelstoallDataFiltersRemoved/Deprecated:
tableStoreDataLimitMBfrom documentation (now optional)apmDataFilters.dropEapmForApmEnabledEntityChecklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[mychartname])Release Notes to Publish (nr-k8s-otel-collector)
If this PR contains changes in
nr-k8s-otel-collector, please complete the following section. All other charts should ignore this section.🚀 What's Changed