Skip to content

NH-152032 Fix service name calculation in Lambda after upstream fix - #895

Open
tammy-baylis-swi wants to merge 3 commits into
mainfrom
NH-152032-fix-lambda-service-name
Open

tammy-baylis-swi wants to merge 3 commits into
mainfrom
NH-152032-fix-lambda-service-name

Conversation

@tammy-baylis-swi

@tammy-baylis-swi tammy-baylis-swi commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Fixes APM service name calculation in Lambda after upstream fix to follow spec.

Also fixes a CodeQL version hash that dependabot and I missed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The prefix check also overrides valid explicitly configured service names.

1 open issue
What changed in this PR

Updates Lambda service-name calculation to recognize upstream OpenTelemetry default names that include an executable suffix.

Changes:

  • Expands default-name detection from exact matching to prefix matching.
  • Adds a comment describing OpenTelemetry default-name formats.
File Description
solarwinds_apm/​apm_config.py Updates Lambda service-name fallback detection.

Review effort: Balanced

Comment thread solarwinds_apm/apm_config.py Outdated
@tammy-baylis-swi
tammy-baylis-swi marked this pull request as ready for review October 16, 2026 23:53
@tammy-baylis-swi
tammy-baylis-swi requested review from a team as code owners October 16, 2026 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants