Skip to content

Conversation

@cijothomas
Copy link
Member

Change Summary

What issue does this PR close?

  • Closes #NNN

How are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the rust Pull requests that update Rust code label Feb 7, 2026
if std::env::var("ARM_RESOURCE_ID").is_ok() {
"Azure".to_string()
} else {
"Non-Azure".to_string()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is "Edge" a better term? Or "Arc-Connected-Azure" if we can reliably determine that.

@codecov
Copy link

codecov bot commented Feb 7, 2026

Codecov Report

❌ Patch coverage is 94.28571% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.78%. Comparing base (82f7150) to head (9484256).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1991      +/-   ##
==========================================
- Coverage   85.78%   85.78%   -0.01%     
==========================================
  Files         513      513              
  Lines      163122   163152      +30     
==========================================
+ Hits       139941   139954      +13     
- Misses      22647    22664      +17     
  Partials      534      534              
Components Coverage Δ
otap-dataflow 87.59% <94.28%> (-0.02%) ⬇️
query_abstraction 80.61% <ø> (ø)
query_engine 90.23% <ø> (ø)
syslog_cef_receivers ∅ <ø> (∅)
otel-arrow-go 53.50% <ø> (ø)
quiver 92.15% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

pub async fn send(&mut self) -> Result<(), Error> {
self.heartbeat_row.time = Utc::now().to_rfc3339();
let payload = serde_json::json!([self.heartbeat_row]);
// println!("Sending heartbeat payload: {}", payload);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove debug code?

heartbeat_row: HeartbeatRow {
time: Utc::now().to_rfc3339(),
version: default_heartbeat_version(),
category: "Direct Agent".to_string(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extract category into a variable for consistency?

@cijothomas
Copy link
Member Author

Not for merge. Opened a draft to share my ideas with @gouslu who will incorporate changes where it makes sense. (It was easy for me explain what I had in my mind via a PR :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Pull requests that update Rust code

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants