[APM] Disable telemetry in agent config endpoint (#120106) (#120186)

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
This commit is contained in:
Kibana Machine 2021-12-01 19:46:28 -05:00 committed by GitHub
parent 5d0dd050e8
commit 33c132edf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -186,7 +186,7 @@ const agentConfigurationSearchRoute = createApmServerRoute({
params: t.type({
body: searchParamsRt,
}),
options: { tags: ['access:apm'] },
options: { tags: ['access:apm'], disableTelemetry: true },
handler: async (resources) => {
const { params, logger } = resources;