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

Add troubleshooting doc for IISExpress Classic pipeline #2233

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/images/classic-pipeline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/integrated-pipeline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 19 additions & 1 deletion docs/troubleshooting.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,22 @@ The most expensive operation in the agent is typically stack trace capturing. Th
If this is too much in your environment, consider disabling stack trace capturing either partially or entirely:

- To disable stack trace capturing for spans, but continue to capture stack traces for errors, set the <<config-span-stack-trace-min-duration>> to `-1` and leave the <<config-stack-trace-limit>> on its default.
- To disable stack trace capturing entirely –which in most applications reduces the agent overhead dramatically– set <<config-stack-trace-limit>> to `0`.
- To disable stack trace capturing entirely –which in most applications reduces the agent overhead dramatically– set <<config-stack-trace-limit>> to `0`.

[float]
[[iisexpress-classic-pipeline]]
=== The ElasticApmModule does not load or capture transactions and there are no agent logs generated on IISExpress

When debugging applications using Visual Studio and IISExpress, the same requirement to use the `Integrated` managed
pipeline mode exists. Select your web application project in the solution explorer and press F4 to load the properties
window. If the managed pipeline mode is set to classic, the ElasticApmModule will not load.

For example:

image::./images/classic-pipeline.png[Classic Managed Pipeline Mode in Properties]

Should be changed to:

image::./images/integrated-pipeline.png[Integrated Managed Pipeline Mode in Properties]

You may need to restart Visual Studio for these changes to fully apply.
Loading