Skip to content

Conversation

@RohitRanjanMS
Copy link
Member

@RohitRanjanMS RohitRanjanMS commented Jan 7, 2026

Issue describing the changes in this PR

resolves #11545

Pull request checklist

IMPORTANT: Currently, changes must be backported to the in-proc branch to be included in Core Tools and non-Flex deployments.

  • Backporting to the in-proc branch is not required
    • Otherwise: Link to backporting PR
  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • My changes do not require diagnostic events changes
    • Otherwise: I have added/updated all related diagnostic events and their documentation (Documentation issue linked to PR)
  • I have added all required tests (Unit tests, E2E tests)

Additional information

Additional PR information

@RohitRanjanMS RohitRanjanMS changed the title Removing all telemetry for requests to admin endpoints. Stop collecting telemetry from admin endpoint requests Jan 7, 2026
@RohitRanjanMS RohitRanjanMS marked this pull request as ready for review January 7, 2026 10:22
@RohitRanjanMS RohitRanjanMS requested a review from a team as a code owner January 7, 2026 10:22
Copilot AI review requested due to automatic review settings January 7, 2026 10:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR simplifies OpenTelemetry telemetry collection by excluding all admin endpoint requests instead of filtering specific admin paths. The change consolidates multiple path-specific exclusions into a single, broader filter.

Key Changes:

  • Simplified telemetry filtering to exclude all /admin paths instead of specific endpoints
  • Fixed variable name shadowing in ConfigureMetrics and ConfigureTracing methods

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/WebJobs.Script/Diagnostics/OpenTelemetry/OpenTelemetryConfigurationExtensions.cs Replaced multiple specific admin path exclusions with a single filter for all /admin paths; renamed shadowed lambda parameters to meterProviderBuilder and traceProviderBuilder
release_notes.md Added release note entry for the telemetry collection change

Copy link
Contributor

Copilot AI commented Jan 7, 2026

@RohitRanjanMS I've opened a new pull request, #11546, to work on those changes. Once the pull request is ready, I'll request review from you.

@jviau
Copy link
Contributor

jviau commented Jan 7, 2026

@RohitRanjanMS are you certain there is no admin endpoint that is valuable for the customer to track?

@RohitRanjanMS
Copy link
Member Author

@jviau , some of the admin endpoints are still useful, so I brought back the previous filters and just added /admin/host/ping to the list

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.

OpenTelemetry captures and spams with GET /admin/host/ping requests

5 participants