Skip to content

Enhance Remote Agent Registry capabilities to include status and flare command fetching#46661

Draft
s-alad wants to merge 11 commits intomainfrom
saad/rar-status-flare
Draft

Enhance Remote Agent Registry capabilities to include status and flare command fetching#46661
s-alad wants to merge 11 commits intomainfrom
saad/rar-status-flare

Conversation

@s-alad
Copy link
Member

@s-alad s-alad commented Feb 19, 2026

What does this PR do?

Motivation

Describe how you validated your changes

2026-02-18 22:17:29 EST | CORE | INFO | (comp/core/remoteagentregistry/impl/registry.go:200 in RegisterRemoteAgent) | Remote agent 'Trace Agent' (flavor: trace_agent, session_id: f60d4cdb-24a6-46f7-be30-f37a8aca3f79) registered. (exposed services: [datadog.remoteagent.flare.v1.FlareProvider datadog.remoteagent.status.v1.StatusProvider])
image

Additional Notes

@dd-octo-sts dd-octo-sts bot added the internal Identify a non-fork PR label Feb 19, 2026
@github-actions github-actions bot added the medium review PR review might take time label Feb 19, 2026
@s-alad s-alad added changelog/no-changelog No changelog entry needed qa/rc-required Only for a PR that requires validation on the Release Candidate labels Feb 19, 2026
@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Feb 19, 2026

Static quality checks

✅ Please find below the results from static quality gates
Comparison made with ancestor d75c25a
📊 Static Quality Gates Dashboard
🔗 SQG Job

Successful checks

Info

Quality gate Change Size (prev → curr → max)
agent_deb_amd64 +63.2 KiB (0.01% increase) 744.325 → 744.386 → 759.670
agent_deb_amd64_fips +59.2 KiB (0.01% increase) 702.551 → 702.609 → 720.180
agent_heroku_amd64 +16.44 KiB (0.01% increase) 310.884 → 310.900 → 329.530
agent_msi +60.5 KiB (0.01% increase) 608.197 → 608.256 → 1073.220
agent_rpm_amd64 +63.2 KiB (0.01% increase) 744.308 → 744.370 → 759.640
agent_rpm_amd64_fips +59.2 KiB (0.01% increase) 702.535 → 702.593 → 720.160
agent_rpm_arm64 +53.61 KiB (0.01% increase) 722.367 → 722.419 → 741.840
agent_rpm_arm64_fips +57.61 KiB (0.01% increase) 683.645 → 683.702 → 703.390
agent_suse_amd64 +63.2 KiB (0.01% increase) 744.308 → 744.370 → 759.640
agent_suse_amd64_fips +59.2 KiB (0.01% increase) 702.535 → 702.593 → 720.160
agent_suse_arm64 +53.61 KiB (0.01% increase) 722.367 → 722.419 → 741.840
agent_suse_arm64_fips +57.61 KiB (0.01% increase) 683.645 → 683.702 → 703.390
docker_agent_amd64 +63.19 KiB (0.01% increase) 804.910 → 804.971 → 821.990
docker_agent_arm64 +53.61 KiB (0.01% increase) 807.762 → 807.814 → 828.520
docker_agent_jmx_amd64 +63.18 KiB (0.01% increase) 995.821 → 995.883 → 1012.870
docker_agent_jmx_arm64 +53.61 KiB (0.01% increase) 987.456 → 987.508 → 1008.120
iot_agent_deb_amd64 +3.97 KiB (0.01% increase) 42.624 → 42.628 → 43.290
iot_agent_deb_arm64 +3.97 KiB (0.01% increase) 39.726 → 39.730 → 40.920
iot_agent_deb_armhf +3.98 KiB (0.01% increase) 40.455 → 40.459 → 41.030
iot_agent_rpm_amd64 +3.97 KiB (0.01% increase) 42.625 → 42.629 → 43.290
iot_agent_suse_amd64 +3.97 KiB (0.01% increase) 42.625 → 42.629 → 43.290
10 successful checks with minimal change (< 2 KiB)
Quality gate Current Size
docker_cluster_agent_amd64 203.427 MiB
docker_cluster_agent_arm64 217.835 MiB
docker_cws_instrumentation_amd64 7.135 MiB
docker_cws_instrumentation_arm64 6.689 MiB
docker_dogstatsd_amd64 38.512 MiB
docker_dogstatsd_arm64 36.812 MiB
dogstatsd_deb_amd64 29.736 MiB
dogstatsd_deb_arm64 27.893 MiB
dogstatsd_rpm_amd64 29.736 MiB
dogstatsd_suse_amd64 29.736 MiB
On-wire sizes (compressed)
Quality gate Change Size (prev → curr → max)
agent_deb_amd64 -3.18 KiB (0.00% reduction) 173.741 → 173.738 → 186.090
agent_deb_amd64_fips -56.91 KiB (0.03% reduction) 164.739 → 164.683 → 180.330
agent_heroku_amd64 +9.39 KiB (0.01% increase) 74.972 → 74.982 → 88.440
agent_msi -8.0 KiB (0.01% reduction) 137.801 → 137.793 → 154.470
agent_rpm_amd64 +28.83 KiB (0.02% increase) 175.691 → 175.719 → 189.170
agent_rpm_amd64_fips +6.67 KiB (0.00% increase) 167.567 → 167.573 → 181.060
agent_rpm_arm64 -15.72 KiB (0.01% reduction) 158.012 → 157.996 → 170.020
agent_rpm_arm64_fips +18.33 KiB (0.01% increase) 150.736 → 150.754 → 164.130
agent_suse_amd64 +28.83 KiB (0.02% increase) 175.691 → 175.719 → 189.170
agent_suse_amd64_fips +6.67 KiB (0.00% increase) 167.567 → 167.573 → 181.060
agent_suse_arm64 -15.72 KiB (0.01% reduction) 158.012 → 157.996 → 170.020
agent_suse_arm64_fips +18.33 KiB (0.01% increase) 150.736 → 150.754 → 164.130
docker_agent_amd64 +14.29 KiB (0.01% increase) 266.268 → 266.282 → 279.410
docker_agent_arm64 +2.1 KiB (0.00% increase) 253.550 → 253.552 → 267.960
docker_agent_jmx_amd64 +19.8 KiB (0.01% increase) 334.913 → 334.933 → 348.040
docker_agent_jmx_arm64 +6.22 KiB (0.00% increase) 318.173 → 318.179 → 332.560
docker_cluster_agent_amd64 neutral 71.198 MiB → 71.920
docker_cluster_agent_arm64 neutral 66.834 MiB → 67.220
docker_cws_instrumentation_amd64 neutral 2.995 MiB → 3.330
docker_cws_instrumentation_arm64 neutral 2.726 MiB → 3.090
docker_dogstatsd_amd64 neutral 14.903 MiB → 15.820
docker_dogstatsd_arm64 neutral 14.238 MiB → 14.830
dogstatsd_deb_amd64 neutral 7.855 MiB → 8.790
dogstatsd_deb_arm64 neutral 6.744 MiB → 7.710
dogstatsd_rpm_amd64 neutral 7.865 MiB → 8.800
dogstatsd_suse_amd64 neutral 7.865 MiB → 8.800
iot_agent_deb_amd64 neutral 11.239 MiB → 12.040
iot_agent_deb_arm64 +5.34 KiB (0.05% increase) 9.601 → 9.607 → 10.450
iot_agent_deb_armhf neutral 9.799 MiB → 10.620
iot_agent_rpm_amd64 neutral 11.255 MiB → 12.060
iot_agent_suse_amd64 neutral 11.255 MiB → 12.060

