Fix typos in servlet docs (#1302)

Signed-off-by: Pavol Loffay <ploffay@redhat.com>
This commit is contained in:
Pavol Loffay 2020-10-02 16:31:15 +02:00 committed by GitHub
parent a654262f33
commit 57ead9532a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ They are divided into 3 sub-modules:
`servlet-common` contains instrumentations applicable to all API versions that we support. `servlet-common` contains instrumentations applicable to all API versions that we support.
`servlet-2.2` contains instrumentations applicable to Servlet API 2.2, but not to to 3+. `servlet-2.2` contains instrumentations applicable to Servlet API 2.2, but not to 3+.
`servlet-3.0` contains instrumentations that require Servlet API 3.0 or newer. `servlet-3.0` contains instrumentations that require Servlet API 3.0 or newer.
@ -42,7 +42,7 @@ at java.base/java.lang.Thread.run(Thread.java:834)
Everything starts when HTTP request processing reaches the first class from Servlet specification. Everything starts when HTTP request processing reaches the first class from Servlet specification.
In the example above this is `ApplicationFilterChain.doFilter(ServletRequest, ServletResponse)` method. In the example above this is `ApplicationFilterChain.doFilter(ServletRequest, ServletResponse)` method.
Let us call this first servlet specific method an "entry point". Let us call this first servlet specific method an "entry point".
This is the main target for `Servlet3Instrumentation` and `Servlet2Instrumentation` instrumenters: This is the main target for `Servlet3Instrumentation` and `Servlet2Instrumentation` instruments:
`public void javax.servlet.FilterChain#doFilter(ServletRequest, ServletResponse)` `public void javax.servlet.FilterChain#doFilter(ServletRequest, ServletResponse)`
@ -67,9 +67,9 @@ In rare cases when you need it, you can enable it using configuration property `
In exactly the same situation are all other Servlet filters beyond the initial entry point. In exactly the same situation are all other Servlet filters beyond the initial entry point.
Usually unimportant, they may be sometimes of interest during troubleshooting. Usually unimportant, they may be sometimes of interest during troubleshooting.
They are instrumented by `FilterInstrumentation` which is too disabled by default. They are instrumented by `FilterInstrumentation` which is also disabled by default.
You can enable it with the configuration property `otel.integration.servlet-filter.enabled`. You can enable it with the configuration property `otel.integration.servlet-filter.enabled`.
At last, request processing may reach the specific framework that you application uses. At last, request processing may reach the specific framework that your application uses.
In this case Spring MVC and `OwnerController.initCreationForm`. In this case Spring MVC and `OwnerController.initCreationForm`.
If all instrumentations are enabled, then a new span will be created for every highlighted frame. If all instrumentations are enabled, then a new span will be created for every highlighted frame.