mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-10-31 18:47:20 -04:00 
			
		
		
		
	
	
		
			2 Commits
		
	
	
	| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|  | f4bf4e0097 | perf: use zap's Check() to prevent useless allocs (#6560) 
		
			Some checks failed
		
		
	 Tests / test (s390x on IBM Z) (push) Has been skipped Tests / goreleaser-check (push) Successful in 40s Cross-Build / build (~1.22.3, 1.22, aix) (push) Successful in 2m55s Cross-Build / build (~1.22.3, 1.22, dragonfly) (push) Successful in 3m1s Cross-Build / build (~1.22.3, 1.22, freebsd) (push) Successful in 3m1s Cross-Build / build (~1.22.3, 1.22, netbsd) (push) Successful in 3m1s Cross-Build / build (~1.22.3, 1.22, windows) (push) Successful in 3m1s Cross-Build / build (~1.22.3, 1.22, darwin) (push) Failing after 13m23s Cross-Build / build (~1.23.0, 1.23, aix) (push) Successful in 2m40s Cross-Build / build (~1.22.3, 1.22, illumos) (push) Failing after 11m51s Cross-Build / build (~1.22.3, 1.22, linux) (push) Failing after 11m47s Cross-Build / build (~1.23.0, 1.23, darwin) (push) Successful in 2m29s Cross-Build / build (~1.23.0, 1.23, linux) (push) Successful in 2m39s Cross-Build / build (~1.22.3, 1.22, openbsd) (push) Failing after 13m27s Cross-Build / build (~1.22.3, 1.22, solaris) (push) Failing after 13m27s Cross-Build / build (~1.23.0, 1.23, netbsd) (push) Successful in 2m41s Cross-Build / build (~1.23.0, 1.23, openbsd) (push) Successful in 2m54s Cross-Build / build (~1.23.0, 1.23, solaris) (push) Successful in 2m40s Cross-Build / build (~1.23.0, 1.23, dragonfly) (push) Failing after 14m19s Cross-Build / build (~1.23.0, 1.23, freebsd) (push) Failing after 14m10s Cross-Build / build (~1.23.0, 1.23, illumos) (push) Failing after 14m2s Cross-Build / build (~1.23.0, 1.23, windows) (push) Failing after 11m58s Lint / lint (ubuntu-latest, linux) (push) Failing after 3m44s Lint / govulncheck (push) Successful in 2m18s Tests / test (./cmd/caddy/caddy, ~1.22.3, macos-14, 0, 1.22, mac) (push) Has been cancelled Tests / test (./cmd/caddy/caddy, ~1.23.0, macos-14, 0, 1.23, mac) (push) Has been cancelled Tests / test (./cmd/caddy/caddy.exe, ~1.22.3, windows-latest, True, 1.22, windows) (push) Has been cancelled Tests / test (./cmd/caddy/caddy.exe, ~1.23.0, windows-latest, True, 1.23, windows) (push) Has been cancelled Lint / lint (macos-14, mac) (push) Has been cancelled Lint / lint (windows-latest, windows) (push) Has been cancelled * perf: use zap's Check() to prevent useless allocs * fix * fix * fix * fix * restore previous replacer behavior * fix linter | ||
|  | d0b608af31 | tracing: New OpenTelemetry module (#4361) * opentelemetry: create a new module * fix imports * fix test * Update modules/caddyhttp/opentelemetry/README.md Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Update modules/caddyhttp/opentelemetry/README.md Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Update modules/caddyhttp/opentelemetry/README.md Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Update modules/caddyhttp/opentelemetry/tracer.go Co-authored-by: Dave Henderson <dhenderson@gmail.com> * rename error ErrUnsupportedTracesProtocol * replace spaces with tabs in the test data * Update modules/caddyhttp/opentelemetry/README.md Co-authored-by: Francis Lavoie <lavofr@gmail.com> * Update modules/caddyhttp/opentelemetry/README.md Co-authored-by: Francis Lavoie <lavofr@gmail.com> * replace spaces with tabs in the README.md * use default values for a propagation and exporter protocol * set http attributes with helper * simplify code * Cleanup modules/caddyhttp/opentelemetry/README.md Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Update link in README.md Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Update documentation in README.md Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Update link to naming spec in README.md Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Rename module from opentelemetry to tracing Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Rename span_name to span Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Rename span_name to span Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Simplify otel resource creation Co-authored-by: Dave Henderson <dhenderson@gmail.com> * handle extra attributes Co-authored-by: Dave Henderson <dhenderson@gmail.com> * update go.opentelemetry.io/otel/semconv to 1.7.0 Co-authored-by: Dave Henderson <dhenderson@gmail.com> * update go.opentelemetry.io/otel version * remove environment variable handling * always use tracecontext,baggage as propagators * extract tracer name into variable * rename OpenTelemetry to Tracing * simplify resource creation * update go.mod * rename package from opentelemetry to tracing * cleanup tests * update Caddyfile example in README.md * update README.md * fix test * fix module name in README.md * fix module name in README.md * change names in README.md and tests * order imports * remove redundant tests * Update documentation README.md Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Fix grammar Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Update comments Co-authored-by: Dave Henderson <dhenderson@gmail.com> * Update comments Co-authored-by: Dave Henderson <dhenderson@gmail.com> * update go.sum * update go.sum * Add otelhttp instrumentation, update OpenTelemetry libraries. * Use otelhttp instrumentation for instrumenting HTTP requests. This change uses context.WithValue to inject the next handler into the request context via a "nextCall" carrier struct, and pass it on to a standard Go HTTP handler returned by otelhttp.NewHandler. The underlying handler will extract the next handler from the context, call it and pass the returned error to the carrier struct. * use zap.Error() for the error log * remove README.md * update dependencies * clean up the code * change comment * move serveHTTP method from separate file * add syntax to the UnmarshalCaddyfile comment * go import the file * admin: Write proper status on invalid requests (#4569) (fix #4561) * update dependencies Co-authored-by: Dave Henderson <dhenderson@gmail.com> Co-authored-by: Francis Lavoie <lavofr@gmail.com> Co-authored-by: Vibhav Pant <vibhavp@gmail.com> Co-authored-by: Alok Naushad <alokme123@gmail.com> Co-authored-by: Cedric Ziel <cedric@cedric-ziel.com> |