@cit-pr-commenter-54b7da
Copy link

cit-pr-commenter-54b7da bot commented Feb 19, 2026

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: ab2e04d0-ef4d-44bb-9798-62115db243aa

Baseline: d75c25a
Comparison: 9035232
Diff

Optimization Goals: ✅ No significant changes detected

Experiments ignored for regressions

Regressions in experiments with settings containing erratic: true are ignored.

perf experiment goal Δ mean % Δ mean % CI trials links
docker_containers_cpu % cpu utilization +5.33 [+2.13, +8.54] 1 Logs

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
docker_containers_cpu % cpu utilization +5.33 [+2.13, +8.54] 1 Logs
ddot_metrics memory utilization +0.64 [+0.42, +0.85] 1 Logs
otlp_ingest_logs memory utilization +0.47 [+0.37, +0.56] 1 Logs
ddot_metrics_sum_delta memory utilization +0.45 [+0.27, +0.63] 1 Logs
quality_gate_metrics_logs memory utilization +0.30 [+0.09, +0.51] 1 Logs bounds checks dashboard
docker_containers_memory memory utilization +0.26 [+0.19, +0.33] 1 Logs
quality_gate_idle memory utilization +0.22 [+0.18, +0.27] 1 Logs bounds checks dashboard
quality_gate_idle_all_features memory utilization +0.12 [+0.08, +0.16] 1 Logs bounds checks dashboard
file_to_blackhole_500ms_latency egress throughput +0.04 [-0.34, +0.42] 1 Logs
file_to_blackhole_0ms_latency egress throughput +0.02 [-0.45, +0.49] 1 Logs
file_to_blackhole_1000ms_latency egress throughput +0.01 [-0.41, +0.43] 1 Logs
file_to_blackhole_100ms_latency egress throughput +0.00 [-0.04, +0.05] 1 Logs
uds_dogstatsd_to_api ingress throughput -0.00 [-0.12, +0.12] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput -0.00 [-0.10, +0.09] 1 Logs
uds_dogstatsd_to_api_v3 ingress throughput -0.01 [-0.12, +0.11] 1 Logs
ddot_metrics_sum_cumulative memory utilization -0.10 [-0.27, +0.06] 1 Logs
uds_dogstatsd_20mb_12k_contexts_20_senders memory utilization -0.18 [-0.23, -0.13] 1 Logs
tcp_syslog_to_blackhole ingress throughput -0.24 [-0.32, -0.16] 1 Logs
ddot_logs memory utilization -0.34 [-0.41, -0.28] 1 Logs
file_tree memory utilization -0.41 [-0.46, -0.36] 1 Logs
ddot_metrics_sum_cumulativetodelta_exporter memory utilization -0.42 [-0.65, -0.19] 1 Logs
otlp_ingest_metrics memory utilization -0.47 [-0.63, -0.32] 1 Logs
quality_gate_logs % cpu utilization -1.26 [-2.74, +0.22] 1 Logs bounds checks dashboard

