mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-11 20:54:42 +08:00
d0b608af31
* 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> |
||
---|---|---|
.. | ||
auto_https_disable_redirects.txt | ||
auto_https_ignore_loaded_certs.txt | ||
auto_https_off.txt | ||
bind_ipv6.txt | ||
encode_options.txt | ||
error_example.txt | ||
file_server_disable_canonical_uris.txt | ||
file_server_pass_thru.txt | ||
file_server_precompressed.txt | ||
file_server_status.txt | ||
global_options_acme.txt | ||
global_options_admin.txt | ||
global_options_default_bind.txt | ||
global_options_log_and_site.txt | ||
global_options_log_basic.txt | ||
global_options_log_custom.txt | ||
global_options_log_multi.txt | ||
global_options_preferred_chains.txt | ||
global_options_skip_install_trust.txt | ||
global_options.txt | ||
global_server_options_multi.txt | ||
global_server_options_single.txt | ||
handle_path_sorting.txt | ||
handle_path.txt | ||
header.txt | ||
http_only_hostnames.txt | ||
http_only_on_any_address.txt | ||
http_only_on_domain.txt | ||
http_only_on_hostless_block.txt | ||
http_only_on_localhost.txt | ||
http_only_on_non_standard_port.txt | ||
https_on_domain.txt | ||
import_args_file.txt | ||
import_args_snippet_env_placeholder.txt | ||
import_args_snippet.txt | ||
log_except_catchall_blocks.txt | ||
log_filters.txt | ||
log_roll_days.txt | ||
log_skip_hosts.txt | ||
matcher_syntax.txt | ||
matchers_in_route.txt | ||
method_directive.txt | ||
metrics_disable_om.txt | ||
metrics_syntax.txt | ||
not_block_merging.txt | ||
php_fastcgi_expanded_form.txt | ||
php_fastcgi_handle_response.txt | ||
php_fastcgi_index_off.txt | ||
php_fastcgi_matcher.txt | ||
php_fastcgi_subdirectives.txt | ||
php_fastcgi_try_files_override.txt | ||
portless_upstream.txt | ||
request_body.txt | ||
request_header.txt | ||
reverse_proxy_dynamic_upstreams.txt | ||
reverse_proxy_empty_non_http_transport.txt | ||
reverse_proxy_h2c_shorthand.txt | ||
reverse_proxy_handle_response.txt | ||
reverse_proxy_health_headers.txt | ||
reverse_proxy_health_path_query.txt | ||
reverse_proxy_options.txt | ||
reverse_proxy_trusted_proxies.txt | ||
reverse_proxy_upstream_placeholder.txt | ||
shorthand_parameterized_placeholders.txt | ||
site_block_sorting.txt | ||
sort_directives_with_any_matcher_first.txt | ||
sort_directives_within_handle.txt | ||
tls_acme_preferred_chains.txt | ||
tls_automation_policies_1.txt | ||
tls_automation_policies_2.txt | ||
tls_automation_policies_3.txt | ||
tls_automation_policies_4.txt | ||
tls_automation_policies_5.txt | ||
tls_automation_policies_6.txt | ||
tls_automation_policies_7.txt | ||
tls_automation_policies_8.txt | ||
tls_automation_policies_global_email_localhost.txt | ||
tls_client_auth_cert_file.txt | ||
tls_client_auth_inline_cert.txt | ||
tls_conn_policy_consolidate.txt | ||
tls_internal_options.txt | ||
tls_propagation_timeout.txt | ||
tracing.txt |