func All(fs ...otelhttp.Filter) otelhttp.Filter
All takes a list of Filters and returns a Filter that returns true only if all Filters in the list return true.
func Any(fs ...otelhttp.Filter) otelhttp.Filter
Any takes a list of Filters and returns a Filter that returns true if any Filter in the list returns true.
func Header(k, v string) otelhttp.Filter
Header returns a Filter that returns true if the request includes a header k with a value equal to v.
func HeaderContains(k, v string) otelhttp.Filter
HeaderContains returns a Filter that returns true if the request includes a header k with a value that contains v.
func Hostname(h string) otelhttp.Filter
Hostname returns a Filter that returns true if the request's hostname matches the provided string.
func Method(m string) otelhttp.Filter
Method returns a Filter that returns true if the request method is equal to the provided value.
func None(fs ...otelhttp.Filter) otelhttp.Filter
None takes a list of Filters and returns a Filter that returns true only if none of the Filters in the list return true.
func Not(f otelhttp.Filter) otelhttp.Filter
Not provides a convenience mechanism for inverting a Filter.
func Path(p string) otelhttp.Filter
Path returns a Filter that returns true if the request's path matches the provided string.
func PathPrefix(p string) otelhttp.Filter
PathPrefix returns a Filter that returns true if the request's path starts with the provided string.
func Query(k, v string) otelhttp.Filter
Query returns a Filter that returns true if the request includes a query parameter k with a value equal to v.
func QueryContains(k, v string) otelhttp.Filter
QueryContains returns a Filter that returns true if the request includes a query parameter k with a value that contains v.