-
Notifications
You must be signed in to change notification settings - Fork 207
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
filter resource file request #418
Comments
You don't want the agent to capture those, right? Some options we can do here:
I'm also asking on other channels what other agents do. |
Here is what the Java agent does: https://www.elastic.co/guide/en/apm/agent/java/current/config-http.html#config-ignore-urls |
@hiwjcn Could you add a little bit more about your use case? I have a feeling that you might be using |
@SergeyKleyman hey bro,im using asp.net core Elastic.Apm.All, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ae7400d2c189cf22
app.UseElasticApm(config); and configuration like this: "ElasticApm": {
"LogLevel": "Debug",
"ServerUrls": "http://3h.elk.hiwj.cn:8200",
"TransactionSampleRate": 1.0
} |
@SergeyKleyman @gregkalapos is there any api like this: app.UseElasticApm(config,option=>
{
option.filter.add(url=>!url.endwith(".css"));
option.filter.add(url=>!url.endwith(".js"));
option.filter.add(url=>regex.match(url));
}); |
No, we don't have it in .NET. We know other agent have similar filters. We already had some initial discussion about this, no final decision if we add it to .NET or not - probably it'd make sense to add it. |
Some update on this: |
The text was updated successfully, but these errors were encountered: