This repository was archived by the owner on Sep 11, 2025. It is now read-only.
Add custom user-agent to HTTP health-checks #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Closes cloudfoundry/diego-release#455
Please provide the following information:
What is this change about?
Enabling automatic means of telling apart synthetic requests from the HTTP healthchecks from external requests.
What problem it is trying to solve?
When performing distributed tracing in a Cloud Foundry app, there seems currently no generic way to tell apart a healthcheck call from another call, especially in the case the endpoint used for the check is also used by “productive” calls. Being able to ignore synthetic calls, which often follow streamlines code paths, is useful in providing an unbiased view of the status of the CF app in APM solutions.
What is the impact if the change is not made?
There are no means of telling apart synthetic requests from the HTTP healthchecks from external requests, so APM tools cannot factor them out from the KPIs in terms of real-user usage.
How should this change be described in diego-release release notes?
Diego HTTP healthchecks use now the value
diego-healthcheckasUser-Agent, which applications and APM tools can rely on to identify healthcheck requests.Please provide any contextual information.
cloudfoundry/diego-release#455
Tag your pair, your PM, and/or team!
That's fine thanks.
Thank you!