Skip to content

feat: add all bundled otel config to the observe-agent binary instead of relying on files on disk #230

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

Merged
merged 1 commit into from
Jul 3, 2025

Conversation

obs-gh-mattcotter
Copy link
Collaborator

@obs-gh-mattcotter obs-gh-mattcotter commented Jun 26, 2025

Description

OB-42646 Add all bundled OTel config to the observe-agent binary instead of relying on files on disk.

This will make it easier for support / our users to download releases directly off of github and work out of the box. It also makes management easier on our side and removes possible confusions from our users about the extra files on disk that we install.

While I was here, I de-duplicated as many configs as possible. I left a few TODOs because I wanted to leave all snapshot tests untouched, but I plan to do a follow up and reuse even more config across our platforms.

Stats

  • ✅ No diff at all to the snapshot tests.
  • 🧹 67 files changed, 311 insertions(+), 797 deletions(-) big diff, but an overall reduction in lines and lots of deleting duplicate files.
  • 🅱️ The build on my laptop went from 295,731,426 bytes to 295,786,834 (ie ~0.01% increase), so pretty insignificant as expected.

Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@obs-gh-mattcotter obs-gh-mattcotter force-pushed the OB-42646-bundle-observe-config-in-binary branch from a17a1bf to a9a8a4a Compare June 26, 2025 20:07
Base automatically changed from OB-42646-deprecate-filestats to main June 27, 2025 19:34
@obs-gh-mattcotter obs-gh-mattcotter force-pushed the OB-42646-bundle-observe-config-in-binary branch from a9a8a4a to ab87d83 Compare June 27, 2025 20:04
Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@obs-gh-mattcotter obs-gh-mattcotter changed the base branch from main to mc/snapshot-default June 27, 2025 20:05
Base automatically changed from mc/snapshot-default to main July 2, 2025 18:36
@obs-gh-mattcotter obs-gh-mattcotter force-pushed the OB-42646-bundle-observe-config-in-binary branch from ab87d83 to 35411ec Compare July 2, 2025 19:47
@obs-gh-mattcotter obs-gh-mattcotter merged commit efde8b0 into main Jul 3, 2025
12 checks passed
@obs-gh-mattcotter obs-gh-mattcotter deleted the OB-42646-bundle-observe-config-in-binary branch July 3, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants