-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[APM] Modify
has_any_service
telemetry (#166925)
# Summary fixes elastic/observability-bi#65 ## Context Observability-bi uses the [signal](https://docs.elastic.dev/observability-bi/observability-marker#signals) `has_apm_services` based on the telemetry field `has_any_services` to determine whether a cluster has documents for at least one APM service for the given day. ## Problem Previously we determined if the cluster has any service by checking ONLY the officially supported agents. There might be cases where the cluster has agents that are not on the agent's list. Leading to the wrong result. Modified to check if there is any document with the field `service.name` and added `has_any_services_per_official_agent` to track the official agent's services ### Side effects Modifying `has_any_service` telemetry (most likely) will increase the metrics using this field. --------- Co-authored-by: Achyut Jhunjhunwala <[email protected]>
- Loading branch information
1 parent
bd3c83e
commit c83f5db
Showing
5 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
8 changes: 7 additions & 1 deletion
8
x-pack/plugins/apm/common/__snapshots__/apm_telemetry.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters