| 1 | // Copyright The OpenTelemetry Authors |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | // Package otelrestful instruments github.com/emicklei/go-restful. |
| 5 | // |
| 6 | // Instrumentation is provided to trace the emicklei/go-restful/v3 |
| 7 | // package (https://github.com/emicklei/go-restful). |
| 8 | // |
| 9 | // Instrumentation of an incoming request is achieved via a go-restful |
| 10 | // FilterFunc called `OTelFilterFunc` which may be applied at any one of |
| 11 | // - the container level |
| 12 | // - webservice level |
| 13 | // - route level |
| 14 | package otelrestful // import "go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful" |