|
| 1 | +description: > |
| 2 | + This instrumentation provides HTTP server spans and HTTP server metrics for the Ktor server, |
| 3 | + and HTTP client spans and HTTP client metrics for the Ktor HTTP client. |
| 4 | +semantic_conventions: |
| 5 | + - HTTP_SERVER_SPANS |
| 6 | + - HTTP_SERVER_METRICS |
| 7 | + - HTTP_CLIENT_SPANS |
| 8 | + - HTTP_CLIENT_METRICS |
| 9 | +features: |
| 10 | + - HTTP_ROUTE |
| 11 | +library_link: https://ktor.io/ |
| 12 | +configurations: |
| 13 | + - name: otel.instrumentation.http.known-methods |
| 14 | + description: > |
| 15 | + Configures the instrumentation to recognize an alternative set of HTTP request methods. All |
| 16 | + other methods will be treated as `_OTHER`. |
| 17 | + type: list |
| 18 | + default: "CONNECT,DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT,TRACE" |
| 19 | + - name: otel.instrumentation.http.server.capture-request-headers |
| 20 | + description: List of HTTP request headers to capture in HTTP server telemetry. |
| 21 | + type: list |
| 22 | + default: "" |
| 23 | + - name: otel.instrumentation.http.server.capture-response-headers |
| 24 | + description: List of HTTP response headers to capture in HTTP server telemetry. |
| 25 | + type: list |
| 26 | + default: "" |
| 27 | + - name: otel.instrumentation.http.server.emit-experimental-telemetry |
| 28 | + description: > |
| 29 | + Enable the capture of experimental HTTP server telemetry. Adds the `http.request.body.size` |
| 30 | + and `http.response.body.size` attributes to spans, and records `http.server.request.size` and |
| 31 | + `http.server.response.size` metrics. |
| 32 | + type: boolean |
| 33 | + default: false |
| 34 | + - name: otel.instrumentation.http.client.capture-request-headers |
| 35 | + description: List of HTTP request headers to capture in HTTP client telemetry. |
| 36 | + type: list |
| 37 | + default: "" |
| 38 | + - name: otel.instrumentation.http.client.capture-response-headers |
| 39 | + description: List of HTTP response headers to capture in HTTP client telemetry. |
| 40 | + type: list |
| 41 | + default: "" |
| 42 | + - name: otel.instrumentation.common.peer-service-mapping |
| 43 | + description: Used to specify a mapping from host names or IP addresses to peer services. |
| 44 | + type: map |
| 45 | + default: "" |
| 46 | + - name: otel.instrumentation.http.client.emit-experimental-telemetry |
| 47 | + description: > |
| 48 | + Enable the capture of experimental HTTP client telemetry. Adds the `http.request.body.size` |
| 49 | + and `http.response.body.size` attributes to spans, and records `http.client.request.size` and |
| 50 | + `http.client.response.size` metrics. |
| 51 | + type: boolean |
| 52 | + default: false |
| 53 | + - name: otel.instrumentation.http.client.experimental.redact-query-parameters |
| 54 | + description: Redact sensitive URL parameters. See https://opentelemetry.io/docs/specs/semconv/http/http-spans. |
| 55 | + type: boolean |
| 56 | + default: true |
0 commit comments