Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TelemetryProcessors are not applied for LiveMetrics #617

Closed
lippinio opened this issue Apr 21, 2020 · 2 comments · Fixed by #626
Closed

TelemetryProcessors are not applied for LiveMetrics #617

lippinio opened this issue Apr 21, 2020 · 2 comments · Fixed by #626
Assignees
Labels

Comments

@lippinio
Copy link

I would like to filter out HealthChecks in an Express Node WebApp so that they are not in the Logs. I added a TelemetryProcessor where I check the URL and drop the healthcheck requests. Everything fine in the search. There this requests are not visible. But in live metrics the healthtest request still flood the stream.

@cs-ananda-ramos
Copy link

Same here. I tried to add:

function removeStackTraces (envelope, context) {
  const data = envelope.data.baseData
  console.log(envelope)
  return !(data.url && data.url.includes('/health'))
}
applicationInsights.defaultClient.addTelemetryProcessor(removeStackTraces)

to my code but no success :/

@lippinio
Copy link
Author

Any Updates here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants