github.com/caddyserver/caddy/v2/internal/metrics
No package summary is available.
Package
Files: 1. Third party imports: 0. Imports from organisation: 0. Tests: 0. Benchmarks: 0.
Vars
Only support the list of "regular" HTTP methods, see https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
Functions
func SanitizeCode
Uses: strconv.Itoa.
func SanitizeMethod
SanitizeMethod sanitizes the method for use as a metric label. This helps prevent high cardinality on the method label. The name is always upper case.
Tests
Files: 1. Third party imports: 0. Imports from organisation: 0. Tests: 1. Benchmarks: 0.