Bounds Checks: ✅ Passed

perf experiment bounds_check_name replicates_passed links
docker_containers_cpu simple_check_run 10/10
docker_containers_memory memory_usage 10/10
docker_containers_memory simple_check_run 10/10
file_to_blackhole_0ms_latency lost_bytes 10/10
file_to_blackhole_0ms_latency memory_usage 10/10
file_to_blackhole_1000ms_latency lost_bytes 10/10
file_to_blackhole_1000ms_latency memory_usage 10/10
file_to_blackhole_100ms_latency lost_bytes 10/10
file_to_blackhole_100ms_latency memory_usage 10/10
file_to_blackhole_500ms_latency lost_bytes 10/10
file_to_blackhole_500ms_latency memory_usage 10/10
quality_gate_idle intake_connections 10/10 bounds checks dashboard
quality_gate_idle memory_usage 10/10 bounds checks dashboard
quality_gate_idle_all_features intake_connections 10/10 bounds checks dashboard
quality_gate_idle_all_features memory_usage 10/10 bounds checks dashboard
quality_gate_logs intake_connections 10/10 bounds checks dashboard
quality_gate_logs lost_bytes 10/10 bounds checks dashboard
quality_gate_logs memory_usage 10/10 bounds checks dashboard
quality_gate_metrics_logs cpu_usage 10/10 bounds checks dashboard
quality_gate_metrics_logs intake_connections 10/10 bounds checks dashboard
quality_gate_metrics_logs lost_bytes 10/10 bounds checks dashboard
quality_gate_metrics_logs memory_usage 10/10 bounds checks dashboard

Explanation

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

CI Pass/Fail Decision

Passed. All Quality Gates passed.

  • quality_gate_idle, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check cpu_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check lost_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check lost_bytes: 10/10 replicas passed. Gate passed.

@github-actions github-actions bot added long review PR is complex, plan time to review it and removed medium review PR review might take time labels Feb 24, 2026
@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Feb 24, 2026

Go Package Import Differences

Baseline: d75c25a
Comparison: 9035232

binaryosarchchange
cluster-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def
cluster-agentlinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def
cluster-agent-cloudfoundrylinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def
cluster-agent-cloudfoundrylinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def
process-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def
process-agentlinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def
process-agentwindowsamd64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def
process-agentdarwinamd64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def
process-agentdarwinarm64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def
heroku-process-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def
otel-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def
otel-agentlinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/comp/core/remoteagentregistry/def

@s-alad s-alad force-pushed the saad/rar-status-flare branch from 6e2b5e6 to 9e6ae65 Compare February 25, 2026 22:06
@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Feb 25, 2026

Files inventory check summary

File checks results against ancestor d75c25ac:

Results for datadog-agent_7.78.0~devel.git.133.9035232.pipeline.99485276-1_amd64.deb:

No change detected

@dd-octo-sts
Copy link
Contributor

dd-octo-sts bot commented Mar 14, 2026

This pull request has been automatically marked as stale because it has not had activity in the past 15 days.

It will be closed in 30 days if no further activity occurs. If this pull request is still relevant, adding a comment or pushing new commits will keep it open. Also, you can always reopen the pull request if you missed the window.

Thank you for your contributions!

@dd-octo-sts dd-octo-sts bot added the stale label Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog No changelog entry needed internal Identify a non-fork PR long review PR is complex, plan time to review it qa/rc-required Only for a PR that requires validation on the Release Candidate stale team/agent-apm trace-agent team/agent-configuration team/agent-runtimes team/agent-security team/container-experiences team/ebpf-platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant